File tree Expand file tree Collapse file tree 3 files changed +2
-10
lines changed Expand file tree Collapse file tree 3 files changed +2
-10
lines changed Original file line number Diff line number Diff line change 3636use Rector \Config \RectorConfig ;
3737use Rector \DeadCode \Rector \ClassMethod \RemoveUnusedConstructorParamRector ;
3838use Rector \DeadCode \Rector \ClassMethod \RemoveUnusedPrivateMethodRector ;
39- use Rector \DeadCode \Rector \ClassMethod \RemoveUnusedPromotedPropertyRector ;
4039use Rector \DeadCode \Rector \If_ \UnwrapFutureCompatibleIfPhpVersionRector ;
4140use Rector \EarlyReturn \Rector \Foreach_ \ChangeNestedForeachIfsToEarlyContinueRector ;
4241use Rector \EarlyReturn \Rector \If_ \ChangeIfElseValueAssignToEarlyReturnRector ;
107106
108107 YieldDataProviderRector::class,
109108
110- RemoveUnusedPromotedPropertyRector::class => [
111- // Bug in rector 1.0.0. See https://github.com/rectorphp/rector-src/pull/5573
112- __DIR__ . '/tests/_support/Entity/CustomUser.php ' ,
113- ],
114-
115109 RemoveUnusedPrivateMethodRector::class => [
116110 // private method called via getPrivateMethodInvoker
117111 __DIR__ . '/tests/system/Test/ReflectionHelperTest.php ' ,
155149 // use mt_rand instead of random_int on purpose on non-cryptographically random
156150 RandomFunctionRector::class,
157151
158- SimplifyRegexPatternRector::class,
159-
160152 // PHP 8.0 features but cause breaking changes
161153 ClassPropertyAssignToConstructorPromotionRector::class => [
162154 __DIR__ . '/system/Database/BaseResult.php ' ,
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ public function testGetFieldDataDefault(): void
5858 $ fields = $ this ->db ->getFieldData ($ this ->table );
5959
6060 $ idDefault = $ this ->getFieldMetaData ('id ' , $ this ->table )->default ;
61- $ this ->assertMatchesRegularExpression ('/"ORACLE"."ISEQ\$\$_[0-9] +".nextval/ ' , $ idDefault );
61+ $ this ->assertMatchesRegularExpression ('/"ORACLE"."ISEQ\$\$_\d +".nextval/ ' , $ idDefault );
6262
6363 $ expected = [
6464 (object ) [
Original file line number Diff line number Diff line change @@ -49,6 +49,6 @@ public function testGetBindingKey(): void
4949
5050 $ key = $ rawSql ->getBindingKey ();
5151
52- $ this ->assertMatchesRegularExpression ('/\ARawSql[0-9] +\z/ ' , $ key );
52+ $ this ->assertMatchesRegularExpression ('/\ARawSql\d +\z/ ' , $ key );
5353 }
5454}
You can’t perform that action at this time.
0 commit comments