Refactor whole plugin #38
Annotations
6 errors and 1 warning
PHP-Stan:
src/ComposerJson.php#L64
Method MartinsR\ComposerConstraintUpdater\ComposerJson::packages() return type has no value type specified in iterable type array.
|
PHP-Stan:
src/MajorConstraintUpdaterCommand.php#L64
Parameter #3 $composerUpdater of method MartinsR\ComposerConstraintUpdater\MajorConstraintUpdater::executeUpdate() expects MartinsR\ComposerConstraintUpdater\ComposerUpdater, MartinsR\ComposerConstraintUpdater\ComposerUpdater|null given.
|
PHP-Stan:
src/MinorConstraintUpdaterCommand.php#L59
Parameter #3 $composerUpdater of method MartinsR\ComposerConstraintUpdater\MinorConstraintUpdater::executeUpdate() expects MartinsR\ComposerConstraintUpdater\ComposerUpdater, MartinsR\ComposerConstraintUpdater\ComposerUpdater|null given.
|
PHP-Stan:
tests/unit/UnitTestCase.php#L59
Method MartinsR\ComposerConstraintUpdater\Tests\Unit\UnitTestCase::composerJsonPath() has no return type specified.
|
PHP-Stan:
tests/unit/UnitTestCase.php#L64
Method MartinsR\ComposerConstraintUpdater\Tests\Unit\UnitTestCase::composerLockPath() has no return type specified.
|
PHP-Stan
Process completed with exit code 1.
|
PHP-Stan
The following actions uses node12 which is deprecated and will be forced to run on node16: shivammathur/setup-php@15c43e89cdef867065b0213be354c2841860869e. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|