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

PHP 8.1 - 8.3 + Docker + Github Actions + Refactoring of the code #219

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

bytes-commerce
Copy link

@bytes-commerce bytes-commerce commented Jan 8, 2024

This PR will complete deprecate PHP7 usage as it was possible years before, as PHP7 is already a long time end of life.

Previous branches can be used if PHP7 is planned to be kept alive.

This PR is also not backwards compatible. I've changed quite some semantics to remove most of the smelly code (i.e. transmit arbitrary strings to functions that require a specific format in order to work as expected).

This PR introduces more things:

  • Docker Compose env
  • Github Actions for PHP 8.1, 8.2 and 8.3 (!)
  • Phpstan
  • ECS (PHPCS on Steroids)

Coverage is around ~75%.

Tests are running fine. Scrutinizer is failing to build, but GitHub Actions are in good conditions, see my own PR in my fork: https://github.com/nopenopenope/vcard/actions/runs/7450641541/job/20270001192

@bytes-commerce bytes-commerce changed the title Php8 PHP 8.1 - 8.3 + Docker + Github Actions + Refactoring of the code Jan 8, 2024
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.

1 participant