Parse error with PHP 7.4.33 starting from version 7.5.6 #3987
-
Deployer Versionv7.5.6 Target OSUbuntu 22.04.4, Windows 10 Pro Which PHP version are you using?PHP 7.4 Content of deploy.php or deploy.yamlNo response Steps to reproduce
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
confirm the same bug, not fixed in 7.5.7, 7.5.8 > php deployer.phar
Parse error: syntax error, unexpected ')', expecting variable (T_VARIABLE) in phar://H:/work/PHP/test/deployer.phar/vendor/ringcentral/psr7/src/functions.php on line 355
PHP Parse error: syntax error, unexpected ')', expecting variable (T_VARIABLE) in phar://H:/work/PHP/test/deployer.phar/vendor/ringcentral/psr7/src/functions.php on line 355
Script php deployer.phar handling the dep event returned with error code 255 > php -v
PHP 7.4.33 (cli) (built: Nov 2 2022 15:06:48) ( NTS Visual C++ 2017 x64 )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies |
Beta Was this translation helpful? Give feedback.
-
In all available tags of https://github.com/ringcentral/psr7/blob/1.3.0/src/functions.php I can not find the comma behind last argument (IMO only available since 8.*) of that function. Seems, the issue comes in with a CGL automatism. |
Beta Was this translation helpful? Give feedback.
-
Yes, this discussion is a dupe to discussion #3974 Yes, you can not find this in the related lib repo. In v7 vendor dir is committed in the repo and was changed by cs-fixer. Check comment #3974 (comment) |
Beta Was this translation helpful? Give feedback.
-
This is now resolved as of 7.5.11. |
Beta Was this translation helpful? Give feedback.
This is now resolved as of 7.5.11.