Running PHPStan and Easy Codings Standard
If you're working on improving this extension (as opposed to working with this extension), you might want to run the built-in configurations for ECS and PHPStan.
First, make sure dependencies are installed:
composer install
And then run ECS to find potential issues:
vendor/bin/ecs check src
Or to fix them automatically:
vendor/bin/ecs check src --fix
Run PHPStan:
vendor/bin/phpstan