Move project dependencies to PHP 8.2

Created on 29 March 2024, 3 months ago
Updated 10 May 2024, about 2 months ago

Drupal version

10 || 11

Drupal Rector version

DEV

Problem / Motivation

Our dependencies are currently pinned at PHP 8.1 in composer.json and the github workflow docs.

We should likely update to 8.2.

This failure -- https://github.com/palantirnet/drupal-rector/actions/runs/8482298291/job... -- may be related, as this runs fine on my local under PHP 8.2

Github:

PHP Fatal error:  Class PhpCsFixer\Fixer\Import\SingleImportPerStatementFixer contains 7 abstract methods and must therefore be declared abstract or implement the remaining methods (PhpCsFixer\Fixer\ConfigurableFixerInterface::configure, PhpCsFixer\Fixer\ConfigurableFixerInterface::getConfigurationDefinition, PhpCsFixer\Fixer\FixerInterface::isRisky, ...) in /home/runner/work/drupal-rector/drupal-rector/vendor/friendsofphp/php-cs-fixer/src/Fixer/Import/SingleImportPerStatementFixer.php on line 37

Local:

drupal-rector: composer check-style
> vendor/bin/php-cs-fixer check
PHP CS Fixer 3.51.0 Insomnia by Fabien Potencier, Dariusz Ruminski and contributors.
PHP runtime: 8.2.16
Loaded config default from "/Users/rickard/Sites/drupal-rector/.php-cs-fixer.dist.php".
Using cache file ".php-cs-fixer.cache".
 167/167 [β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“] 100%


Found 0 of 167 files that can be fixed in 1.747 seconds, 18.000 MB memory used
πŸ“Œ Task
Status

Fixed

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States agentrickard Georgia (US)

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024