Skip to content

fix: Handle symbols dependencies #1208

fix: Handle symbols dependencies

fix: Handle symbols dependencies #1208

Triggered via pull request May 22, 2024 20:57
Status Failure
Total duration 1m 5s
Artifacts

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 3 warnings
CS
Process completed with exit code 2.
PHPStan: src/Symbol/SymbolsRegistry.php#L60
Variable $dependencies on left side of ?? always exists and is not nullable.
PHPStan: tests/Symbol/SymbolsRegistryTest.php#L354
Parameter #2 $classes of static method Humbug\PhpScoper\Symbol\SymbolsRegistry::create() expects array<array{PhpParser\Node\Name\FullyQualified|string, PhpParser\Node\Name\FullyQualified|string, array<PhpParser\Node\Name\FullyQualified|string>}>, array{array{PhpParser\Node\Name\FullyQualified, PhpParser\Node\Name\FullyQualified}} given.
PHPStan: tests/Symbol/SymbolsRegistryTest.php#L358
Parameter #2 $classes of static method Humbug\PhpScoper\Symbol\SymbolsRegistry::create() expects array<array{PhpParser\Node\Name\FullyQualified|string, PhpParser\Node\Name\FullyQualified|string, array<PhpParser\Node\Name\FullyQualified|string>}>, array{array{PhpParser\Node\Name\FullyQualified, PhpParser\Node\Name\FullyQualified}} given.
PHPStan: tests/Symbol/SymbolsRegistryTest.php#L362
Parameter #2 $classes of static method Humbug\PhpScoper\Symbol\SymbolsRegistry::create() expects array<array{PhpParser\Node\Name\FullyQualified|string, PhpParser\Node\Name\FullyQualified|string, array<PhpParser\Node\Name\FullyQualified|string>}>, array{array{PhpParser\Node\Name\FullyQualified, PhpParser\Node\Name\FullyQualified}} given.
PHPStan: tests/Symbol/SymbolsRegistryTest.php#L383
Parameter #2 $classes of static method Humbug\PhpScoper\Symbol\SymbolsRegistry::create() expects array<array{PhpParser\Node\Name\FullyQualified|string, PhpParser\Node\Name\FullyQualified|string, array<PhpParser\Node\Name\FullyQualified|string>}>, array{array{PhpParser\Node\Name\FullyQualified, PhpParser\Node\Name\FullyQualified}} given.
PHPStan
Process completed with exit code 2.
Rector
Process completed with exit code 2.
Lint Status
Process completed with exit code 1.
CS
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/.
PHPStan
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/.
Rector
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/.