Small improvements#671
Open
DarkaOnLine wants to merge 4 commits into
Open
Codacy Production / Codacy Static Code Analysis
required action
Jun 12, 2026 in 0s
4 new issues (0 max.) of at least severity.
Here is an overview of what got changed by this pull request:
Issues
======
+ Solved 5
- Added 4
Complexity increasing per file
==============================
- src/Http/Controllers/SwaggerController.php 6
- tests/Unit/HelpersTest.php 1
- tests/Unit/RoutesTest.php 4
Complexity decreasing per file
==============================
+ src/helpers.php -1
+ src/Http/Controllers/SwaggerAssetController.php -1
See the complete overview on Codacy
Annotations
Check failure on line 37 in src/helpers.php
codacy-production / Codacy Static Code Analysis
src/helpers.php#L37
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'e'.
Check warning on line 50 in src/helpers.php
codacy-production / Codacy Static Code Analysis
src/helpers.php#L50
Filesystem function file_exists() detected with dynamic parameter
Check warning on line 50 in src/helpers.php
codacy-production / Codacy Static Code Analysis
src/helpers.php#L50
The use of function file_exists() is discouraged
Check failure on line 52 in src/helpers.php
codacy-production / Codacy Static Code Analysis
src/helpers.php#L52
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'e'.
Loading