Skip to content

fix: clean up entry file and remove created upgrade file after upgrading

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

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

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

Issues
======
- Added 6
           

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 124 in src/Hooks/HasModuleUpgradeOverrides.php

See this annotation in the file changed.

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

src/Hooks/HasModuleUpgradeOverrides.php#L124

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

Check warning on line 124 in src/Hooks/HasModuleUpgradeOverrides.php

See this annotation in the file changed.

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

src/Hooks/HasModuleUpgradeOverrides.php#L124

The variable $modules_cache is not named in camelCase.

Check notice on line 137 in src/Hooks/HasModuleUpgradeOverrides.php

See this annotation in the file changed.

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

src/Hooks/HasModuleUpgradeOverrides.php#L137

Expected 1 newline at end of file; 0 found

Check notice on line 137 in src/Hooks/HasModuleUpgradeOverrides.php

See this annotation in the file changed.

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

src/Hooks/HasModuleUpgradeOverrides.php#L137

File must end with a newline character

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.