Skip to content

BUGFIX: Pass the workspace to the UpdateWorkspaceInfo feedback - #104

Merged
mficzel merged 2 commits into
2.0from
bugfix-update-workspace-info-feedback
Aug 25, 2026
Merged

mficzel merged 2 commits into
2.0from
bugfix-update-workspace-info-feedback

Conversation

@gradinarufelix

Copy link
Copy Markdown
Collaborator

CI on 2.0 is currently red, independently of any open PR. composer test on cd0946b (v2.7.1, the current 2.0 head) fails with four phpstan errors in Classes/Ui/Changes/AddMissingTranslations.php and Classes/Ui/Changes/UpdateOutdatedTranslations.php. The last run on 2.0 was green on 02.07.2026; nothing has been pushed since, so no run has surfaced it.

Neos\Neos\Ui\Domain\Model\Feedback\Operations\UpdateWorkspaceInfo now takes the workspace as a required constructor argument and no longer has setWorkspace(). Both call sites still use the old two-step API, so this is not only a static-analysis complaint — new UpdateWorkspaceInfo() raises an ArgumentCountError, i.e. "Add missing translations" and "Update outdated translations" abort before they can send their feedback.

Note that composer require neos/neos ^8.3 in the workflow resolves to neos/neos 8.4.7 / neos/neos-ui 8.4.4 today, so the "Neos 8.3" matrix label is misleading — the job is really testing against 8.4.

With this change composer test is green again (style, phpstan level 8, 56 unit tests).

Neos.Neos.Ui takes the workspace as a constructor argument now and dropped
setWorkspace, so both translation changes died with an ArgumentCountError
before they could send their feedback. This also makes phpstan pass again.
@mficzel
mficzel merged commit 1da5579 into 2.0 Aug 25, 2026
11 of 12 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.

2 participants