[phpmyadmin/error-reporting-server] 2509ac: Use self for the constant of the command
Branch: refs/heads/master Home: https://github.com/phpmyadmin/error-reporting-server Commit: 2509ac5b3117c183642cb27e0bd59e48550910c6 https://github.com/phpmyadmin/error-reporting-server/commit/2509ac5b3117c183... Author: William Desportes <williamdes@wdes.fr> Date: 2026-10-27 (Tue, 10 October 2026) +01:00 Changed paths: M src/Command/SyncGithubIssueStatesCommand.php Log Message: ----------- Use self for the constant of the command The coding standard forbids the late static binding for constants: SlevomatCodingStandard.Classes.DisallowLateStaticBindingForConstants. The static:: use was added in ebbd9fccc5, it breaks the lint job on master. Co-authored-by: DeepSeek <noreply@deepseek.com> Signed-off-by: William Desportes <williamdes@wdes.fr> Commit: 1cd1ac67b8e2b4c7645c199dc336cb6ec5aae35d https://github.com/phpmyadmin/error-reporting-server/commit/1cd1ac67b8e2b4c7... Author: William Desportes <williamdes@wdes.fr> Date: 2026-10-27 (Tue, 10 October 2026) +01:00 Changed paths: M src/Report.php Log Message: ----------- Make the event id getter return a non null value 53c3dd9b1b made internal____eventId nullable, the analyzer cannot follow the assignment in the branch and reports that a null string is returned. Keep the value in a local variable and remove the unused $user of getReportMetadata(). Co-authored-by: DeepSeek <noreply@deepseek.com> Signed-off-by: William Desportes <williamdes@wdes.fr> Commit: d06612dc32b5301c3e02430be09effc27ecbd0dd https://github.com/phpmyadmin/error-reporting-server/commit/d06612dc32b5301c... Author: William Desportes <williamdes@wdes.fr> Date: 2026-10-27 (Tue, 10 October 2026) +01:00 Changed paths: M phpstan-baseline.neon M src/Model/Table/NotificationsTable.php M src/Model/Table/ReportsTable.php Log Message: ----------- Set the report and notification fields through the entity API The properties written on the EntityInterface are reported by the analysis and set() is the documented way, like f8759cf74d did for the developers. The is_int() guard of notifyDevs() can never be false, $report_id is typed int since the method was added. Co-authored-by: DeepSeek <noreply@deepseek.com> Signed-off-by: William Desportes <williamdes@wdes.fr> Commit: 34991d7fb012e6ae133418ba35ef2287bf013fd3 https://github.com/phpmyadmin/error-reporting-server/commit/34991d7fb012e6ae... Author: William Desportes <williamdes@wdes.fr> Date: 2026-10-27 (Tue, 10 October 2026) +01:00 Changed paths: M config/app.default.php M config/app_ci.php M src/Model/Table/IncidentsTable.php M tests/Fixture/report_js.json M tests/Fixture/report_php.json M tests/TestCase/Controller/IncidentsControllerTest.php M tests/TestCase/Model/Table/IncidentsTableTest.php M tests/TestCase/ReportTest.php Log Message: ----------- Ignore the reports of the versions that are not maintained anymore The reports of the old clients are noise: nothing accepts 4.8 and older, 5.0 or 5.1 anymore. Only 4.9.x and 5.2.0 and newer are stored now, createIncidentFromBugReport() logs and drops anything else. The accepted versions are read from the AcceptedReportsVersions key of the configuration and documented in config/app.default.php: a rule is a branch like "4.9.*", a minimum like ">=5.2" or an exact version. There is no default list, a missing key accepts nothing. The ingest fixtures carried 4.5.4.1deb2ubuntu2, they now send the payload of a supported client. Co-authored-by: DeepSeek <noreply@deepseek.com> Signed-off-by: William Desportes <williamdes@wdes.fr> Commit: ebd9cb8198da703ce1cddc0df98c44ef250f14d9 https://github.com/phpmyadmin/error-reporting-server/commit/ebd9cb8198da703c... Author: William Desportes <williamdes@wdes.fr> Date: 2026-10-27 (Tue, 10 October 2026) +01:00 Changed paths: M README.md Log Message: ----------- Document what the GitHub webhook is used for The section only told how to create the hook. Document the repository it has to be added to, the GithubRepoPath key of config/oauth.php, the statuses the delivery changes and why most of the deliveries are ignored. Co-authored-by: DeepSeek <noreply@deepseek.com> Signed-off-by: William Desportes <williamdes@wdes.fr> Commit: 53a724f67cbe4243437f51469a872cd6447499a5 https://github.com/phpmyadmin/error-reporting-server/commit/53a724f67cbe4243... Author: William Desportes <williamdes@wdes.fr> Date: 2026-10-27 (Tue, 10 October 2026) +01:00 Changed paths: M README.md Log Message: ----------- Fix the name of the OAuth example configuration file The file is config/oauth_example.php, the README documented an oauth.example.php that does not exist. Co-authored-by: DeepSeek <noreply@deepseek.com> Signed-off-by: William Desportes <williamdes@wdes.fr>
participants (1)
-
William Desportes