v0.5.0 #43
v0.5.0 #43
9 new issues (0 max.) of at least minor severity.
Here is an overview of what got changed by this pull request:
Issues
======
+ Solved 4
- Added 9
Coverage increased per file
===========================
+ src/EduFramework/Core/Service/DatabaseMysql.php 100.0
+ src/EduFramework/Core/Service/DatabaseService.php 50.0
Complexity increasing per file
==============================
- src/EduFramework/Core/Controller/Error/HttpErrorDefaultController.php 1
- src/EduFramework/Core/View/StudooDebugExtension.php 1
- app/Controller/DataBaseTestController.php 1
See the complete overview on Codacy
Annotations
Check failure on line 59 in src/EduFramework/Core/ConfigCore.php
codacy-production / Codacy Static Code Analysis
src/EduFramework/Core/ConfigCore.php#L59
Direct use of $_ENV Superglobal detected.
Check notice on line 30 in src/EduFramework/Core/Service/DatabaseMysql.php
codacy-production / Codacy Static Code Analysis
src/EduFramework/Core/Service/DatabaseMysql.php#L30
Array key not aligned correctly; expected 13 spaces but found 16
Check notice on line 31 in src/EduFramework/Core/Service/DatabaseMysql.php
codacy-production / Codacy Static Code Analysis
src/EduFramework/Core/Service/DatabaseMysql.php#L31
Array double arrow not aligned correctly; expected 1 space(s) but found 3
Check notice on line 37 in src/EduFramework/Core/View/StudooDebugExtension.php
codacy-production / Codacy Static Code Analysis
src/EduFramework/Core/View/StudooDebugExtension.php#L37
Comment refers to a TODO task "Changer le style de l'affichage"
Check notice on line 39 in src/EduFramework/Core/View/StudooDebugExtension.php
codacy-production / Codacy Static Code Analysis
src/EduFramework/Core/View/StudooDebugExtension.php#L39
Avoid using short method names like StudooDebugExtension::dd(). The configured minimum method name length is 3.
Check warning on line 42 in src/EduFramework/Core/View/StudooDebugExtension.php
codacy-production / Codacy Static Code Analysis
src/EduFramework/Core/View/StudooDebugExtension.php#L42
The use of function var_dump() is discouraged
Check failure on line 45 in src/EduFramework/Core/View/StudooDebugExtension.php
codacy-production / Codacy Static Code Analysis
src/EduFramework/Core/View/StudooDebugExtension.php#L45
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 45 in src/EduFramework/Core/View/StudooDebugExtension.php
codacy-production / Codacy Static Code Analysis
src/EduFramework/Core/View/StudooDebugExtension.php#L45
Use of echo language construct is discouraged.
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 with multiple values cannot be declared on a single line