You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| <spanclass="prio3">3</span> | src/Command/CreateClassCommand.php |184|[UnusedLocalVariable](https://phpmd.org/rules/unusedcode.html#unusedlocalvariable)| Avoid unused local variables such as `$isEnumType`. |
11
+
| <spanclass="prio3">3</span> | src/Command/CreateClassCommand.php |291|[UnusedFormalParameter](https://phpmd.org/rules/unusedcode.html#unusedformalparameter)| Avoid unused parameters such as `$type`. |
12
12
| <spanclass="prio3">3</span> | src/Command/WatchCommand.php | 35 |[UnusedPrivateField](https://phpmd.org/rules/unusedcode.html#unusedprivatefield)| Avoid unused private fields such as `$data`. |
13
13
| <spanclass="prio3">3</span> | src/Command/WatchCommand.php | 215 |[UnusedPrivateMethod](https://phpmd.org/rules/unusedcode.html#unusedprivatemethod)| Avoid unused private methods such as `parseFile`. |
14
14
| <spanclass="prio3">3</span> | src/Command/WatchCommand.php | 215 |[UnusedFormalParameter](https://phpmd.org/rules/unusedcode.html#unusedformalparameter)| Avoid unused parameters such as `$generator`. |
| <spanclass="prio3">3</span> | src/Command/CreateClassCommand.php | 21 |[ExcessiveClassComplexity](https://phpmd.org/rules/codesize.html#excessiveclasscomplexity)| The class CreateClassCommand has an overall complexity of 57 which is very high. The configured complexity threshold is 50. |
26
+
| <spanclass="prio3">3</span> | src/Command/CreateClassCommand.php | 21 |[ExcessiveClassComplexity](https://phpmd.org/rules/codesize.html#excessiveclasscomplexity)| The class CreateClassCommand has an overall complexity of 69 which is very high. The configured complexity threshold is 50. |
27
27
| <spanclass="prio3">3</span> | src/Command/CreateEnumCommand.php | 28 |[CyclomaticComplexity](https://phpmd.org/rules/codesize.html#cyclomaticcomplexity)| The method __invoke() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10. |
28
28
| <spanclass="prio3">3</span> | src/Command/WatchCommand.php | 51 |[CyclomaticComplexity](https://phpmd.org/rules/codesize.html#cyclomaticcomplexity)| The method __invoke() has a Cyclomatic Complexity of 14. The configured cyclomatic complexity threshold is 10. |
29
29
| <spanclass="prio3">3</span> | src/Command/WatchCommand.php | 51 |[NPathComplexity](https://phpmd.org/rules/codesize.html#npathcomplexity)| The method __invoke() has an NPath complexity of 768. The configured NPath complexity threshold is 200. |
| <spanclass="prio1">1</span> | src/Command/CreateClassCommand.php |36|[StaticAccess](https://phpmd.org/rules/cleancode.html#staticaccess)| Avoid using static access to class `\Symfony\Component\Yaml\Yaml` in method `__invoke`. |
48
-
| <spanclass="prio1">1</span> | src/Command/CreateClassCommand.php |257|[ElseExpression](https://phpmd.org/rules/cleancode.html#elseexpression)| The method getMethods uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. |
49
-
| <spanclass="prio1">1</span> | src/Command/CreateClassCommand.php |362|[ElseExpression](https://phpmd.org/rules/cleancode.html#elseexpression)|The method getAttributeComment uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. |
50
-
| <spanclass="prio1">1</span> | src/Command/CreateClassCommand.php |424|[StaticAccess](https://phpmd.org/rules/cleancode.html#staticaccess)|Avoid using static access to class `\Html\Helper\Helper` in method `getClassName`. |
47
+
| <spanclass="prio1">1</span> | src/Command/CreateClassCommand.php |91|[StaticAccess](https://phpmd.org/rules/cleancode.html#staticaccess)| Avoid using static access to class `\Symfony\Component\Yaml\Yaml` in method `loadHtmlDefinitions`. |
48
+
| <spanclass="prio1">1</span> | src/Command/CreateClassCommand.php |397|[ElseExpression](https://phpmd.org/rules/cleancode.html#elseexpression)| The method processEnumAttribute uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. |
49
+
| <spanclass="prio1">1</span> | src/Command/CreateClassCommand.php |456|[StaticAccess](https://phpmd.org/rules/cleancode.html#staticaccess)|Avoid using static access to class `\Html\Helper\Helper` in method `getClassName`. |
50
+
| <spanclass="prio1">1</span> | src/Command/CreateClassCommand.php |482|[ElseExpression](https://phpmd.org/rules/cleancode.html#elseexpression)|The method getAttributeComment uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. |
51
51
| <spanclass="prio1">1</span> | src/Command/CreateEnumCommand.php | 38 |[StaticAccess](https://phpmd.org/rules/cleancode.html#staticaccess)| Avoid using static access to class `\Symfony\Component\Yaml\Yaml` in method `__invoke`. |
52
52
| <spanclass="prio1">1</span> | src/Command/CreateJsonCommand.php | 31 |[StaticAccess](https://phpmd.org/rules/cleancode.html#staticaccess)| Avoid using static access to class `\Symfony\Component\Yaml\Yaml` in method `__invoke`. |
53
53
| <spanclass="prio1">1</span> | src/Command/WatchCommand.php | 55 |[BooleanArgumentFlag](https://phpmd.org/rules/cleancode.html#booleanargumentflag)| The method __invoke has a boolean flag argument $overwriteExisting, which is a certain sign of a Single Responsibility Principle violation. |
0 commit comments