Introduction of PHP CS Fixer has broken PHP 7.4 support #3976
Unanswered
mikestreety
asked this question in
Bugs
Replies: 1 comment
-
I can't quite replicate it locally to verify this works (as there seem to be loads of differences in the However I believe adding the following rule to
The rules inherit from CSR2.0 which have https://cs.symfony.com/doc/rules/control_structure/trailing_comma_in_multiline.html I understand this works on |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Deployer Version
v7.5.6
Target OS
Alpine
Which PHP version are you using?
PHP 7.4
Content of deploy.php or deploy.yaml
N/A
Steps to reproduce
Running
dep
in a PHP 7.4 environment throws the following error:This is because the
php-cs-fixer
appears to have linted the code to PHP 8+, including the files included in thevendor
folder44b3a55
Highlighted in the IDE when inspecting the PHAR contents in the file
vendor/ringcentral/psr7/src/functions.php
.Although it breaks on this, I suspect other changes in this linted commit will also cause to break
Beta Was this translation helpful? Give feedback.
All reactions