Skip to content
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

Fix using XML mapping driver with XSD validation disabled is deprecated #2

Merged
merged 3 commits into from
Aug 22, 2023

Conversation

raziel057
Copy link
Owner

Fix using XML mapping driver with XSD validation disabled is deprecated and will not be supported in Doctrine ORM 3.0.

12x: Using XML mapping driver with XSD validation disabled is deprecated and will not be supported in Doctrine ORM 3.0. (XmlDriver.php:60 called by SimplifiedXmlDriver.php:23, https://github.com/doctrine/orm/pull/6728, package doctrine/orm)
    10x in MeetingControllerTest::testCompleteScenario from PTC\AdminBundle\Tests\Controller
    1x in MeetingControllerTest::testCalendarView from PTC\AdminBundle\Tests\Controller
    1x in MeetingControllerTest::testDeleteWarningAction from PTC\AdminBundle\Tests\Controller

See doctrine/DoctrineBundle#1647

Please note that validate_xml_mapping needs to be set on true to expose the XSD validation in the DoctrineOrmMappingsPass

https://www.doctrine-project.org/projects/doctrine-bundle/en/latest/configuration.html
doctrine/DoctrineBundle#1679

@raziel057 raziel057 merged commit ae4f066 into master Aug 22, 2023
1 check 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.

1 participant