tpetry / laravel-postgresql-enhanced

Support for many missing PostgreSQL specific features
MIT License
782 stars 31 forks source link

Remove deprecated warning in PHP 8.4.1 #102

Open jonagoldman opened 17 hours ago

jonagoldman commented 17 hours ago

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 commented 17 hours ago

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.