Skip to content

Commit

Permalink
Merge pull request #3710 from neos/task/fixPhpStanAndAddComoserScript
Browse files Browse the repository at this point in the history
TASK: Fix phpstan error and add `composer run lint:phpstan`
  • Loading branch information
mhsdesign authored Feb 5, 2024
2 parents fe34d3c + 7675584 commit c90d89e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ jobs:
- run: cd /home/circleci/app/Packages/Application && mv ~/neos-ui-workspace Neos.Neos.Ui
- run: |
cd /home/circleci/app/Packages/Application/Neos.Neos.Ui
../../../bin/phpstan analyse
composer run lint:phpstan
workflows:
version: 2
Expand Down
2 changes: 1 addition & 1 deletion Classes/Fusion/ExceptionHandler/PageExceptionHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class PageExceptionHandler extends AbstractRenderingExceptionHandler
*
* @param string $fusionPath path causing the exception
* @param \Exception $exception exception to handle
* @param integer $referenceCode
* @param string|null $referenceCode
* @return string
* @throws \Neos\Flow\Mvc\Exception\StopActionException
* @throws \Neos\Flow\Security\Exception
Expand Down
3 changes: 3 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
"neos/neos": "^9.0.0 || 9.0.x-dev",
"neos/neos-ui-compiled": "self.version"
},
"scripts": {
"lint:phpstan": "../../../bin/phpstan analyse"
},
"autoload": {
"psr-4": {
"Neos\\Neos\\Ui\\": "Classes"
Expand Down
File renamed without changes.

0 comments on commit c90d89e

Please sign in to comment.