1 Illuminate\Foundation\Bootstrap\HandleExceptions::handleError("Unparenthesized a ? b : c ? d : e is deprecated. Use either (a ? b : c) ? d : e or a ? b : (c ? d : e)", "A:_WebDev_Projects\aymen-requests\laravel_application\vendor\themsaid\laravel-langman\src\Commands\FindCommand.php", ["A:_WebDev_Projects\aymen-requests\laravel_application\vendor\composer/../themsaid/laravel-langman/src/Commands/FindCommand.php"])
A:_WebDev_Projects\aymen-requests\laravel_application\vendor\composer\ClassLoader.php:444
I found the issue when executing
composer install
@php artisan package:discover
ErrorException : Unparenthesized
a ? b : c ? d : e
is deprecated. Use either(a ? b : c) ? d : e
ora ? b : (c ? d : e)
at A:_WebDev_Projects\aymen-requests\laravel_application\vendor\themsaid\laravel-langman\src\Commands\FindCommand.php:113 109| $original = []; 110| 111| foreach ($allLanguages as $languageKey) { 112| $original[$languageKey] =
Exception trace:
1 Illuminate\Foundation\Bootstrap\HandleExceptions::handleError("Unparenthesized
a ? b : c ? d : e
is deprecated. Use either(a ? b : c) ? d : e
ora ? b : (c ? d : e)
", "A:_WebDev_Projects\aymen-requests\laravel_application\vendor\themsaid\laravel-langman\src\Commands\FindCommand.php", ["A:_WebDev_Projects\aymen-requests\laravel_application\vendor\composer/../themsaid/laravel-langman/src/Commands/FindCommand.php"]) A:_WebDev_Projects\aymen-requests\laravel_application\vendor\composer\ClassLoader.php:4442 include() A:_WebDev_Projects\aymen-requests\laravel_application\vendor\composer\ClassLoader.php:444
Please use the argument -v to see more details. Script @php artisan package:discover handling the post-autoload-dump event returned with error code 1
And it solved as this
stackoverflow
answer: