cucumber / gherkin

A parser and compiler for the Gherkin language.
MIT License
160 stars 48 forks source link

[php] Bump required version of the php-cs-fixer #232

Closed olleolleolle closed 3 months ago

olleolleolle commented 3 months ago

🤔 What's changed?

This version of the php-cs-fixer supports versions of PHP in our matrix.

https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/releases/tag/v3.51.0

That project's README states that it supports very new versions.

Our CI error message output was:

Run vendor/bin/php-cs-fixer --dry-run --diff fix
  vendor/bin/php-cs-fixer --dry-run --diff fix
  vendor/bin/psalm --no-cache
  vendor/bin/phpunit
  shell: /usr/bin/bash -e {0}
  env:
    COMPOSER_PROCESS_TIMEOUT: 0
    COMPOSER_NO_INTERACTION: 1
    COMPOSER_NO_AUDIT: 1
    COMPOSER_AUTH: {"github-oauth": {"github.com": "***"}}
PHP needs to be a minimum version of PHP 7.4.0 and maximum version of PHP 8.1.*.
Current PHP version: 8.2.15.
To ignore this requirement please set `PHP_CS_FIXER_IGNORE_ENV`.
If you use PHP version higher than supported, you may experience code modified in a wrong way.
Please report such cases at https://github.com/FriendsOfPHP/PHP-CS-Fixer .

Result after the change

image

⚡️ What's your motivation?

Saw version warning failures in the CI output for unrelated package updates, when we got to the "fix code style" step.

🏷️ What kind of change is this?