File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 18
18
use Rector \CodeQuality \Rector \Expression \InlineIfToExplicitIfRector ;
19
19
use Rector \CodeQuality \Rector \Foreach_ \UnusedForeachValueToArrayKeysRector ;
20
20
use Rector \CodeQuality \Rector \FuncCall \ChangeArrayPushToArrayAssignRector ;
21
- use Rector \CodeQuality \Rector \FuncCall \SimplifyRegexPatternRector ;
22
21
use Rector \CodeQuality \Rector \FuncCall \SimplifyStrposLowerRector ;
23
22
use Rector \CodeQuality \Rector \FuncCall \SingleInArrayToCompareRector ;
24
23
use Rector \CodeQuality \Rector \FunctionLike \SimplifyUselessVariableRector ;
213
212
$ rectorConfig ->rule (ChangeArrayPushToArrayAssignRector::class);
214
213
$ rectorConfig ->rule (UnnecessaryTernaryExpressionRector::class);
215
214
$ rectorConfig ->rule (RemoveErrorSuppressInTryCatchStmtsRector::class);
216
- $ rectorConfig ->rule (SimplifyRegexPatternRector::class);
217
215
$ rectorConfig ->rule (FuncGetArgsToVariadicParamRector::class);
218
216
$ rectorConfig ->rule (MakeInheritedMethodVisibilitySameAsParentRector::class);
219
217
$ rectorConfig ->rule (SimplifyEmptyArrayCheckRector::class);
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ public function testGetFieldDataDefault(): void
58
58
$ fields = $ this ->db ->getFieldData ($ this ->table );
59
59
60
60
$ idDefault = $ this ->getFieldMetaData ('id ' , $ this ->table )->default ;
61
- $ this ->assertMatchesRegularExpression ('/"ORACLE"."ISEQ\$\$_\d +".nextval/ ' , $ idDefault );
61
+ $ this ->assertMatchesRegularExpression ('/"ORACLE"."ISEQ\$\$_[0-9] +".nextval/ ' , $ idDefault );
62
62
63
63
$ expected = [
64
64
(object ) [
Original file line number Diff line number Diff line change @@ -49,6 +49,6 @@ public function testGetBindingKey(): void
49
49
50
50
$ key = $ rawSql ->getBindingKey ();
51
51
52
- $ this ->assertMatchesRegularExpression ('/\ARawSql\d +\z/ ' , $ key );
52
+ $ this ->assertMatchesRegularExpression ('/\ARawSql[0-9] +\z/ ' , $ key );
53
53
}
54
54
}
You can’t perform that action at this time.
0 commit comments