Skip to content

Fix phpstan/phpstan#8744: Fix deprecated string interpolation syntax #26402

Fix phpstan/phpstan#8744: Fix deprecated string interpolation syntax

Fix phpstan/phpstan#8744: Fix deprecated string interpolation syntax #26402

Triggered via pull request February 25, 2026 09:15
Status Failure
Total duration 4m 27s
Artifacts 3

static-analysis.yml

on: pull_request
Generate baseline
1m 42s
Generate baseline
Generate PHP baseline
1m 45s
Generate PHP baseline
Matrix: PHPStan with result cache
Matrix: PHPStan
Fit to window
Zoom out
Zoom in

Annotations

60 errors and 8 warnings
PHPStan with result cache (8.2)
Process completed with exit code 2.
PHPStan with result cache (8.2): src/Rules/String/InterpolatedStringRule.php#L41
Only booleans are allowed in a negated boolean, mixed given.
PHPStan with result cache (8.2): src/Parser/TokenAwareVisitor.php#L18
Method PHPStan\Parser\TokenAwareVisitor::setTokens() has no return type specified.
PHPStan (8.2, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.2, ubuntu-latest): src/Rules/String/InterpolatedStringRule.php#L41
Only booleans are allowed in a negated boolean, mixed given.
PHPStan (8.2, ubuntu-latest): src/Parser/TokenAwareVisitor.php#L18
Method PHPStan\Parser\TokenAwareVisitor::setTokens() has no return type specified.
PHPStan with result cache (8.3)
Process completed with exit code 2.
PHPStan with result cache (8.3): src/Rules/String/InterpolatedStringRule.php#L41
Only booleans are allowed in a negated boolean, mixed given.
PHPStan with result cache (8.3): src/Parser/TokenAwareVisitor.php#L18
Method PHPStan\Parser\TokenAwareVisitor::setTokens() has no return type specified.
PHPStan (8.3, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.3, ubuntu-latest): src/Rules/String/InterpolatedStringRule.php#L41
Only booleans are allowed in a negated boolean, mixed given.
PHPStan (8.3, ubuntu-latest): src/Parser/TokenAwareVisitor.php#L18
Method PHPStan\Parser\TokenAwareVisitor::setTokens() has no return type specified.
PHPStan (8.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.4, ubuntu-latest): src/Rules/String/InterpolatedStringRule.php#L41
Only booleans are allowed in a negated boolean, mixed given.
PHPStan (8.4, ubuntu-latest): src/Parser/TokenAwareVisitor.php#L18
Method PHPStan\Parser\TokenAwareVisitor::setTokens() has no return type specified.
PHPStan with result cache (8.5)
Process completed with exit code 2.
PHPStan with result cache (8.5): src/Rules/String/InterpolatedStringRule.php#L41
Only booleans are allowed in a negated boolean, mixed given.
PHPStan with result cache (8.5): src/Parser/TokenAwareVisitor.php#L18
Method PHPStan\Parser\TokenAwareVisitor::setTokens() has no return type specified.
Generate baseline
Process completed with exit code 1.
PHPStan (8.5, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.5, ubuntu-latest): src/Rules/String/InterpolatedStringRule.php#L41
Only booleans are allowed in a negated boolean, mixed given.
PHPStan (8.5, ubuntu-latest): src/Parser/TokenAwareVisitor.php#L18
Method PHPStan\Parser\TokenAwareVisitor::setTokens() has no return type specified.
PHPStan with result cache (8.4)
Process completed with exit code 2.
PHPStan with result cache (8.4): src/Rules/String/InterpolatedStringRule.php#L41
Only booleans are allowed in a negated boolean, mixed given.
PHPStan with result cache (8.4): src/Parser/TokenAwareVisitor.php#L18
Method PHPStan\Parser\TokenAwareVisitor::setTokens() has no return type specified.
PHPStan (8.1, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.1, ubuntu-latest): src/Rules/String/InterpolatedStringRule.php#L41
Only booleans are allowed in a negated boolean, mixed given.
PHPStan (8.1, ubuntu-latest): src/Parser/TokenAwareVisitor.php#L18
Method PHPStan\Parser\TokenAwareVisitor::setTokens() has no return type specified.
PHPStan (8.0, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.0, ubuntu-latest): src/Rules/String/InterpolatedStringRule.php#L41
Only booleans are allowed in a negated boolean, mixed given.
PHPStan (8.0, ubuntu-latest): src/Parser/TokenAwareVisitor.php#L18
Method PHPStan\Parser\TokenAwareVisitor::setTokens() has no return type specified.
PHPStan (7.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (7.4, ubuntu-latest): src/Rules/String/InterpolatedStringRule.php#L40
Only booleans are allowed in a negated boolean, mixed given.
PHPStan (7.4, ubuntu-latest): src/Parser/TokenAwareVisitor.php#L18
Method PHPStan\Parser\TokenAwareVisitor::setTokens() has no return type specified.
PHPStan (7.4, ubuntu-latest): src/Parser/DeprecatedInterpolatedStringVisitor.php#L45
Call to method __toString() of internal class Symfony\Polyfill\Php80\PhpToken from outside its root namespace Symfony.
PHPStan (8.4, windows-latest)
Process completed with exit code 1.
PHPStan (8.4, windows-latest): src/Rules/String/InterpolatedStringRule.php#L41
Only booleans are allowed in a negated boolean, mixed given.
PHPStan (8.4, windows-latest): src/Parser/TokenAwareVisitor.php#L18
Method PHPStan\Parser\TokenAwareVisitor::setTokens() has no return type specified.
PHPStan (8.5, windows-latest)
Process completed with exit code 1.
PHPStan (8.5, windows-latest): src/Rules/String/InterpolatedStringRule.php#L41
Only booleans are allowed in a negated boolean, mixed given.
PHPStan (8.5, windows-latest): src/Parser/TokenAwareVisitor.php#L18
Method PHPStan\Parser\TokenAwareVisitor::setTokens() has no return type specified.
PHPStan (8.3, windows-latest)
Process completed with exit code 1.
PHPStan (8.3, windows-latest): src/Rules/String/InterpolatedStringRule.php#L41
Only booleans are allowed in a negated boolean, mixed given.
PHPStan (8.3, windows-latest): src/Parser/TokenAwareVisitor.php#L18
Method PHPStan\Parser\TokenAwareVisitor::setTokens() has no return type specified.
PHPStan (8.2, windows-latest)
Process completed with exit code 1.
PHPStan (8.2, windows-latest): src/Rules/String/InterpolatedStringRule.php#L41
Only booleans are allowed in a negated boolean, mixed given.
PHPStan (8.2, windows-latest): src/Parser/TokenAwareVisitor.php#L18
Method PHPStan\Parser\TokenAwareVisitor::setTokens() has no return type specified.
PHPStan (8.0, windows-latest)
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
PHPStan (8.0, windows-latest)
Process completed with exit code 1.
PHPStan (8.0, windows-latest): src/Rules/String/InterpolatedStringRule.php#L41
Only booleans are allowed in a negated boolean, mixed given.
PHPStan (8.0, windows-latest): src/Parser/TokenAwareVisitor.php#L18
Method PHPStan\Parser\TokenAwareVisitor::setTokens() has no return type specified.
PHPStan (7.4, windows-latest)
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
PHPStan (7.4, windows-latest)
Process completed with exit code 1.
PHPStan (7.4, windows-latest): src/Rules/String/InterpolatedStringRule.php#L40
Only booleans are allowed in a negated boolean, mixed given.
PHPStan (7.4, windows-latest): src/Parser/TokenAwareVisitor.php#L18
Method PHPStan\Parser\TokenAwareVisitor::setTokens() has no return type specified.
PHPStan (7.4, windows-latest): src/Parser/DeprecatedInterpolatedStringVisitor.php#L45
Call to method __toString() of internal class Symfony\Polyfill\Php80\PhpToken from outside its root namespace Symfony.
PHPStan (8.1, windows-latest)
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
PHPStan (8.1, windows-latest)
Process completed with exit code 1.
PHPStan (8.1, windows-latest): src/Rules/String/InterpolatedStringRule.php#L41
Only booleans are allowed in a negated boolean, mixed given.
PHPStan (8.1, windows-latest): src/Parser/TokenAwareVisitor.php#L18
Method PHPStan\Parser\TokenAwareVisitor::setTokens() has no return type specified.
PHPStan (8.2, ubuntu-latest)
No files were found with the provided path: baseline-php-8.2.neon. No artifacts will be uploaded.
PHPStan (8.3, ubuntu-latest)
No files were found with the provided path: baseline-php-8.3.neon. No artifacts will be uploaded.
PHPStan (8.4, ubuntu-latest)
No files were found with the provided path: baseline-php-8.4.neon. No artifacts will be uploaded.
PHPStan (8.5, ubuntu-latest)
No files were found with the provided path: baseline-php-8.5.neon. No artifacts will be uploaded.
PHPStan (8.4, windows-latest)
No files were found with the provided path: baseline-php-8.4.neon. No artifacts will be uploaded.
PHPStan (8.5, windows-latest)
No files were found with the provided path: baseline-php-8.5.neon. No artifacts will be uploaded.
PHPStan (8.3, windows-latest)
No files were found with the provided path: baseline-php-8.3.neon. No artifacts will be uploaded.
PHPStan (8.2, windows-latest)
No files were found with the provided path: baseline-php-8.2.neon. No artifacts will be uploaded.

Artifacts

Produced during runtime
Name Size Digest
baseline-7.4
489 Bytes
sha256:475e12689a0bfaf60784ae90dbde2794bbf17ca73bc707348b5cd582b93d2dea
baseline-8.0
393 Bytes
sha256:3bae83037cd7e8313e81b8f32edc2032419c6ed0ea6dc291ff451ce78c1f968c
baseline-8.1
393 Bytes
sha256:f63d3194ecf7c1eb1caa84d1fd68554b05f6c8587e8a972ff9b284e51cfbde42