-
-
Notifications
You must be signed in to change notification settings - Fork 347
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make scoper work with prefixed and instanceof classes in symfony di c…
…ompiler
- Loading branch information
1 parent
d734468
commit 556e2f2
Showing
1 changed file
with
10 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
556e2f2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is triyng to fix symfony magic class replacement: https://github.com/rectorphp/rector/blob/f5d1aaae419da55d6ce66a8f3dc6602ad67295b2/vendor/symfony/dependency-injection/Compiler/ResolveInstanceofConditionalsPass.php#L96-L98
Is uses unserialize and fixed lenght of string. The prefixed classes has
Rector123456\\
extra part in the name, so both lines has to be 13 lines higher.