v7.5.5 includes broken justinrainbow/json-schema? #3969
-
Deployer Versionv7.5.6 Target OSUbuntu 24.04 Which PHP version are you using?PHP 8.1 Content of deploy.php or deploy.yamltasks: hosts: Steps to reproduce$ dep echo localhost Optional parameter $path declared before required parameter $message is implicitly treated as a required parameter No problem with v7.5.5! |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
I observed the same behavior since yesterday. Following additions:
Any hint or idea what the cause is? |
Beta Was this translation helpful? Give feedback.
-
We are experiencing the same issue. Downgrading to v7.5.5 temporarily resolved the issue for us. |
Beta Was this translation helpful? Give feedback.
-
Here is your culprit: The change done on BaseConstraint.php causes the error since optional parameters before required parameters has been deprecated since PHP 8.0. |
Beta Was this translation helpful? Give feedback.
-
Same here |
Beta Was this translation helpful? Give feedback.
-
Ok, I think I fixed all errors. Use this to find this regex:
|
Beta Was this translation helpful? Give feedback.
-
Should be fixed in v7.5.7. |
Beta Was this translation helpful? Give feedback.
Should be fixed in v7.5.7.