Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
final class SimplifyRegexPatternRector extends AbstractRector
{
/**
* Using double quote "\d", "\w", "\s" to avoid unescaped issue on scoped build
* Reproduced with php-scoper 0.18.17, @see https://github.com/rectorphp/rector/issues/9395
*
* @var array<string, string>
*/
private const COMPLEX_PATTERN_TO_SIMPLE = [
Expand Down