Skip to content

Commit adce7d9

Browse files
committed
add not regex
1 parent 0b6744b commit adce7d9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

rules/CodeQuality/Rector/ClassMethod/BehatPHPUnitAssertToWebmozartRector.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ final class BehatPHPUnitAssertToWebmozartRector extends AbstractRector
7171
'assertStringEndsWith' => 'endsWith',
7272
'assertStringEndsNotWith' => 'notEndsWith',
7373
'assertMatchesRegularExpression' => 'regex',
74+
'assertDoesNotMatchRegularExpression' => 'notRegex',
7475

7576
// Bool
7677
'assertNotTrue' => 'false',
@@ -110,6 +111,7 @@ final class BehatPHPUnitAssertToWebmozartRector extends AbstractRector
110111
'assertStringContainsString',
111112
'assertStringStartsWith',
112113
'assertMatchesRegularExpression',
114+
'assertDoesNotMatchRegularExpression',
113115
];
114116

115117
public function __construct(

0 commit comments

Comments
 (0)