Skip to content

Move FormXmlLoader to new metadata namespace #7937

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

Conversation

alexander-schranz
Copy link
Member

@alexander-schranz alexander-schranz commented May 2, 2025

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Fixed tickets fixes #
Related issues/PRs #
License MIT
Documentation PR sulu/sulu-docs#

What's in this PR?

Move FormXmlLoader to new metadata namespace.

This moves:

  • Sulu\Bundle\AdminBundle\Metadata\FormMetadata\Loader\FormXmlLoader to Sulu\Bundle\AdminBundle\FormMetadata\FormXmlLoader

This class is already marked as internal since 3.0.

Some tests of classes which are already in that namespace where also moved to the correct location.

Why?

The old namespace will with the old metadata be removed.

@@ -9,7 +9,7 @@
* with this source code in the file LICENSE.
*/

namespace Sulu\Bundle\AdminBundle\Tests\Unit\FormMetadata\Validation;
namespace Sulu\Bundle\AdminBundle\Tests\Unit\Metadata\FormMetadata\Validation;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the classes where already in the new namespace just the tests where in the old one

@alexander-schranz alexander-schranz force-pushed the enhancement/move-form-xml-loader-to-new-namespace branch 2 times, most recently from fae7798 to ce39b1f Compare May 2, 2025 13:00
@alexander-schranz alexander-schranz added the Technical Debt Impacts code quality, no or just small impact on end developers and users label May 2, 2025
@alexander-schranz alexander-schranz requested a review from Prokyonn May 2, 2025 13:03
@alexander-schranz
Copy link
Member Author

@Prokyonn FYI

@@ -13,7 +13,7 @@

namespace Sulu\Content\Infrastructure\Symfony\HttpKernel\Compiler;

use Sulu\Bundle\AdminBundle\FormMetadata\FormXmlLoader;
use Sulu\Bundle\AdminBundle\Metadata\FormMetadata\Loader\FormXmlLoader;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

moved to the new metadata namespace as the old one should get removed soonish

@alexander-schranz alexander-schranz force-pushed the enhancement/move-form-xml-loader-to-new-namespace branch from ce39b1f to d2d06c1 Compare May 2, 2025 13:28
@alexander-schranz alexander-schranz merged commit 0857e63 into sulu:3.0 May 2, 2025
9 checks passed
@alexander-schranz alexander-schranz deleted the enhancement/move-form-xml-loader-to-new-namespace branch May 2, 2025 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Technical Debt Impacts code quality, no or just small impact on end developers and users
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants