feat(upgrade): add upgrade package #2520
coding-conventions.yml
on: pull_request
Run style check
32s
Run static analysis: PHPStan
36s
Annotations
4 errors and 1 warning
|
Run style check
Process completed with exit code 1.
|
|
security/no-literal-password:
packages/upgrade/src/tempest2.php#L46
Literal passwords or sensitive data should not be stored in code.
Help: Use environment variables or secure configuration management instead.
|
|
reflection:
packages/upgrade/tests/Tempest2/Fixtures/MigrateUpMigration.input.php#L9
Class `Tempest\Upgrade\Tests\Tempest2\Fixtures\MigrateUpMigration` implements undefined interface `Tempest\Database\DatabaseMigration`.
Help: Ensure the interface `Tempest\Database\DatabaseMigration` is defined or imported before implementing it.
|
|
reflection:
packages/upgrade/tests/Tempest2/Fixtures/MigrateUpAndDownMigration.input.php#L10
Class `Tempest\Upgrade\Tests\Tempest2\Fixtures\MigrateUpAndDownMigration` implements undefined interface `Tempest\Database\DatabaseMigration`.
Help: Ensure the interface `Tempest\Database\DatabaseMigration` is defined or imported before implementing it.
|
|
strictness/require-return-type:
packages/upgrade/tests/Tempest2/Fixtures/Model.input.php#L9
Method `test` is missing a return type hint.
Type hints improve code readability and help prevent type-related errors.
Help: Consider adding a return type hint to method `test`.
|