Open
Description
PHP 8.4 added a new deprecation:
ErrorException: League\Pipeline\Pipeline::__construct(): Implicitly marking parameter $processor as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/vendor/league/pipeline/src/Pipeline.php:18
The options are:
- Wait until PHP 8.4 deprecation: League\Pipeline\Pipeline::__construct(): Implicitly marking parameter $processor as nullable is deprecated, the explicit nullable type must be used instead in Pipeline.php thephpleague/pipeline#61 is fixed,
- Or (what I recomend), just copy the file into the repo to avoid an extra dependency. Building a pipeline class should be easy enough to not depend on any extra dependency.
Stack trace:
#0 /var/www/html/vendor/composer/ClassLoader.php(576): Illuminate\Foundation\Testing\TestCase->{closure:Illuminate\Foundation\Testing\Concerns\InteractsWithDeprecationHandling::withoutDeprecationHandling():38}()
#1 /var/www/html/vendor/composer/ClassLoader.php(576): include()
#2 /var/www/html/vendor/composer/ClassLoader.php(427): {closure:Composer\Autoload\ClassLoader::initializeIncludeClosure():575}()
#3 /var/www/html/vendor/hisorange/browser-detect/src/Parser.php(204): Composer\Autoload\ClassLoader->loadClass()
#4 /var/www/html/vendor/hisorange/browser-detect/src/Parser.php(172): hisorange\BrowserDetect\Parser->process()
#5 /var/www/html/vendor/laravel/framework/src/Illuminate/Cache/Repository.php(427): hisorange\BrowserDetect\Parser->{closure:hisorange\BrowserDetect\Parser::parse():171}()
#6 /var/www/html/vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php(453): Illuminate\Cache\Repository->remember()
#7 /var/www/html/vendor/hisorange/browser-detect/src/Parser.php(168): Illuminate\Cache\CacheManager->__call()
#8 /var/www/html/app/Services/SessionInfoExtractor.php(34): hisorange\BrowserDetect\Parser->parse()
Metadata
Metadata
Assignees
Labels
No labels