17 new issues (0 max.) of at least minor severity.
Here is an overview of what got changed by this pull request:
Issues
======
- Added 17
Complexity increasing per file
==============================
- src/EduFramework/Core/View/StudooDebugExtension.php 1
- app/Controller/DataBaseTestController.php 1
See the complete overview on Codacy
Annotations
Check warning on line 23 in app/Controller/DataBaseTestController.php
codacy-production / Codacy Static Code Analysis
app/Controller/DataBaseTestController.php#L23
Avoid unused parameters such as '$request'.
Check notice on line 26 in app/Controller/DataBaseTestController.php
codacy-production / Codacy Static Code Analysis
app/Controller/DataBaseTestController.php#L26
Avoid using static access to class '\Studoo\EduFramework\Core\Service\DatabaseService' in method 'execute'.
Check notice on line 34 in app/Controller/DataBaseTestController.php
codacy-production / Codacy Static Code Analysis
app/Controller/DataBaseTestController.php#L34
Opening parenthesis of a multi-line function call must be the last content on the line
Check notice on line 36 in app/Controller/DataBaseTestController.php
codacy-production / Codacy Static Code Analysis
app/Controller/DataBaseTestController.php#L36
Array key not aligned correctly; expected 13 spaces but found 16
Check notice on line 37 in app/Controller/DataBaseTestController.php
codacy-production / Codacy Static Code Analysis
app/Controller/DataBaseTestController.php#L37
Array key not aligned correctly; expected 13 spaces but found 16
Check notice on line 29 in src/EduFramework/Core/View/StudooDebugExtension.php
codacy-production / Codacy Static Code Analysis
src/EduFramework/Core/View/StudooDebugExtension.php#L29
Array value not aligned correctly; expected 16 spaces but found 12
Check notice on line 30 in src/EduFramework/Core/View/StudooDebugExtension.php
codacy-production / Codacy Static Code Analysis
src/EduFramework/Core/View/StudooDebugExtension.php#L30
Closing parenthesis not aligned correctly; expected 15 space(s) but found 8
Check notice on line 35 in src/EduFramework/Core/View/StudooDebugExtension.php
codacy-production / Codacy Static Code Analysis
src/EduFramework/Core/View/StudooDebugExtension.php#L35
Missing parameter comment
Check notice on line 38 in src/EduFramework/Core/View/StudooDebugExtension.php
codacy-production / Codacy Static Code Analysis
src/EduFramework/Core/View/StudooDebugExtension.php#L38
Avoid using short method names like StudooDebugExtension::dd(). The configured minimum method name length is 3.
Check warning on line 41 in src/EduFramework/Core/View/StudooDebugExtension.php
codacy-production / Codacy Static Code Analysis
src/EduFramework/Core/View/StudooDebugExtension.php#L41
The use of function var_dump() is discouraged
Check failure on line 44 in src/EduFramework/Core/View/StudooDebugExtension.php
codacy-production / Codacy Static Code Analysis
src/EduFramework/Core/View/StudooDebugExtension.php#L44
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<div style=\"background-color: grey; color: white; padding: 10px; margin: 10px 0;\">
'.
Check failure on line 44 in src/EduFramework/Core/View/StudooDebugExtension.php
codacy-production / Codacy Static Code Analysis
src/EduFramework/Core/View/StudooDebugExtension.php#L44
Use of echo language construct is discouraged.
Check notice on line 38 in src/EduFramework/Core/View/TwigCore.php
codacy-production / Codacy Static Code Analysis
src/EduFramework/Core/View/TwigCore.php#L38
Opening parenthesis of a multi-line function call must be the last content on the line
Check notice on line 39 in src/EduFramework/Core/View/TwigCore.php
codacy-production / Codacy Static Code Analysis
src/EduFramework/Core/View/TwigCore.php#L39
Array key not aligned correctly; expected 48 spaces but found 12
Check notice on line 40 in src/EduFramework/Core/View/TwigCore.php
codacy-production / Codacy Static Code Analysis
src/EduFramework/Core/View/TwigCore.php#L40
Array key not aligned correctly; expected 48 spaces but found 12
Check notice on line 41 in src/EduFramework/Core/View/TwigCore.php
codacy-production / Codacy Static Code Analysis
src/EduFramework/Core/View/TwigCore.php#L41
Closing parenthesis not aligned correctly; expected 51 space(s) but found 12
Check notice on line 41 in src/EduFramework/Core/View/TwigCore.php
codacy-production / Codacy Static Code Analysis
src/EduFramework/Core/View/TwigCore.php#L41
Closing parenthesis of a multi-line function call must be on a line by itself