-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
27 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,55 @@ | ||
parameters: | ||
ignoreErrors: | ||
- | ||
message: "#^Method pocketmine\\\\nbt\\\\tag\\\\CompoundTag\\:\\:getByte\\(\\) should return int but returns mixed\\.$#" | ||
message: '#^Method pocketmine\\nbt\\tag\\CompoundTag\:\:getByte\(\) should return int but returns mixed\.$#' | ||
identifier: return.type | ||
count: 1 | ||
path: ../../../src/tag/CompoundTag.php | ||
|
||
- | ||
message: "#^Method pocketmine\\\\nbt\\\\tag\\\\CompoundTag\\:\\:getByteArray\\(\\) should return string but returns mixed\\.$#" | ||
message: '#^Method pocketmine\\nbt\\tag\\CompoundTag\:\:getByteArray\(\) should return string but returns mixed\.$#' | ||
identifier: return.type | ||
count: 1 | ||
path: ../../../src/tag/CompoundTag.php | ||
|
||
- | ||
message: "#^Method pocketmine\\\\nbt\\\\tag\\\\CompoundTag\\:\\:getDouble\\(\\) should return float but returns mixed\\.$#" | ||
message: '#^Method pocketmine\\nbt\\tag\\CompoundTag\:\:getDouble\(\) should return float but returns mixed\.$#' | ||
identifier: return.type | ||
count: 1 | ||
path: ../../../src/tag/CompoundTag.php | ||
|
||
- | ||
message: "#^Method pocketmine\\\\nbt\\\\tag\\\\CompoundTag\\:\\:getFloat\\(\\) should return float but returns mixed\\.$#" | ||
message: '#^Method pocketmine\\nbt\\tag\\CompoundTag\:\:getFloat\(\) should return float but returns mixed\.$#' | ||
identifier: return.type | ||
count: 1 | ||
path: ../../../src/tag/CompoundTag.php | ||
|
||
- | ||
message: "#^Method pocketmine\\\\nbt\\\\tag\\\\CompoundTag\\:\\:getInt\\(\\) should return int but returns mixed\\.$#" | ||
message: '#^Method pocketmine\\nbt\\tag\\CompoundTag\:\:getInt\(\) should return int but returns mixed\.$#' | ||
identifier: return.type | ||
count: 1 | ||
path: ../../../src/tag/CompoundTag.php | ||
|
||
- | ||
message: "#^Method pocketmine\\\\nbt\\\\tag\\\\CompoundTag\\:\\:getIntArray\\(\\) should return array\\<int\\> but returns mixed\\.$#" | ||
message: '#^Method pocketmine\\nbt\\tag\\CompoundTag\:\:getIntArray\(\) should return array\<int\> but returns mixed\.$#' | ||
identifier: return.type | ||
count: 1 | ||
path: ../../../src/tag/CompoundTag.php | ||
|
||
- | ||
message: "#^Method pocketmine\\\\nbt\\\\tag\\\\CompoundTag\\:\\:getLong\\(\\) should return int but returns mixed\\.$#" | ||
message: '#^Method pocketmine\\nbt\\tag\\CompoundTag\:\:getLong\(\) should return int but returns mixed\.$#' | ||
identifier: return.type | ||
count: 1 | ||
path: ../../../src/tag/CompoundTag.php | ||
|
||
- | ||
message: "#^Method pocketmine\\\\nbt\\\\tag\\\\CompoundTag\\:\\:getShort\\(\\) should return int but returns mixed\\.$#" | ||
message: '#^Method pocketmine\\nbt\\tag\\CompoundTag\:\:getShort\(\) should return int but returns mixed\.$#' | ||
identifier: return.type | ||
count: 1 | ||
path: ../../../src/tag/CompoundTag.php | ||
|
||
- | ||
message: "#^Method pocketmine\\\\nbt\\\\tag\\\\CompoundTag\\:\\:getString\\(\\) should return string but returns mixed\\.$#" | ||
message: '#^Method pocketmine\\nbt\\tag\\CompoundTag\:\:getString\(\) should return string but returns mixed\.$#' | ||
identifier: return.type | ||
count: 1 | ||
path: ../../../src/tag/CompoundTag.php | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,13 @@ | ||
parameters: | ||
ignoreErrors: | ||
- | ||
message: "#^Call to function is_int\\(\\) with int will always evaluate to true\\.$#" | ||
message: '#^Call to function is_int\(\) with int will always evaluate to true\.$#' | ||
identifier: function.alreadyNarrowedType | ||
count: 1 | ||
path: ../../../src/tag/IntArrayTag.php | ||
|
||
- | ||
message: '#^Parameter \#1 \$array \(list\<int\>\) of array_values is already a list, call has no effect\.$#' | ||
identifier: arrayValues.list | ||
count: 1 | ||
path: ../../../src/tag/IntArrayTag.php |