Dependabot-core: PHP: syntax error on update

Created on 11 Mar 2020  路  3Comments  路  Source: dependabot/dependabot-core

Hello,

I'm getting this error in logs when updating:

updater | ERROR <job_25976837> Error processing vimeo/psalm (Dependabot::SharedHelpers::HelperSubprocessFailed)
updater | ERROR <job_25976837> syntax error, unexpected 'string' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
updater | ERROR <job_25976837> /home/dependabot/dependabot-updater/vendor/ruby/2.6.0/gems/dependabot-common-0.117.2/lib/dependabot/shared_helpers.rb:111:in `run_helper_subprocess'

Config: https://github.com/kubawerlos/php-cs-fixer-custom-fixers/blob/master/.dependabot/config.yml

Most helpful comment

@pehbehbeh I've missed it somehow, let's try to fix this 鈽濓笍 .

All 3 comments

I have the same issue. I think this is related to PHP 7.4.

It also seems that Dependabot does not respect the "php": "^7.4", settings in composer.json.

I just found out, that PHP 7.3 is hardcoded. So Dependabot is unusable with PHP 7.4 right now. 馃槩

https://github.com/dependabot/dependabot-core/blob/9d61e6e5ffb25a1df09f7a8a06497b6ac9b2791e/Dockerfile#L99-L107

@pehbehbeh I've missed it somehow, let's try to fix this 鈽濓笍 .

Was this page helpful?
0 / 5 - 0 ratings