19 new issues (0 max.) of at least minor severity.
Here is an overview of what got changed by this pull request:
Issues
======
- Added 19
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 18 in src/EduFramework/Core/View/StudooDebugExtension.php
codacy-production / Codacy Static Code Analysis
src/EduFramework/Core/View/StudooDebugExtension.php#L18
Missing doc comment for function getFunctions()
Check notice on line 21 in src/EduFramework/Core/View/StudooDebugExtension.php
codacy-production / Codacy Static Code Analysis
src/EduFramework/Core/View/StudooDebugExtension.php#L21
Array value not aligned correctly; expected 16 spaces but found 12
Check notice on line 22 in src/EduFramework/Core/View/StudooDebugExtension.php
codacy-production / Codacy Static Code Analysis
src/EduFramework/Core/View/StudooDebugExtension.php#L22
Closing parenthesis not aligned correctly; expected 15 space(s) but found 8
Check notice on line 25 in src/EduFramework/Core/View/StudooDebugExtension.php
codacy-production / Codacy Static Code Analysis
src/EduFramework/Core/View/StudooDebugExtension.php#L25
Avoid using short method names like StudooDebugExtension::dd(). The configured minimum method name length is 3.
Check notice on line 25 in src/EduFramework/Core/View/StudooDebugExtension.php
codacy-production / Codacy Static Code Analysis
src/EduFramework/Core/View/StudooDebugExtension.php#L25
Missing doc comment for function dd()
Check warning on line 28 in src/EduFramework/Core/View/StudooDebugExtension.php
codacy-production / Codacy Static Code Analysis
src/EduFramework/Core/View/StudooDebugExtension.php#L28
The use of function var_dump() is discouraged
Check failure on line 31 in src/EduFramework/Core/View/StudooDebugExtension.php
codacy-production / Codacy Static Code Analysis
src/EduFramework/Core/View/StudooDebugExtension.php#L31
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;\"><pre>{$result}</pre></div>"'.
Check failure on line 31 in src/EduFramework/Core/View/StudooDebugExtension.php
codacy-production / Codacy Static Code Analysis
src/EduFramework/Core/View/StudooDebugExtension.php#L31
Use of echo language construct is discouraged.
Check notice on line 33 in src/EduFramework/Core/View/StudooDebugExtension.php
codacy-production / Codacy Static Code Analysis
src/EduFramework/Core/View/StudooDebugExtension.php#L33
Expected 1 newline at end of file; 0 found
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