Skip to content

[stable35] chore(dev-deps): pin rector to 2.8.1 and phpstan to 2.3.3 - #9549

Merged
mejo- merged 1 commit into
stable35from
backport/9548/stable35
Nov 4, 2026
Merged

mejo- merged 1 commit into
stable35from
backport/9548/stable35

Conversation

@backportbot

@backportbot backportbot Bot commented Nov 4, 2026

Copy link
Copy Markdown

Backport of PR #9548

nextcloud/rector 0.5.2 uses Rector\PhpDocParser\PhpDocParser\PhpDocNodeTraverser,
which rector/rector removed in 2.8.2, so `composer rector` fails with
"Class not found" errors.

rector/rector 2.8.1 and older break with phpstan/phpstan 2.3.4 and newer
(FullyQualifiedNameNode TypeError), so phpstan must be pinned along with rector.

Remove the pins once nextcloud/rector supports rector 2.8.2+.

Signed-off-by: Jonas <jonas@freesources.org>
Assisted-by: ClaudeCode:claude-opus-5-5
@backportbot backportbot Bot added tests If you write them we ♥ you 3. to review AI assisted This PR contains AI-assisted commits labels Nov 4, 2026
@backportbot backportbot Bot added this to the Nextcloud 35.0.3 milestone Nov 4, 2026
@mejo-
mejo- merged commit 402f6ea into stable35 Nov 4, 2026
69 checks passed
@mejo-
mejo- deleted the backport/9548/stable35 branch November 4, 2026 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review AI assisted This PR contains AI-assisted commits tests If you write them we ♥ you

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant