jumPhp/games/runtime-demo/phpstan.neon

9 lines
484 B
Text

# Static analysis of the game (bin/jumphp test <game> runs it when the engine dev tools are installed:
# bin/jumphp test engine once). Level 5: wrong types, unknown methods, missing arguments.
parameters:
level: 5
paths: [src]
scanFiles: [../../engine/stubs/sdl.stub.php, ../../engine/stubs/async.stub.php, ../../engine/stubs/opengl.stub.php, ../../engine/stubs/openal.stub.php]
reportUnmatchedIgnoredErrors: false
ignoreErrors:
- identifier: trait.unused