Upgrade to PHP 8.5 #16
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
moxio/php-codesniffer-sniffs.squizlabs/php_codesnifferandslevomat/coding-standard.SlevomatCodingStandard.TypeHints.UnionTypeHintFormatwithSlevomatCodingStandard.TypeHints.DNFTypeHintFormat.OpaySniffs/Sniffs/Classes/ForbiddenClassesSniff.phpdue to deprecated functions used in previous versions:ForbiddenClassesSniffignoring all changes in previous Opay version.docker-compose.ymlandMakefileto allow runningcomposer installinside of container instead of having PHP on localhost..envwith configDOCKER_IMAGE: ghcr.io/opay/base-php-local:8.5allows using internal docker image, otherwise composer must be installed alongside with defaultphp:8.5-fpm-alpine.lintcommandallow-unsupported-php-versioncommand (probably, it was useful before upgrade)❗ New tag should be
v1.6.0or evenv2.0.0, since this upgrade contains Moxio deprecation.Type of change
Code testing
Code quality