-
-
Notifications
You must be signed in to change notification settings - Fork 950
ci: use php 8.5 #7585
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
base: main
Are you sure you want to change the base?
ci: use php 8.5 #7585
Conversation
… use an empty string instead
… is deprecated since 8.5, as it has no effect As of PHP 8.1.0, calling this method has no effect; all properties are accessible by default. @see https://www.php.net/manual/en/reflectionproperty.setaccessible.php @see https://wiki.php.net/rfc/deprecations_php_8_5#extreflection_deprecations
ArrayObject::__construct(): Using an object as a backing array for ArrayObject is deprecated, as it allows violating class constraints and invariants
Method SplObjectStorage::contains() is deprecated since 8.5, use method SplObjectStorage::offsetExists() instead Method SplObjectStorage::detach() is deprecated since 8.5, use method SplObjectStorage::offsetUnset() instead
|
The error of the "PHPUnit + Behat (PHP 8.5) (MongoDB)" job is already present on the main branch. The errors of others behat jobs appear to be related to the following deprecation https://wiki.php.net/rfc/warnings-php-8-5#coercing_nan_to_other_types When the value is NaN, INF, or -INF, PDO::bindValue with PDO::PARAM_STR appears to convert to a string and throw the warning Note: These values are not compatible with SQLite, the value is 0, unlike postgres. no idea how to fix it... Should the test be ignored in PHP 8.5? |
| matrix: | ||
| php: | ||
| - '8.3' | ||
| - '8.5' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
php-cs-fixer doesn't support 8.5 yet can you lower to 8.4 maybe?
|
This failure is probably related to the changes: Add a |
This PR updates the GitHub Actions workflow to use the latest stable PHP version, 8.5, in the CI pipeline.