Skip to content

Return early on Finder::last() on empty array #121

Return early on Finder::last() on empty array

Return early on Finder::last() on empty array #121

Triggered via pull request April 18, 2024 17:21
Status Failure
Total duration 32s
Artifacts

ci_build.yml

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

Annotations

4 errors and 4 warnings
PHP 8.2: src/Finder.php#L122
Unreachable statement - code above always terminates.
PHP 8.2
Process completed with exit code 1.
PHP 8.1: src/Finder.php#L122
Unreachable statement - code above always terminates.
PHP 8.1
Process completed with exit code 1.
PHP 8.2
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 8.2
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/
PHP 8.1
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 8.1
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/