Upgrade to PHP 8.5 and apply Rector cleanup
Maintainers usually reply within 5 days
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
Research direction
Start with composer.json, the Dockerfile(s), docker-compose configuration, and CI configuration to map the PHP 8.5 upgrade. Add the requested rector.php configuration, then apply Rector across bin, config, src, and tests and review the listed compatibility fixes. Done means Composer dependencies are updated and the full test suite plus static analysis are green on PHP 8.5.
Written by the indexing model from the issue text.
Description
Goal
Upgrade PHP runtime to 8.5, update Composer dependencies, and apply Rector cleanup.
What needs to be done
- Bump
composer.jsonPHP constraint to^8.5, runcomposer update - Update Dockerfile(s)/docker-compose and CI to PHP 8.5
- Add
rector/rector: ^2.4, addrector.php:return RectorConfig::configure() ->withPaths([__DIR__.'/bin', __DIR__.'/config', __DIR__.'/src', __DIR__.'/tests']) ->withPhpSets() ->withComposerBased(doctrine: true, symfony: true, phpunit: true) ->withAttributesSets(doctrine: true, symfony: true, phpunit: true) ->withSkip([ \Rector\Php84\Rector\MethodCall\NewMethodCallWithoutParenthesesRector::class, \Rector\Php84\Rector\Class_\DeprecatedAnnotationToDeprecatedAttributeRector::class, ]); - Apply rector, fix what it can't (implicit nullable params,
__sleep/__wakeup, removed functions likexml_parser_free()) - Full test suite + static analysis green on PHP 8.5
- Dominant language
- PHP
- Stars
- 6
- Forks
- 3
- Avg merge
- 6d 9h
- Merged PRs (30d)
- 15
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from OpenConext/Stepup-Gateway
-
gateway
Difficulty 3/5 1-2 days Newbie friendliness 58/100
OpenConext/Stepup-Gateway#695 ·
Maintainers usually reply within 5 days
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
OpenConext/Stepup-Gateway#508 ·
Maintainers usually reply within 5 days
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
OpenConext/Stepup-Gateway#500 · 1 comment ·
Maintainers usually reply within 5 days
-
needs discussion technical debt
Difficulty 4/5 3-5 days Newbie friendliness 25/100
OpenConext/Stepup-Gateway#471 ·
Maintainers usually reply within 5 days
-
Imported
Difficulty 3/5 1-2 days Newbie friendliness 38/100
OpenConext/Stepup-Gateway#413 ·
Maintainers usually reply within 5 days
All issues in OpenConext/Stepup-Gateway
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100
-
area/import type/enhancement when/later
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
parime/glpi-iso27001-management#1165 ·
Maintainers usually reply within 1 day
-
15.0
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
opnsense/plugins#5976 · 1 comment ·
Maintainers usually reply within 1 day