Sitelet https://github.com/phpbench/phpbench/pull/1157/files
Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"php-cs-fixer/shim": "^3.9",
"phpspec/prophecy": "^1.22",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan": "^2.0",
"phpstan/phpstan": "^2.2.16",
"phpstan/phpstan-phpunit": "^2.0",
"phpunit/phpunit": "^11.5",
"rector/rector": "^2.2",
Expand Down
1 change: 0 additions & 1 deletion lib/Environment/Information.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ public function offsetUnset($offset): void
*/
public function getIterator(): ArrayIterator
{
/** @phpstan-ignore return.type */
return new ArrayIterator($this->information);
}

Expand Down
18 changes: 0 additions & 18 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,6 @@ parameters:
count: 1
path: lib/Executor/MethodExecutorInterface.php

-
message: '#^Left side of && is always true\.$#'
identifier: booleanAnd.leftAlwaysTrue
count: 1
path: lib/Json/JsonDecoder.php

-
message: '#^Method PhpBench\\Json\\JsonDecoder\:\:decode\(\) return type has no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
Expand All @@ -72,18 +66,6 @@ parameters:
count: 1
path: lib/Json/JsonDecoder.php

-
message: '#^Result of && is always false\.$#'
identifier: booleanAnd.alwaysFalse
count: 1
path: lib/Json/JsonDecoder.php

-
message: '#^Strict comparison using \=\=\= between \*NEVER\* and ''"'' will always evaluate to false\.$#'
identifier: identical.alwaysFalse
count: 1
path: lib/Json/JsonDecoder.php

-
message: '#^Property PhpBench\\Math\\Distribution\:\:\$closures in isset\(\) is not nullable nor uninitialized\.$#'
identifier: isset.initializedProperty
Expand Down