-
Notifications
You must be signed in to change notification settings - Fork 95
Closed
Description
Since config/bootstrap.php
doesn't exist anymore in Symfony 5.1 (see symfony/symfony-docs#13759), the example console-application.php
at https://github.com/phpstan/phpstan-symfony#console-command-analysis doesn't work anymore.
I did it quick and dirty like so, but what's the recommended way (to also be shown in README)?:
use App\Kernel;
$kernel = new Kernel('dev', false);
return new \Symfony\Bundle\FrameworkBundle\Console\Application($kernel);
object-manager.php
at https://github.com/phpstan/phpstan-doctrine#configuration is also affected.
Metadata
Metadata
Assignees
Labels
No labels