Skip to content

#503 - Deprecate ProcessState::getReturnCode() / setReturnCode(), used nowhere - #504

Merged
njoubert-cleverage merged 1 commit into
mainfrom
503
Nov 6, 2026
Merged

njoubert-cleverage merged 1 commit into
mainfrom
503

Conversation

@njoubert-cleverage

Copy link
Copy Markdown
Member

Description

Fixes #503: ProcessState::getReturnCode() / setReturnCode() trigger a deprecation since 5.10 (@deprecated on the methods and the $returnCode property): they are used nowhere, the exit code of cleverage:process:execute does not depend on them. Removal in 6.0 (to add to #292). UPGRADE: Return code of the process state.

Checked locally: highest dependencies (PHP 8.5.12), with pcov coverage: all tests OK, no risky; PHPStan, PHP-CS-Fixer and Rector OK.

Requirements

  • Documentation updates
    • Reference
    • Cookbooks
    • Changelog
  • Unit tests

Breaking changes

None (deprecation); removal in 6.0.

🤖 Generated with Claude Code

…d nowhere

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@njoubert-cleverage
njoubert-cleverage requested a review from a team as a code owner November 6, 2026 15:52
@njoubert-cleverage
njoubert-cleverage merged commit 50ed9ec into main Nov 6, 2026
17 checks passed
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.

Deprecate ProcessState::getReturnCode() / setReturnCode(), used nowhere

1 participant