Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support and compatibility added for PHP 8.1 #85

Merged
merged 5 commits into from
Sep 6, 2023

Conversation

denniscoorn
Copy link
Contributor

I've upgraded a couple of packages, fixed some coding standard violations (due to package upgrades) and refreshed the workflows a little bit.

In order to add support for PHP 8.1 I had to bump the minimum supported version to 7.4. This will be a backward compatibility break but I would highly suggest to take the version bump, otherwise it will be very difficult to mitigate future security vulnerabilities and is it impossible to add support for any PHP version higher than 8.0.

I replaced the package padraic/phar-updater with consolidation/self-update to remove a security vulnerability in package padraic/humbug_get_contents and to make it easier to support PHP 8.1. In general the self-update command works the same as it is now, except for the --rollback option, but I guess that would be an acceptable trade off.

Here's a list of all packages that are being upgraded:

  • phpstan/phpstan (0.12.93 => 1.9.14)
  • behat/behat (v3.8.1 => v3.12.0)
  • behat/gherkin (v4.8.0 => v4.9.0)
  • behat/transliterator (v1.3.0 => v1.5.0)
  • squizlabs/php_codesniffer (3.6.0 => 3.7.1)
  • phpmd/phpmd (2.10.2 => 2.13.0)
  • pdepend/pdepend (2.10.0 => 2.12.1)
  • composer/xdebug-handler (2.0.1 => 3.0.3)
  • phpspec/prophecy (v1.15.0 => v1.16.0)
  • psr/container (1.1.1 => 1.1.2)
  • symfony/config (v5.3.3 => v5.4.11)
  • symfony/console (v5.3.2 => v5.4.17)
  • symfony/dependency-injection (v5.3.3 => v5.4.17)
  • symfony/deprecation-contracts (v2.4.0 => v2.5.2)
  • symfony/event-dispatcher (v5.3.0 => v5.4.17)
  • symfony/event-dispatcher-contracts (v2.4.0 => v2.5.2)
  • symfony/filesystem (v5.4.13 => v5.4.13)
  • symfony/polyfill-ctype (v1.24.0 => v1.27.0)
  • symfony/polyfill-intl-grapheme (v1.23.0 => v1.27.0)
  • symfony/polyfill-php73 (v1.23.0 => v1.27.0)
  • symfony/polyfill-php80 (v1.23.0 => v1.27.0)
  • symfony/polyfill-php81 (v1.23.0 => v1.27.0)
  • symfony/process (v5.3.2 => v5.4.11)
  • symfony/service-contracts (v2.4.0 => v2.5.2)
  • symfony/string (v5.3.3 => v5.4.17)
  • symfony/translation (v5.3.3 => v5.4.14)
  • symfony/translation-contracts (v2.4.0 => v2.5.2)
  • symfony/yaml (v5.3.3 => v5.4.17)

These packages are being removed:

  • padraic/phar-updater (v1.0.6)
  • padraic/humbug_get_contents (1.1.2)

@denniscoorn
Copy link
Contributor Author

@christiaan @josephineb @VSlokker Hi 👋 It's me 😄

@christiaan
Copy link
Member

@denniscoorn sorry to have missed this. Looking good; can you maybe fix the conflicts? I cannot because they are on your fork.

christiaan
christiaan previously approved these changes Aug 28, 2023
@denniscoorn
Copy link
Contributor Author

@christiaan Thanks for the review! I've resolved the conflicts and also updated guzzlehttp/psr7 because of a security vulnerability. If there's anything you want me to change before merging, just let me know.

@christiaan christiaan merged commit 3704dbb into leviy:master Sep 6, 2023
@christiaan
Copy link
Member

Nope, all good 👍

@denniscoorn denniscoorn deleted the feature/php-81-compatibility branch September 6, 2023 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants