Fix cancellation not being forwarded to split #307
Annotations
20 errors and 10 warnings
PossiblyNullArgument:
src/ReadableResourceStream.php#L108
src/ReadableResourceStream.php:108:36: PossiblyNullArgument: Argument 1 of fread cannot be null, possibly null value provided (see https://psalm.dev/078)
|
PossiblyNullArgument:
src/ReadableResourceStream.php#L110
src/ReadableResourceStream.php:110:50: PossiblyNullArgument: Argument 1 of stream_get_contents cannot be null, possibly null value provided (see https://psalm.dev/078)
|
PossiblyNullArgument:
src/ReadableResourceStream.php#L121
src/ReadableResourceStream.php:121:39: PossiblyNullArgument: Argument 1 of feof cannot be null, possibly null value provided (see https://psalm.dev/078)
|
RedundantCondition:
src/WritableResourceStream.php#L154
src/WritableResourceStream.php:154:25: RedundantCondition: Type resource for $resource is always resource (see https://psalm.dev/122)
|
RedundantCondition:
src/WritableResourceStream.php#L154
src/WritableResourceStream.php:154:39: RedundantCondition: Type resource for $resource is always resource (see https://psalm.dev/122)
|
RiskyTruthyFalsyComparison:
src/WritableResourceStream.php#L210
src/WritableResourceStream.php:210:21: RiskyTruthyFalsyComparison: Operand of type int|null contains type int, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
PossiblyInvalidArgument:
src/functions.php#L16
src/functions.php:16:23: PossiblyInvalidArgument: Argument 2 of define expects array<array-key, mixed>|null|scalar, but possibly different type false|resource provided (see https://psalm.dev/092)
|
PossiblyInvalidArgument:
src/functions.php#L20
src/functions.php:20:23: PossiblyInvalidArgument: Argument 2 of define expects array<array-key, mixed>|null|scalar, but possibly different type false|resource provided (see https://psalm.dev/092)
|
PHP 8.1
Process completed with exit code 2.
|
PossiblyNullArgument:
src/ReadableResourceStream.php#L108
src/ReadableResourceStream.php:108:36: PossiblyNullArgument: Argument 1 of fread cannot be null, possibly null value provided (see https://psalm.dev/078)
|
PossiblyNullArgument:
src/ReadableResourceStream.php#L110
src/ReadableResourceStream.php:110:50: PossiblyNullArgument: Argument 1 of stream_get_contents cannot be null, possibly null value provided (see https://psalm.dev/078)
|
PossiblyNullArgument:
src/ReadableResourceStream.php#L121
src/ReadableResourceStream.php:121:39: PossiblyNullArgument: Argument 1 of feof cannot be null, possibly null value provided (see https://psalm.dev/078)
|
RedundantCondition:
src/WritableResourceStream.php#L154
src/WritableResourceStream.php:154:25: RedundantCondition: Type resource for $resource is always resource (see https://psalm.dev/122)
|
RedundantCondition:
src/WritableResourceStream.php#L154
src/WritableResourceStream.php:154:39: RedundantCondition: Type resource for $resource is always resource (see https://psalm.dev/122)
|
RiskyTruthyFalsyComparison:
src/WritableResourceStream.php#L210
src/WritableResourceStream.php:210:21: RiskyTruthyFalsyComparison: Operand of type int|null contains type int, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
PossiblyInvalidArgument:
src/functions.php#L16
src/functions.php:16:23: PossiblyInvalidArgument: Argument 2 of define expects array<array-key, mixed>|null|scalar, but possibly different type false|resource provided (see https://psalm.dev/092)
|
PossiblyInvalidArgument:
src/functions.php#L20
src/functions.php:20:23: PossiblyInvalidArgument: Argument 2 of define expects array<array-key, mixed>|null|scalar, but possibly different type false|resource provided (see https://psalm.dev/092)
|
PHP 8.2
Process completed with exit code 2.
|
PHP 8.2 on macOS
The operation was canceled.
|
PHP 8.2 on Windows
The operation was canceled.
|
PHP 8.1
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2, nick-invision/retry@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
PHP 8.1
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
PHP 8.1
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
PHP 8.2
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2, nick-invision/retry@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
PHP 8.2
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
PHP 8.2
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
PHP 8.2 on macOS
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
PHP 8.2 on macOS
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
PHP 8.2 on Windows
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
PHP 8.2 on Windows
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|