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

Fix PHP 8.4 "implicit marking parameter as nullable is deprecated" #27

Closed
ptmkenny opened this issue Nov 22, 2024 · 0 comments · Fixed by #28
Closed

Fix PHP 8.4 "implicit marking parameter as nullable is deprecated" #27

ptmkenny opened this issue Nov 22, 2024 · 0 comments · Fixed by #28

Comments

@ptmkenny
Copy link
Contributor

With a site using the config reader on PHP 8.4, a drush command returns the following:

Deprecated: Platformsh\ConfigReader\Config::__construct(): Implicitly marking parameter $environmentVariables as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/vendor/platformsh/config-reader/src/Config.php on line 152
PHP Deprecated:  Platformsh\ConfigReader\Config::getUpstreamRoutes(): Implicitly marking parameter $appName as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/vendor/platformsh/config-reader/src/Config.php on line 340

Deprecated: Platformsh\ConfigReader\Config::getUpstreamRoutes(): Implicitly marking parameter $appName as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/vendor/platformsh/config-reader/src/Config.php on line 340
PHP Deprecated:  Drupal\key\KeyConfigOverrides::__construct(): Implicitly marking parameter $config_factory as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/key/src/KeyConfigOverrides.php on line 53
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 a pull request may close this issue.

1 participant