-
-
Notifications
You must be signed in to change notification settings - Fork 223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cleanup duplicate php class names across project #4341
Comments
We discussed here https://neos-project.slack.com/archives/C3MCBK6S2/p1694081919618779 that we want to rename the Neos WorkspaceName:
|
This will make it easier to import the correct Neos CR Node - which you will want to use 100% of the time instead. Resolves partially #4341
This will make it easier to import the correct Neos CR WorkspaceName - which one will want to use more likely. Resolves partially #4341
I would like to deprecate the Removing or renaming the See pr #4530 |
resolves partially neos/neos-development-collection#4341
I took the freedom to make this an issue of the DX epic (#4777) |
Lately i was using the new ESCR WorkspaceFinder and passed at first the wrong
WorkspaceName
into it (because we have this thing twice in our code base)That got me thinking, if we have also other classNames that are duplicates and could lead to confusion.
So i searched all duplicate base file names in this dev-collection and found the following.
I excluded the results that i dont think are relevant.
Related: #4777
FusionView -> #4476
its always hard to explain the difference in slack.
And the fact that they have the same name doesnt make it easier.
The Neos.Neos view should be named NodeFusionView or sth
Node ✅
lets rename the second (internal) one
-> #4528
NodeAddress ✅
-> #4540
User ✅
i would prefer, if the User utility has an Utility suffix
We even only use it aliased as
UserUtility
-> #4530
UserService
its confusing that we have this service twice
A comment from late 2015 suggest that
\Neos\Neos\Service\UserService
is "legacy", see commitNodeAggregateIds
why? Lets check if we can just use the shared model of the core
WorkspaceName ✅
why? Is the Neos.Neos WorkspaceName legacy? Can it be removed?
-> #4534
CrCommandController and WorkspaceCommandController
why are those command controllers separated? Shouldn't they belong to one controller?
Exception
those exceptions should have more distinct names
The text was updated successfully, but these errors were encountered: