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 de PHP 7.4 et 8.1 #26

Closed
7 tasks done
mborne opened this issue Nov 2, 2022 · 0 comments
Closed
7 tasks done

Support de PHP 7.4 et 8.1 #26

mborne opened this issue Nov 2, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@mborne
Copy link
Contributor

mborne commented Nov 2, 2022

Contexte

Il convient de s'assurer au niveau des tests que l'on supporte bien PHP 8.1 tout en conservant le support de PHP 7.4.

Actions

  • Mettre à jour la structure du projet (et éviter des tentatives de modification de flex)
  • Mettre à jour PHPUnit en version 9
  • Mettre à jour liip/functional-test-bundle ( "3.0.0" => "^4.5" )

Problem 1

  • Root composer.json requires liip/functional-test-bundle 3.0.0 -> satisfiable by liip/functional-test-bundle[3.0.0].
  • liip/functional-test-bundle 3.0.0 requires php ^7.1 -> your php version (8.1.12) does not satisfy that requirement.
  • Mettre à jour liip/test-fixtures-bundle ( "1.0.0" => "^2.4" )

Problem 2

  • Root composer.json requires liip/test-fixtures-bundle 1.0.0 -> satisfiable by liip/test-fixtures-bundle[1.0.0].
  • liip/test-fixtures-bundle 1.0.0 requires php ^7.1 -> your php version (8.1.12) does not satisfy that requirement.
  • Mettre à jour composer.json ("php": ">=7.1.3" => "php": "^7.2 || ^8.0")

Intégration continue

  • Docker - Mettre à jour l'image docker en PHP 8.1

RAS : https://app.circleci.com/pipelines/github/IGNF/validator-api/126/workflows/cedebda7-a295-4752-89d9-21fb54334f0f/jobs/126

  • Configurer GitHub actions avec PHP 7.4 et 8.1

https://github.com/IGNF/validator-api/blob/master/.github/workflows/php-ci.yml

@mborne mborne added the enhancement New feature or request label Nov 2, 2022
@mborne mborne self-assigned this Nov 2, 2022
@mborne mborne changed the title Support de PHP 8.1 Support de PHP 7.4 et 8.1 Nov 2, 2022
mborne added a commit that referenced this issue Nov 3, 2022
mborne added a commit that referenced this issue Nov 3, 2022
@mborne mborne closed this as completed Nov 3, 2022
@mborne mborne added this to the 0.2 milestone Dec 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant