general logic for creating package.zip #7
Annotations
10 errors and 1 warning
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)
|
src/Action.php#L38
src/Action.php:38:15: MixedArgument: Argument 1 of mkdir cannot be mixed, expecting string (see https://psalm.dev/030)
|
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)
|
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)
|
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)
|
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)
|
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)
|
src/Action.php#L57
src/Action.php:57:53: PossiblyInvalidCast: array<array-key, string> cannot be cast to string (see https://psalm.dev/190)
|
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)
|
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)
|
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/.
|
This job failed
Loading