mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-08 23:09:43 +00:00
I do think these are PHPStan bugs, since the trait should inherit the parent class's doc comment But for the sake of catching more bugs, these doc comments have been manually added anyway.
113 lines
4.3 KiB
Plaintext
113 lines
4.3 KiB
Plaintext
parameters:
|
|
ignoreErrors:
|
|
-
|
|
message: "#^Method pocketmine\\\\block\\\\DoubleTallGrass\\:\\:traitGetDropsForIncompatibleTool\\(\\) return type has no value type specified in iterable type array\\.$#"
|
|
count: 1
|
|
path: ../../../src/block/DoubleTallGrass.php
|
|
|
|
-
|
|
message: "#^Creating callable from a non\\-native static method pocketmine\\\\item\\\\VanillaItems\\:\\:ACACIA_SIGN\\(\\)\\.$#"
|
|
count: 1
|
|
path: ../../../src/block/VanillaBlocks.php
|
|
|
|
-
|
|
message: "#^Creating callable from a non\\-native static method pocketmine\\\\item\\\\VanillaItems\\:\\:BIRCH_SIGN\\(\\)\\.$#"
|
|
count: 1
|
|
path: ../../../src/block/VanillaBlocks.php
|
|
|
|
-
|
|
message: "#^Creating callable from a non\\-native static method pocketmine\\\\item\\\\VanillaItems\\:\\:CHERRY_SIGN\\(\\)\\.$#"
|
|
count: 1
|
|
path: ../../../src/block/VanillaBlocks.php
|
|
|
|
-
|
|
message: "#^Creating callable from a non\\-native static method pocketmine\\\\item\\\\VanillaItems\\:\\:CRIMSON_SIGN\\(\\)\\.$#"
|
|
count: 1
|
|
path: ../../../src/block/VanillaBlocks.php
|
|
|
|
-
|
|
message: "#^Creating callable from a non\\-native static method pocketmine\\\\item\\\\VanillaItems\\:\\:DARK_OAK_SIGN\\(\\)\\.$#"
|
|
count: 1
|
|
path: ../../../src/block/VanillaBlocks.php
|
|
|
|
-
|
|
message: "#^Creating callable from a non\\-native static method pocketmine\\\\item\\\\VanillaItems\\:\\:JUNGLE_SIGN\\(\\)\\.$#"
|
|
count: 1
|
|
path: ../../../src/block/VanillaBlocks.php
|
|
|
|
-
|
|
message: "#^Creating callable from a non\\-native static method pocketmine\\\\item\\\\VanillaItems\\:\\:MANGROVE_SIGN\\(\\)\\.$#"
|
|
count: 1
|
|
path: ../../../src/block/VanillaBlocks.php
|
|
|
|
-
|
|
message: "#^Creating callable from a non\\-native static method pocketmine\\\\item\\\\VanillaItems\\:\\:OAK_SIGN\\(\\)\\.$#"
|
|
count: 1
|
|
path: ../../../src/block/VanillaBlocks.php
|
|
|
|
-
|
|
message: "#^Creating callable from a non\\-native static method pocketmine\\\\item\\\\VanillaItems\\:\\:PALE_OAK_SIGN\\(\\)\\.$#"
|
|
count: 1
|
|
path: ../../../src/block/VanillaBlocks.php
|
|
|
|
-
|
|
message: "#^Creating callable from a non\\-native static method pocketmine\\\\item\\\\VanillaItems\\:\\:SPRUCE_SIGN\\(\\)\\.$#"
|
|
count: 1
|
|
path: ../../../src/block/VanillaBlocks.php
|
|
|
|
-
|
|
message: "#^Creating callable from a non\\-native static method pocketmine\\\\item\\\\VanillaItems\\:\\:WARPED_SIGN\\(\\)\\.$#"
|
|
count: 1
|
|
path: ../../../src/block/VanillaBlocks.php
|
|
|
|
-
|
|
message: "#^Call to function assert\\(\\) with false and 'unknown hit type' will always evaluate to false\\.$#"
|
|
count: 1
|
|
path: ../../../src/entity/projectile/Projectile.php
|
|
|
|
-
|
|
message: "#^Property pocketmine\\\\network\\\\mcpe\\\\raklib\\\\PthreadsChannelWriter\\:\\:\\$buffer is never read, only written\\.$#"
|
|
count: 1
|
|
path: ../../../src/network/mcpe/raklib/PthreadsChannelWriter.php
|
|
|
|
-
|
|
message: "#^Property pocketmine\\\\network\\\\mcpe\\\\raklib\\\\SnoozeAwarePthreadsChannelWriter\\:\\:\\$buffer is never read, only written\\.$#"
|
|
count: 1
|
|
path: ../../../src/network/mcpe/raklib/SnoozeAwarePthreadsChannelWriter.php
|
|
|
|
-
|
|
message: "#^Dead catch \\- RuntimeException is never thrown in the try block\\.$#"
|
|
count: 1
|
|
path: ../../../src/plugin/PluginManager.php
|
|
|
|
-
|
|
message: "#^Method pocketmine\\\\timings\\\\TimingsHandler\\:\\:lazyGetSet\\(\\) should return pocketmine\\\\utils\\\\ObjectSet\\<T of object\\> but returns pocketmine\\\\utils\\\\ObjectSet\\<object\\>\\.$#"
|
|
count: 1
|
|
path: ../../../src/timings/TimingsHandler.php
|
|
|
|
-
|
|
message: "#^Casting to int something that's already int\\.$#"
|
|
count: 1
|
|
path: ../../../src/world/generator/normal/Normal.php
|
|
|
|
-
|
|
message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertFalse\\(\\) with false will always evaluate to true\\.$#"
|
|
count: 1
|
|
path: ../../phpunit/promise/PromiseTest.php
|
|
|
|
-
|
|
message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertTrue\\(\\) with false and 'All promise should…' will always evaluate to false\\.$#"
|
|
count: 1
|
|
path: ../../phpunit/promise/PromiseTest.php
|
|
|
|
-
|
|
message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertTrue\\(\\) with false will always evaluate to false\\.$#"
|
|
count: 2
|
|
path: ../../phpunit/promise/PromiseTest.php
|
|
|
|
-
|
|
message: "#^Strict comparison using \\=\\=\\= between 0 and 0 will always evaluate to true\\.$#"
|
|
count: 1
|
|
path: ../rules/UnsafeForeachArrayOfStringRule.php
|
|
|