AP-86 Add job for linting files #15
17 new problems found by Qodana for PHP
Qodana for PHP
17 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Missing strict types declaration |
🔴 Failure | 1 |
Line is longer than allowed by code style |
🔶 Warning | 5 |
Class path doesn't match project structure |
🔶 Warning | 3 |
Inconsistent line separators |
🔶 Warning | 1 |
Missing return type declaration |
🔶 Warning | 1 |
Phar-incompatible 'realpath(...)' usage |
🔶 Warning | 1 |
Fully qualified name usage |
◽️ Notice | 1 |
Unhandled exception |
◽️ Notice | 1 |
Unused local variable |
◽️ Notice | 1 |
Unused parameter |
◽️ Notice | 1 |
Return type hint can be used |
◽️ Notice | 1 |
💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report
Contact Qodana team
Contact us at [email protected]
- Or via our issue tracker: https://jb.gg/qodana-issue
- Or share your feedback: https://jb.gg/qodana-discussions
Details
This result was published with Qodana GitHub Action
Annotations
Check warning on line 1 in assets/js/assets/api/docs.jsonopenapi.json
github-actions / Qodana for PHP
Inconsistent line separators
Line separators in the current file (\\r\\n) differ from the project defaults (\\n)
Check warning on line 1673 in assets/js/assets/api/docs.jsonopenapi.json
github-actions / Qodana for PHP
Line is longer than allowed by code style
Line is longer than allowed by code style (\> 120 columns)
Check warning on line 1342 in assets/js/assets/api/docs.jsonopenapi.json
github-actions / Qodana for PHP
Line is longer than allowed by code style
Line is longer than allowed by code style (\> 120 columns)
Check warning on line 29 in assets/js/app/store/index.ts
github-actions / Qodana for PHP
Line is longer than allowed by code style
Line is longer than allowed by code style (\> 120 columns)
Check warning on line 1500 in assets/js/assets/api/docs.jsonopenapi.json
github-actions / Qodana for PHP
Line is longer than allowed by code style
Line is longer than allowed by code style (\> 120 columns)
Check warning on line 1198 in assets/js/assets/api/docs.jsonopenapi.json
github-actions / Qodana for PHP
Line is longer than allowed by code style
Line is longer than allowed by code style (\> 120 columns)
Check notice on line 23 in src/PimcoreStudioUiBundle.php
github-actions / Qodana for PHP
Fully qualified name usage
Qualifier can be replaced with an import
Check warning on line 14 in src/Controller/DefaultController.php
github-actions / Qodana for PHP
Class path doesn't match project structure
Namespace name doesn't match the PSR-0/PSR-4 project structure
Check warning on line 15 in src/PimcoreStudioUiBundle.php
github-actions / Qodana for PHP
Class path doesn't match project structure
Namespace name doesn't match the PSR-0/PSR-4 project structure
Check warning on line 13 in src/DependencyInjection/PimcoreStudioUiExtension.php
github-actions / Qodana for PHP
Class path doesn't match project structure
Namespace name doesn't match the PSR-0/PSR-4 project structure
Check warning on line 40 in src/DependencyInjection/PimcoreStudioUiExtension.php
github-actions / Qodana for PHP
Missing return type declaration
Missing function's return type declaration
Check failure on line 1 in src/DependencyInjection/PimcoreStudioUiExtension.php
github-actions / Qodana for PHP
Missing strict types declaration
Strict types declaration is missing
Check notice on line 37 in src/DependencyInjection/PimcoreStudioUiExtension.php
github-actions / Qodana for PHP
Unhandled exception
Unhandled exceptions
Check notice on line 34 in src/DependencyInjection/PimcoreStudioUiExtension.php
github-actions / Qodana for PHP
Unused local variable
Unused local variable 'config'. The value of the variable is not used anywhere.
Check notice on line 26 in src/Controller/DefaultController.php
github-actions / Qodana for PHP
Unused parameter
Unused parameter 'request'. The parameter's value is not used anywhere.
Check warning on line 43 in src/DependencyInjection/PimcoreStudioUiExtension.php
github-actions / Qodana for PHP
Phar-incompatible 'realpath(...)' usage
\[EA\] 'dirname(dirname(__DIR__)) . '/public/build'' should be used instead (due to how realpath handles streams).
Check notice on line 40 in src/DependencyInjection/PimcoreStudioUiExtension.php
github-actions / Qodana for PHP
Return type hint can be used
\[EA\] ': void' can be declared as return type hint (please use change signature intention to fix this).