Skip to content

Add missing void return types #735

Add missing void return types

Add missing void return types #735

Re-run triggered May 25, 2024 08:05
Status Failure
Total duration 59s
Artifacts

main.yml

on: pull_request
PHP 7.4 Unit Tests (with coverage)
24s
PHP 7.4 Unit Tests (with coverage)
PHP 7.4 Code on PHP 8.3 Integration Tests
30s
PHP 7.4 Code on PHP 8.3 Integration Tests
PHP 8.3 Code on PHP 7.4 Integration Tests
46s
PHP 8.3 Code on PHP 7.4 Integration Tests
PHPStan
18s
PHPStan
PHP-CS-Fixer
18s
PHP-CS-Fixer
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 9 warnings
PHPStan: lib/PhpParser/NodeVisitor/NodeConnectingVisitor.php#L1
Ignored error pattern #^Method PhpParser\\NodeVisitor\\NodeConnectingVisitor\:\:beforeTraverse\(\) should return array\<PhpParser\\Node\>\|null but return statement is missing\.$# in path /home/runner/work/PHP-Parser/PHP-Parser/lib/PhpParser/NodeVisitor/NodeConnectingVisitor.php was not matched in reported errors.
PHPStan: lib/PhpParser/NodeVisitor/NodeConnectingVisitor.php#L1
Ignored error pattern #^Method PhpParser\\NodeVisitor\\NodeConnectingVisitor\:\:enterNode\(\) should return array\<PhpParser\\Node\>\|int\|PhpParser\\Node\|null but return statement is missing\.$# in path /home/runner/work/PHP-Parser/PHP-Parser/lib/PhpParser/NodeVisitor/NodeConnectingVisitor.php was not matched in reported errors.
PHPStan: lib/PhpParser/NodeVisitor/NodeConnectingVisitor.php#L1
Ignored error pattern #^Method PhpParser\\NodeVisitor\\NodeConnectingVisitor\:\:leaveNode\(\) should return array\<PhpParser\\Node\>\|int\|PhpParser\\Node\|null but return statement is missing\.$# in path /home/runner/work/PHP-Parser/PHP-Parser/lib/PhpParser/NodeVisitor/NodeConnectingVisitor.php was not matched in reported errors.
PHPStan: lib/PhpParser/NodeVisitor/NodeConnectingVisitor.php#L28
Return type (void) of method PhpParser\NodeVisitor\NodeConnectingVisitor::beforeTraverse() should be compatible with return type (array<PhpParser\Node>|null) of method PhpParser\NodeVisitor::beforeTraverse()
PHPStan: lib/PhpParser/NodeVisitor/NodeConnectingVisitor.php#L28
Return type (void) of method PhpParser\NodeVisitor\NodeConnectingVisitor::beforeTraverse() should be compatible with return type (array<PhpParser\Node>|null) of method PhpParser\NodeVisitorAbstract::beforeTraverse()
PHPStan: lib/PhpParser/NodeVisitor/NodeConnectingVisitor.php#L33
Return type (void) of method PhpParser\NodeVisitor\NodeConnectingVisitor::enterNode() should be compatible with return type (array<PhpParser\Node>|int|PhpParser\Node|null) of method PhpParser\NodeVisitor::enterNode()
PHPStan: lib/PhpParser/NodeVisitor/NodeConnectingVisitor.php#L33
Return type (void) of method PhpParser\NodeVisitor\NodeConnectingVisitor::enterNode() should be compatible with return type (array<PhpParser\Node>|int|PhpParser\Node|null) of method PhpParser\NodeVisitorAbstract::enterNode()
PHPStan: lib/PhpParser/NodeVisitor/NodeConnectingVisitor.php#L46
Return type (void) of method PhpParser\NodeVisitor\NodeConnectingVisitor::leaveNode() should be compatible with return type (array<PhpParser\Node>|int|PhpParser\Node|null) of method PhpParser\NodeVisitor::leaveNode()
PHPStan: lib/PhpParser/NodeVisitor/NodeConnectingVisitor.php#L46
Return type (void) of method PhpParser\NodeVisitor\NodeConnectingVisitor::leaveNode() should be compatible with return type (array<PhpParser\Node>|int|PhpParser\Node|null) of method PhpParser\NodeVisitorAbstract::leaveNode()
PHPStan: lib/PhpParser/NodeVisitor/ParentConnectingVisitor.php#L1
Ignored error pattern #^Method PhpParser\\NodeVisitor\\ParentConnectingVisitor\:\:beforeTraverse\(\) should return array\<PhpParser\\Node\>\|null but return statement is missing\.$# in path /home/runner/work/PHP-Parser/PHP-Parser/lib/PhpParser/NodeVisitor/ParentConnectingVisitor.php was not matched in reported errors.
PHP 8.2 Unit Tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 8.3 Unit Tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 8.0 Unit Tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 8.1 Unit Tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP-CS-Fixer
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@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/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 7.4 Unit Tests (with coverage)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 7.4 Code on PHP 8.3 Integration Tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 8.3 Code on PHP 7.4 Integration Tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.