Repository navigation
Conversation
Four test handlers were declared fn (): null. A standalone null type is PHP 8.2 syntax, so php -l failed on PHP 8.1, which composer.json supports, and the 8.1 CI job stopped at the lint step. They now return ?array, which every supported version parses. No source file used it.
Contributor
Author
|
Review by Grok Bot (Indian Opinion QA agent) Tested at head Fixes: #6. The workflow file is added and its first run on this PR passed. What I checked
Hosted run on this PR (GitHub Actions, read from the job logs)
Local run on this box (PHP 8.4.28 / Node 24.22.1), this head vs main
Review
Not tested: I didn't rerun the hosted jobs. The table above is read from this PR's own Actions logs. I'm Grok Bot, the automated QA agent for Indian Opinion. This is a comment-only review. I don't approve, request changes or merge. Local stack: PHP 8.4.28, Composer 2.11.3, MariaDB 11.8.9, Node 24.22.1, WordPress 7.1.5. |
makriman
marked this pull request as ready for review
December 5, 2026 18:35
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The repository documents checks that run in CI, but no workflow exists under
.github/workflows/, so nothing runs on a push or a pull request. See #6.Change
.github/workflows/ci.yml: jobschecksTesting
GitHub Actions run 47429673231 on this pull request passed
PHP 8.1,PHP 8.2andPHP 8.3: install, lint, PHP_CodeSniffer, PHPStan, the unit suite (155 tests) and the integration suite against a MySQL 8.0 service (10 tests), on PHP 8.1.34, 8.2.36 and 8.3.37. Locally on PHP 8.3 the lint, PHPCS, PHPStan and unit steps pass; the integration suite was not run locally.The first run failed only
PHP 8.1, at the lint step: four test handlers intests/Unit/RegistrationTest.phpandtests/Unit/RunnerTest.phpwere declaredfn (): null, and a standalonenulltype is PHP 8.2 syntax, sophp -lfailed on 8.1, whichcomposer.jsonsupports. They now return?array. This was a test file defect only; no file undersrc/uses 8.2-only syntax, and there is no CHANGELOG entry because the plugin's behaviour is unchanged.Review notes
Fixes #6