fix error ext-zip not use in tests #9
tests.yml
on: push
docker-build
19s
Matrix: composer-normalize
Matrix: composer-unused
Matrix: composer-validate
Matrix: phpunit
Matrix: psalm
Matrix: rector
Annotations
10 errors and 5 warnings
MixedArgument:
src/Action.php#L32
src/Action.php:32:20: MixedArgument: Argument 1 of is_dir cannot be mixed, expecting string (see https://psalm.dev/030)
|
MixedArgument:
src/Action.php#L38
src/Action.php:38:15: MixedArgument: Argument 1 of mkdir cannot be mixed, expecting string (see https://psalm.dev/030)
|
RiskyTruthyFalsyComparison:
src/Action.php#L41
src/Action.php:41:13: RiskyTruthyFalsyComparison: Operand of type bool|int contains type int, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
MixedArgument:
src/Action.php#L41
src/Action.php:41:25: MixedArgument: Argument 1 of ZipArchive::open cannot be mixed, expecting string (see https://psalm.dev/030)
|
MixedMethodCall:
src/Action.php#L56
src/Action.php:56:24: MixedMethodCall: Cannot determine the type of $path when calling method isFile (see https://psalm.dev/015)
|
MixedArgument:
src/Action.php#L57
src/Action.php:57:31: MixedArgument: Argument 1 of ZipArchive::addFile cannot be mixed, expecting string (see https://psalm.dev/030)
|
MixedMethodCall:
src/Action.php#L57
src/Action.php:57:38: MixedMethodCall: Cannot determine the type of $path when calling method getPathname (see https://psalm.dev/015)
|
PossiblyInvalidCast:
src/Action.php#L57
src/Action.php:57:53: PossiblyInvalidCast: array<array-key, string> cannot be cast to string (see https://psalm.dev/190)
|
PossiblyInvalidArgument:
src/Action.php#L57
src/Action.php:57:53: PossiblyInvalidArgument: Argument 2 of ZipArchive::addFile expects string, but possibly different type array<array-key, string>|string provided (see https://psalm.dev/092)
|
MixedArgument:
src/Action.php#L57
src/Action.php:57:107: MixedArgument: Argument 3 of str_replace cannot be mixed, expecting array<array-key, float|int|string>|string (see https://psalm.dev/030)
|
composer-unused (8.3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
rector (8.3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
composer-normalize (8.3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
phpunit (8.3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
psalm (8.3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|