You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to run the phpstan analyse command in a pipeline. To do static analysis on the tests, PHPStan needs the generated files (for example UnitTesterActions.php). When I try to create the generated files using codecept build, it runs the configured bootstrap. My bootstrap sets up my database connection and database to for the tests, but I wouldn't need it at the build command. Also, for static analysis I don't want to setup the database.
What do you get instead?
The configured bootstrap: bootstrap.php is executed on codecept build and there is seems no way to prevent this.
Details
Codeception version: 5.1
PHP Version: 8.3.2
Operating System: Docker PHP-FPM
Installation type: Composer
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
What are you trying to achieve?
I want to run the
phpstan analyse
command in a pipeline. To do static analysis on the tests, PHPStan needs the generated files (for exampleUnitTesterActions.php
). When I try to create the generated files usingcodecept build
, it runs the configured bootstrap. My bootstrap sets up my database connection and database to for the tests, but I wouldn't need it at thebuild
command. Also, for static analysis I don't want to setup the database.What do you get instead?
The configured
bootstrap: bootstrap.php
is executed oncodecept build
and there is seems no way to prevent this.Details
The text was updated successfully, but these errors were encountered: