# Static analysis of the game (bin/jumphp test 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: [stubs/cryo.stub, ../../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 # src/Cryo/PhpCryoReader.php is copied as is from the PhpCryo repository (cryo-studio/src): false positives of # PHPStan on arrays changed through references and on argument checks of a public API. - {identifier: greaterOrEqual.alwaysFalse, path: src/Cryo/PhpCryoReader.php} - {identifier: foreach.emptyArray, path: src/Cryo/PhpCryoReader.php} - {identifier: match.unhandled, path: src/Cryo/PhpCryoReader.php} - {identifier: function.alreadyNarrowedType, path: src/Cryo/PhpCryoReader.php} - {identifier: booleanOr.alwaysFalse, path: src/Cryo/PhpCryoReader.php} - {identifier: notIdentical.alwaysFalse, path: src/Cryo/PhpCryoReader.php}