Merge branch 'stable' into list-tag-phpstan-generics #222
Annotations
8 errors
|
Run PHPStan
Process completed with exit code 1.
|
|
Run PHPStan:
tests/phpunit/tag/ListTagTest.php#L89
Call to static method PHPUnit\Framework\Assert::assertNotSame() with *NEVER* and pocketmine\nbt\tag\Tag will always evaluate to true.
|
|
Run PHPStan:
tests/phpunit/tag/ListTagTest.php#L87
Call to static method PHPUnit\Framework\Assert::assertSame() with *NEVER* and pocketmine\nbt\tag\Tag will always evaluate to false.
|
|
Run PHPStan:
tests/phpunit/tag/ListTagTest.php#L86
Instanceof between *NEVER* and pocketmine\nbt\tag\ImmutableTag will always evaluate to false.
|
|
Run PHPStan:
src/tag/ListTag.php#L346
Property pocketmine\nbt\tag\ListTag<TValue of pocketmine\nbt\tag\Tag = pocketmine\nbt\tag\Tag>::$value (list<TValue of pocketmine\nbt\tag\Tag = pocketmine\nbt\tag\Tag>) does not accept list<pocketmine\nbt\tag\Tag>.
|
|
Run PHPStan:
src/tag/ListTag.php#L244
Property pocketmine\nbt\tag\ListTag<TValue of pocketmine\nbt\tag\Tag = pocketmine\nbt\tag\Tag>::$value (list<TValue of pocketmine\nbt\tag\Tag = pocketmine\nbt\tag\Tag>) does not accept non-empty-array<int<0, max>, TValue of pocketmine\nbt\tag\Tag = pocketmine\nbt\tag\Tag>.
|
|
Run PHPStan:
src/tag/ListTag.php#L94
Cannot call method isEmpty() on list<TValue of pocketmine\nbt\tag\Tag = pocketmine\nbt\tag\Tag>.
|
|
Run PHPStan:
src/tag/ListTag.php#L0
Ignored error pattern #^Property pocketmine\\nbt\\tag\\ListTag\:\:\$value \(list\<pocketmine\\nbt\\tag\\Tag\>\) does not accept non\-empty\-array\<int\<0, max\>, pocketmine\\nbt\\tag\\Tag\>\.$# (assign.propertyType) in path /home/runner/work/NBT/NBT/src/tag/ListTag.php was not matched in reported errors.
|
Loading