Skip to content

Commit

Permalink
Fix style & PHPStan
Browse files Browse the repository at this point in the history
  • Loading branch information
lcharette committed Sep 16, 2023
1 parent 98311f3 commit 45c3203
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
5 changes: 3 additions & 2 deletions app/src/Controller/AppController.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,9 @@ public function api(Response $response): Response
/**
* Return true if user is logged in, false otherwise.
*
* @param Response $response
* @param Authenticator $authenticator
* @param Response $response
* @param Authenticator $authenticator
*
* @return Response
*/
public function authCheck(Response $response, Authenticator $authenticator): Response
Expand Down
2 changes: 2 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.0",
"phpstan/phpstan": "^1.1",
"phpstan/phpstan-mockery": "^1.0",
"phpstan/phpstan-phpunit": "^1.0",
"mockery/mockery": "^1.2",
"phpunit/phpunit": "^9.5",
"fakerphp/faker": "^1.17"
Expand Down
5 changes: 5 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
parameters:
level: 8
includes:
- vendor/phpstan/phpstan-mockery/extension.neon
- vendor/phpstan/phpstan-phpunit/extension.neon
2 changes: 0 additions & 2 deletions phpstan.neon.dist

This file was deleted.

0 comments on commit 45c3203

Please sign in to comment.