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 Symfony 4.2 deprecations, and Travis build #876
Conversation
todo:
See #877 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The 2 failing jobs are OK:
- the alpha stability job will be fixed when migrating commands away from the deprecated parent class, in the next PR.
- the PHP nightly job will be fixed once the ORM releases a version supporting PHP 7.3 without deprecation.
@dunglas Thanks |
@@ -48,7 +49,9 @@ public function testContainer() | |||
$this->assertFalse($container->has('doctrine.dbal.default_connection.events.mysqlsessioninit')); | |||
|
|||
if (interface_exists('Symfony\Component\PropertyInfo\PropertyInfoExtractorInterface') && class_exists('Symfony\Bridge\Doctrine\PropertyInfo\DoctrineExtractor')) { | |||
$this->assertInstanceOf('Doctrine\Common\Persistence\Mapping\ClassMetadataFactory', $container->get('doctrine.orm.default_entity_manager.metadata_factory')); | |||
if (!interface_exists(PropertyInitializableExtractorInterface::class)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change violates CS.
Port commands for Symfony 4.2 (follows #876)
Fix tests, and improve Symfony 4.2 compat