Skip to content

chore: fix the QA drift and drop the v from release names - #7

Merged
nlemoine merged 4 commits into
mainfrom
chore/qa-tooling
Nov 6, 2026
Merged

nlemoine merged 4 commits into
mainfrom
chore/qa-tooling

Conversation

@nlemoine

@nlemoine nlemoine commented Nov 6, 2026

Copy link
Copy Markdown
Owner

QA on main has been red since the tool versions moved (first failing run on d68cc7c, before the security fixes): Rector, ECS and PHPStan. Tests were green on every PHP version.

  • Rector: ??= in CliHandler and CliResponse, no behavior change.
  • ECS: docblocks that only repeated the test name in ClientTest, two null defaults and a redundant @param in InputStream.
  • PHPStan: the catch (ErrorException) in the bootstrap was never reached, since PHPStan doesn't know the error handler turned warnings into exceptions. The handler now records the message from unserialize() and the same exception is thrown right after.
  • release-please: include-v-in-release-name: false, so release names match the tags (1.1.2 rather than v1.1.2). Supported by release-please 17.6.0, the version bundled by the pinned action.

742 tests pass locally; PHPStan, ECS and Rector are clean.

QA on main has been failing since the tool versions moved: Rector asks for ??= in CliHandler and CliResponse, and ECS removes docblocks that only repeat the test name, two null defaults and a redundant @PARAM. No behavior change.
… catch

PHPStan flagged the catch (ErrorException) as never thrown: it doesn't know the error handler turned warnings into exceptions. The handler now records the message emitted by unserialize(), and the bootstrap throws the same exception right after.
Tags are already created without it. include-v-in-release-name is supported by release-please 17.6.0, the version bundled by the pinned action.
@codecov

codecov Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.49%. Comparing base (9bc786b) to head (4147fb6).

Additional details and impacted files
@@             Coverage Diff              @@
##               main       #7      +/-   ##
============================================
- Coverage     92.51%   92.49%   -0.02%     
+ Complexity      565      562       -3     
============================================
  Files            16       16              
  Lines          1322     1319       -3     
============================================
- Hits           1223     1220       -3     
  Misses           99       99              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

…ormat

ECS 13.3 removed the checkstyle output format, so the pinned version of the shared workflow piped the console output into cs2pr and failed even though ECS reported no error. nlemoine/.github fixed it in 05f8fcc.
@nlemoine
nlemoine merged commit b52d439 into main Nov 6, 2026
13 checks passed
@nlemoine
nlemoine deleted the chore/qa-tooling branch November 6, 2026 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant