Skip to content

Commit c90d89e

Browse files
authored
Merge pull request #3710 from neos/task/fixPhpStanAndAddComoserScript
TASK: Fix phpstan error and add `composer run lint:phpstan`
2 parents fe34d3c + 7675584 commit c90d89e

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ jobs:
183183
- run: cd /home/circleci/app/Packages/Application && mv ~/neos-ui-workspace Neos.Neos.Ui
184184
- run: |
185185
cd /home/circleci/app/Packages/Application/Neos.Neos.Ui
186-
../../../bin/phpstan analyse
186+
composer run lint:phpstan
187187
188188
workflows:
189189
version: 2

Classes/Fusion/ExceptionHandler/PageExceptionHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class PageExceptionHandler extends AbstractRenderingExceptionHandler
5353
*
5454
* @param string $fusionPath path causing the exception
5555
* @param \Exception $exception exception to handle
56-
* @param integer $referenceCode
56+
* @param string|null $referenceCode
5757
* @return string
5858
* @throws \Neos\Flow\Mvc\Exception\StopActionException
5959
* @throws \Neos\Flow\Security\Exception

composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
"neos/neos": "^9.0.0 || 9.0.x-dev",
1010
"neos/neos-ui-compiled": "self.version"
1111
},
12+
"scripts": {
13+
"lint:phpstan": "../../../bin/phpstan analyse"
14+
},
1215
"autoload": {
1316
"psr-4": {
1417
"Neos\\Neos\\Ui\\": "Classes"
File renamed without changes.

0 commit comments

Comments
 (0)