-
-
Notifications
You must be signed in to change notification settings - Fork 345
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DowngradePhp72] Handle in assign on DowngradePregUnmatchedAsNullConstantRector #1872
Merged
samsonasik
merged 6 commits into
main
from
handle-in-assign-on-downgrade-preg-unmatched-as-null
Feb 26, 2022
Merged
[DowngradePhp72] Handle in assign on DowngradePregUnmatchedAsNullConstantRector #1872
samsonasik
merged 6 commits into
main
from
handle-in-assign-on-downgrade-preg-unmatched-as-null
Feb 26, 2022
Conversation
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
samsonasik
force-pushed
the
handle-in-assign-on-downgrade-preg-unmatched-as-null
branch
from
February 26, 2022 04:10
14d1e99
to
3ffb3b9
Compare
Fixed 🎉 let's give it a try ;) |
samsonasik
deleted the
handle-in-assign-on-downgrade-preg-unmatched-as-null
branch
February 26, 2022 04:16
@TomasVotruba it works 🎉 |
It seems cause error when used : bin/rector -vvv
In PcreException.php line 26:
[RectorPrefix20220226\Composer\Pcre\PcreException]
preg_match(): failed executing "/^\s*\[(?:PATH|HOST)\s*=/mi": No error
Exception trace:
at /Users/samsonasik/www/GithubModules/ErrorHeroModule/vendor/rector/rector/vendor/composer/pcre/src/PcreException.php:26
RectorPrefix20220226\Composer\Pcre\PcreException::fromFunction() at /Users/samsonasik/www/GithubModules/ErrorHeroModule/vendor/rector/rector/vendor/composer/pcre/src/Preg.php:64
RectorPrefix20220226\Composer\Pcre\Preg::matchWithOffsets() at /Users/samsonasik/www/GithubModules/ErrorHeroModule/vendor/rector/rector/vendor/composer/pcre/src/Preg.php:251
RectorPrefix20220226\Composer\Pcre\Preg::isMatchWithOffsets() at /Users/samsonasik/www/GithubModules/ErrorHeroModule/vendor/rector/rector/vendor/composer/xdebug-handler/src/XdebugHandler.php:313
RectorPrefix20220226\Composer\XdebugHandler\XdebugHandler->writeTmpIni() at /Users/samsonasik/www/GithubModules/ErrorHeroModule/vendor/rector/rector/vendor/composer/xdebug-handler/src/XdebugHandler.php:278
RectorPrefix20220226\Composer\XdebugHandler\XdebugHandler->prepareRestart() at /Users/samsonasik/www/GithubModules/ErrorHeroModule/vendor/rector/rector/vendor/composer/xdebug-handler/src/XdebugHandler.php:119
RectorPrefix20220226\Composer\XdebugHandler\XdebugHandler->check() at /Users/samsonasik/www/GithubModules/ErrorHeroModule/vendor/rector/rector/src/Console/ConsoleApplication.php:45
Rector\Core\Console\ConsoleApplication->doRun() at /Users/samsonasik/www/GithubModules/ErrorHeroModule/vendor/rector/rector/vendor/symfony/console/Application.php:187
RectorPrefix20220226\Symfony\Component\Console\Application->run() at /Users/samsonasik/www/GithubModules/ErrorHeroModule/vendor/rector/rector/bin/rector.php:57
require_once() at /Users/samsonasik/www/GithubModules/ErrorHeroModule/vendor/rector/rector/bin/rector:5
include() at /Users/samsonasik/www/GithubModules/ErrorHeroModule/bin/rector:117 I will look into it, it seems |
Fixed at #1873 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Current rector build scoped got the following error due to update to
composer/pcre 3.0.0
:This PR try to fix it.
Fixes rectorphp/rector#7025