diff --git a/phpstan.neon.dist b/phpstan.neon.dist index eefdd1de8..c5db920bf 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -20,6 +20,7 @@ parameters: - pocketmine\DEBUG stubFiles: - tests/phpstan/stubs/pthreads.stub + - tests/phpstan/stubs/chunkutils.stub reportUnmatchedIgnoredErrors: false #no other way to silence platform-specific non-warnings ignoreErrors: - diff --git a/tests/phpstan/stubs/chunkutils.stub b/tests/phpstan/stubs/chunkutils.stub new file mode 100644 index 000000000..245c6ae04 --- /dev/null +++ b/tests/phpstan/stubs/chunkutils.stub @@ -0,0 +1,26 @@ +