Codacy Production / Codacy Static Code Analysis
required action
Jun 27, 2024 in 0s
1 new issue (0 max.) of at least medium severity.
Here is an overview of what got changed by this pull request:
Issues
======
+ Solved 2
- Added 5
Complexity decreasing per file
==============================
+ Classes/Common/MetsDocument.php -2
See the complete overview on Codacy
Annotations
Check warning on line 308 in Classes/Common/MetsDocument.php
codacy-production / Codacy Static Code Analysis
Classes/Common/MetsDocument.php#L308
The method getLogicalStructureInfo() has a Cyclomatic Complexity of 21. The configured cyclomatic complexity threshold is 16.
Check notice on line 1209 in Classes/Common/MetsDocument.php
codacy-production / Codacy Static Code Analysis
Classes/Common/MetsDocument.php#L1209
Whitespace found at end of line
Check notice on line 1237 in Classes/Common/MetsDocument.php
codacy-production / Codacy Static Code Analysis
Classes/Common/MetsDocument.php#L1237
Space found before square bracket; expected "$fileId]" but found "$fileId ]"
Check notice on line 1271 in Classes/Common/MetsDocument.php
codacy-production / Codacy Static Code Analysis
Classes/Common/MetsDocument.php#L1271
Avoid using undefined variables such as '$fileUse' which will lead to PHP notices.
Check notice on line 1272 in Classes/Common/MetsDocument.php
codacy-production / Codacy Static Code Analysis
Classes/Common/MetsDocument.php#L1272
Avoid using undefined variables such as '$fileUse' which will lead to PHP notices.
Loading