File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 12
12
*/
13
13
14
14
use Rector \Caching \ValueObject \Storage \FileCacheStorage ;
15
- use Rector \CodeQuality \Rector \Class_ \CompleteDynamicPropertiesRector ;
16
15
use Rector \CodeQuality \Rector \Empty_ \SimplifyEmptyCheckOnEmptyArrayRector ;
17
16
use Rector \CodeQuality \Rector \Expression \InlineIfToExplicitIfRector ;
18
17
use Rector \CodeQuality \Rector \Foreach_ \UnusedForeachValueToArrayKeysRector ;
199
198
EmptyOnNullableObjectToInstanceOfRector::class,
200
199
DisallowedEmptyRuleFixerRector::class,
201
200
PrivatizeFinalClassPropertyRector::class,
202
- CompleteDynamicPropertiesRector::class,
203
201
BooleanInIfConditionRuleFixerRector::class,
204
202
VersionCompareFuncCallToConstantRector::class,
205
203
AddClosureVoidReturnTypeWhereNoReturnRector::class,
213
211
// keep '\\' prefix string on string '\Foo\Bar'
214
212
StringClassNameToClassConstantRector::SHOULD_KEEP_PRE_SLASH => true ,
215
213
])
216
- ->withCodeQualityLevel (27 );
214
+ ->withCodeQualityLevel (31 );
Original file line number Diff line number Diff line change @@ -377,7 +377,7 @@ protected function derandomize(string $token): string
377
377
return bin2hex (hex2bin ($ value ) ^ hex2bin ($ key ));
378
378
} catch (ErrorException $ e ) {
379
379
// "hex2bin(): Hexadecimal input string must have an even length"
380
- throw new InvalidArgumentException ($ e ->getMessage ());
380
+ throw new InvalidArgumentException ($ e ->getMessage (), $ e -> getCode (), $ e );
381
381
}
382
382
}
383
383
You can’t perform that action at this time.
0 commit comments