Browse Source

finalize phpstan configuration

Olivier Massot 3 years ago
parent
commit
4ebe06ae6c
3 changed files with 2 additions and 3 deletions
  1. 1 1
      composer.json
  2. 0 1
      phpstan.neon
  3. 1 1
      src/Service/Utils/Uuid.php

+ 1 - 1
composer.json

@@ -66,7 +66,7 @@
     "require-dev": {
         "cyclonedx/cyclonedx-php-composer": "^3.4",
         "phpstan/phpstan": "^1.9",
-        "rector/rector": "^0.12",
+        "rector/rector": "^0.14",
         "symfony/debug-bundle": "5.4.*",
         "symfony/maker-bundle": "^1.21",
         "symfony/phpunit-bridge": "^5.4",

+ 0 - 1
phpstan.neon

@@ -3,4 +3,3 @@ parameters:
 	level: 5
 	paths:
 		- src
-		- tests

+ 1 - 1
src/Service/Utils/Uuid.php

@@ -7,7 +7,7 @@ class Uuid
     /**
      * Generates an UUID v4
      *
-     * @var ?int $length To limit the length of the uuid (standard uuid count 36 cars). Warning: reducing
+     * @param ?int $length To limit the length of the uuid (standard uuid count 36 cars). Warning: reducing
      *                   the number of characters breaks the warranty of global unity.
      * @return string
      */