Skip to content

fix: fix errors on upgrade

Codacy Production / Codacy Static Code Analysis required action Oct 16, 2024 in 0s

4 new issues (0 max.) of at least minor severity.

Codacy Here is an overview of what got changed by this pull request:

Issues
======
- Added 4
           

Complexity decreasing per file
==============================
+ src/Database/CreateAuditTableDatabaseMigration.php  -1
+ src/Database/CreateOrderShipmentTableDatabaseMigration.php  -1
         

See the complete overview on Codacy

Annotations

Check notice on line 206 in myparcelnl.php

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

myparcelnl.php#L206

Avoid using undefined variables such as '::$modules_cache' which will lead to PHP notices.

Check warning on line 206 in myparcelnl.php

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

myparcelnl.php#L206

The variable $modules_cache is not named in camelCase.

Check warning on line 95 in tests/Mock/MockPsModule.php

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

tests/Mock/MockPsModule.php#L95

Avoid unused parameters such as '$module_name'.

Check notice on line 95 in tests/Mock/MockPsModule.php

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

tests/Mock/MockPsModule.php#L95

The parameter $module_name is not named in camelCase.