Skip to content

Commit

Permalink
Merge pull request #479 from jolicode/feat/phpstan-update
Browse files Browse the repository at this point in the history
chore(lint): update phpstan and remove useless ignore
  • Loading branch information
pyrech authored Jun 5, 2024
2 parents feb5423 + d365efa commit 9a248f2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
1 change: 0 additions & 1 deletion src/Function/FunctionLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ public function loadListeners(array $listenerDescriptors): void
foreach ($listenerDescriptors as $descriptor) {
$this->eventDispatcher->addListener(
$descriptor->asListener->event,
// @phpstan-ignore-next-line
$descriptor->reflectionFunction->getClosure(),
$descriptor->asListener->priority
);
Expand Down
2 changes: 1 addition & 1 deletion tools/phpstan/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "project",
"license": "MIT",
"require": {
"phpstan/phpstan": "^1.11.1"
"phpstan/phpstan": "^1.11.3"
},
"config": {
"platform": {
Expand Down
12 changes: 6 additions & 6 deletions tools/phpstan/composer.lock

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

0 comments on commit 9a248f2

Please sign in to comment.