Skip to content

Commit

Permalink
Require phpstan/phpstan:^2
Browse files Browse the repository at this point in the history
  • Loading branch information
mabar committed Dec 29, 2024
1 parent 5469e3c commit 7311103
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@
"infection/infection": "^0.26.0|^0.27.0|^0.28.0|^0.29.0",
"orisai/coding-standard": "^3.0.0",
"phpstan/extension-installer": "^1.0.0",
"phpstan/phpstan": "^1.0.0",
"phpstan/phpstan-deprecation-rules": "^1.0.0",
"phpstan/phpstan-nette": "^1.0.0",
"phpstan/phpstan-phpunit": "^1.0.0",
"phpstan/phpstan-strict-rules": "^1.0.0",
"phpstan/phpstan": "^2.0.0",
"phpstan/phpstan-deprecation-rules": "^2.0.0",
"phpstan/phpstan-nette": "^2.0.0",
"phpstan/phpstan-phpunit": "^2.0.0",
"phpstan/phpstan-strict-rules": "^2.0.0",
"phpunit/phpunit": "^9.5.0",
"staabm/annotate-pull-request-from-checkstyle": "^1.7.0"
},
Expand Down
1 change: 0 additions & 1 deletion src/Inspector/Inspector.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ private function buildComponentListInternal(array &$componentList, Component $co
$id = $component->getControlPrototype()->id;
$showInTree = false;
$form = $component->getForm();
assert($form !== null);
$parentId = $form->getElementPrototype()->id;
}

Expand Down

0 comments on commit 7311103

Please sign in to comment.