Skip to content
Closed
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
6 changes: 6 additions & 0 deletions build/phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,12 @@ parameters:
paths:
- ../tests/PHPStan/Fixture
reportUnmatched: false # constants on enums, not reported on PHP8-
-
identifier: shipmonk.deadEnumCase
paths:
- ../tests/PHPStan/Fixture
-
rawMessage: 'Property PHPStan\Command\CommandHelper::$reservedMemory is never read' # intentional
-
message: '''
#^Access to constant on deprecated class DeprecatedAnnotations\\DeprecatedFoo\:
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"phpstan/phpstan-strict-rules": "^2.0",
"phpunit/phpunit": "^11.5.23",
"shipmonk/composer-dependency-analyser": "^1.5",
"shipmonk/dead-code-detector": "^0.14.0",
"shipmonk/dead-code-detector": "^0.15.0",
"shipmonk/name-collision-detector": "^2.0"
},
"config": {
Expand Down
19 changes: 11 additions & 8 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/Internal/DirectoryCreatorException.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
final class DirectoryCreatorException extends Exception
{

public function __construct(public readonly string $directory)
public function __construct(string $directory)
{
$error = error_get_last();

Expand Down
Loading