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

Explicitly declare parameter types as nullable #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

imba28
Copy link

@imba28 imba28 commented Dec 5, 2024

Starting with PHP 8.4, implicit nullability triggers a deprecation warning. See https://wiki.php.net/rfc/deprecate-implicitly-nullable-types. Excerpt from the logs

Deprecated: Codeception\Module\AMQP::pushToExchange(): Implicitly marking parameter $routing_key as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/vendor/codeception/module-amqp/src/Codeception/Module/AMQP.php on line 112

Deprecated: Codeception\Module\AMQP::declareExchange(): Implicitly marking parameter $arguments as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/vendor/codeception/module-amqp/src/Codeception/Module/AMQP.php on line 154

Deprecated: Codeception\Module\AMQP::declareExchange(): Implicitly marking parameter $ticket as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/vendor/codeception/module-amqp/src/Codeception/Module/AMQP.php on line 154

Deprecated: Codeception\Module\AMQP::declareQueue(): Implicitly marking parameter $arguments as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/vendor/codeception/module-amqp/src/Codeception/Module/AMQP.php on line 192

Deprecated: Codeception\Module\AMQP::declareQueue(): Implicitly marking parameter $ticket as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/vendor/codeception/module-amqp/src/Codeception/Module/AMQP.php on line 192

Deprecated: Codeception\Module\AMQP::bindQueueToExchange(): Implicitly marking parameter $arguments as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/vendor/codeception/module-amqp/src/Codeception/Module/AMQP.php on line 230

Deprecated: Codeception\Module\AMQP::bindQueueToExchange(): Implicitly marking parameter $ticket as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/vendor/codeception/module-amqp/src/Codeception/Module/AMQP.php on line 230

Starting with PHP 8.4, implicit nullability triggers a deprecation warning. See https://wiki.php.net/rfc/deprecate-implicitly-nullable-types
@W0rma W0rma mentioned this pull request Dec 6, 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.

2 participants