feat: Add PHP 8.4 support #167
Annotations
10 errors and 1 warning
Run coding standards check:
src/BasicAuth.php#L36
src/BasicAuth.php:36:11: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
Run coding standards check:
src/Exception/Exception.php#L26
src/Exception/Exception.php:26:7: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
Run coding standards check:
src/Exception/InvalidRequestException.php#L15
src/Exception/InvalidRequestException.php:15:37: ParamNameMismatch: Argument 1 of Icewind\SMB\Exception\InvalidRequestException::__construct has wrong name $path, expecting $message as defined by Icewind\SMB\Exception\Exception::__construct (see https://psalm.dev/230)
|
Run coding standards check:
src/KerberosTicket.php#L50
src/KerberosTicket.php:50:7: RiskyTruthyFalsyComparison: Operand of type false|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
Run coding standards check:
src/Native/NativeFileInfo.php#L132
src/Native/NativeFileInfo.php:132:16: PossiblyUndefinedArrayOffset: Possibly undefined array key (see https://psalm.dev/167)
|
Run coding standards check:
src/Native/NativeState.php#L325
src/Native/NativeState.php:325:7: 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)
|
Run coding standards check:
src/Native/NativeState.php#L332
src/Native/NativeState.php:332:7: TypeDoesNotContainType: Type false|int for $result is never false (see https://psalm.dev/056)
|
Run coding standards check:
src/TimeZoneProvider.php#L26
src/TimeZoneProvider.php:26:37: InvalidReturnType: The declared return type 'string' for Icewind\SMB\TimeZoneProvider::get is incorrect, got 'false|string' (see https://psalm.dev/011)
|
Run coding standards check:
src/TimeZoneProvider.php#L31
src/TimeZoneProvider.php:31:8: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
Run coding standards check:
src/TimeZoneProvider.php#L40
src/TimeZoneProvider.php:40:8: RiskyTruthyFalsyComparison: Operand of type false|null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading