Skip to content

Bring Project and CI Up-to-date #61

Bring Project and CI Up-to-date

Bring Project and CI Up-to-date #61

Triggered via pull request March 28, 2024 14:36
Status Failure
Total duration 27s
Artifacts

static-analysis.yaml

on: pull_request
Matrix: phpstan
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
phpstan (8.3): src/Formatter/ConsistentFormatter.php#L76
Unknown PHPDoc tag: @phpstan-ignore
phpstan (8.3): src/Formatter/ConsistentFormatter.php#L77
Strict comparison using === between false and string will always evaluate to false.
phpstan (8.3): src/Formatter/NativeFormatter.php#L21
Unknown PHPDoc tag: @phpstan-ignore
phpstan (8.3): src/Formatter/NativeFormatter.php#L22
Strict comparison using === between false and string will always evaluate to false.
phpstan (8.3): tests/Formatter/ConsistentFormatterTest.php#L64
Parameter #1 $binary of method Darsyn\IP\Formatter\ProtocolFormatterInterface::ntop() expects string, mixed given.
phpstan (8.3): tests/Formatter/NativeFormatterTest.php#L64
Parameter #1 $binary of method Darsyn\IP\Formatter\ProtocolFormatterInterface::ntop() expects string, mixed given.
phpstan (8.3): tests/Strategy/CompatibleTest.php#L38
Parameter #1 $binary of method Darsyn\IP\Strategy\EmbeddingStrategyInterface::isEmbedded() expects string, mixed given.
phpstan (8.3): tests/Strategy/CompatibleTest.php#L68
Parameter #1 $binary of method Darsyn\IP\Strategy\EmbeddingStrategyInterface::extract() expects string, mixed given.
phpstan (8.3): tests/Strategy/CompatibleTest.php#L104
Parameter #1 $binary of method Darsyn\IP\Strategy\EmbeddingStrategyInterface::pack() expects string, mixed given.
phpstan (8.3): tests/Strategy/DerivedTest.php#L36
Parameter #1 $binary of method Darsyn\IP\Strategy\EmbeddingStrategyInterface::isEmbedded() expects string, mixed given.
phpstan (8.3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
phpstan (8.3)
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/