Skip to content

adds explicit nullable types to missing arguments for PHP 8.4 #1766

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

jajajaime
Copy link

Summary
Adds explicit nullable types to missing arguments for PHP 8.4 compatibility.

Result
Using Adobe Commerce 2.4.8+, PHP 8.4 is recommended.

Example of output from running setup:upgrade

Deprecated Functionality: Algolia\AlgoliaSearch\Model\ResourceModel\Job\Grid\Collection::setSearchCriteria(): Implicitly marking parameter $searchCriteria as nullable is deprecated, the explicit nullable type must be used instead in /var/www/vendor/algolia/algoliasearch-magento-2/Model/ResourceModel/Job/Grid/Collection.php on line 100

@cammonro
Copy link
Contributor

Hi @jajajaime! 👋

Big thanks for sharing this. We do have PHP 8.4 support on the radar for a future release and will be happy to incorporate your work here as well. Cheers!

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