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

Remove deprecated warning in PHP 8.4.1 #102

Closed
jonagoldman opened this issue Dec 3, 2024 · 2 comments
Closed

Remove deprecated warning in PHP 8.4.1 #102

jonagoldman opened this issue Dec 3, 2024 · 2 comments

Comments

@jonagoldman
Copy link

When using PHP 8.4.1, the next warnings are shown:

PHP Deprecated:  Tpetry\PostgresqlEnhanced\Schema\Builder::createBlueprint(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/vendor/tpetry/laravel-postgresql-enhanced/src/Schema/Builder.php on line 34
PHP Deprecated:  Tpetry\PostgresqlEnhanced\Schema\BuilderDomain::createDomain(): Implicitly marking parameter $check as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/vendor/tpetry/laravel-postgresql-enhanced/src/Schema/BuilderDomain.php on line 34
@tpetry
Copy link
Owner

tpetry commented Dec 3, 2024

I update my test matrix today and fix the bug. Thanks for reporting. I hadn't time to upgrade to PHP 8.4 for my projects yet.

@jonagoldman jonagoldman changed the title Remove deprectade in PHP 8.4.1 Remove deprecated warning in PHP 8.4.1 Dec 3, 2024
tpetry added a commit to private-720326/laravel-postgresql-enhanced that referenced this issue Dec 5, 2024
@tpetry tpetry closed this as completed in 5a7e940 Dec 5, 2024
@tpetry
Copy link
Owner

tpetry commented Dec 5, 2024

The fix is now live with release 2.0.2.

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

No branches or pull requests

2 participants