8000 [DoctrineBridge] dependency on symfony/property-info missing? · Issue #30948 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
[DoctrineBridge] dependency on symfony/property-info missing? #30948
Closed
doctrine/DoctrineBundle
#950
@dmaicher

Description

@dmaicher

Symfony version(s) affected: master

Description
Since #27735 it seems there is a composer dependency from symfony/doctrine-bridge on symfony/property-info missing.

How to reproduce
Take symfony-demo app.

Change it to use dev-master symfony components:

diff --git a/composer.json b/composer.json
index ec7348c..aab43b7 100644
--- a/composer.json
+++ b/composer.json
@@ -84,7 +84,8 @@
     "extra": {
         "symfony": {
             "allow-contrib": true,
-            "require": "4.2.*"
+            "require": "dev-master"
         }
-    }
+    },
+    "minimum-stability": "dev"
 }

And run composer up:

Executing script cache:clear [KO]
 [KO]
Script cache:clear returned with error code 255
!!  
!!  Fatal error: Interface 'Symfony\Component\PropertyInfo\PropertyListExtractorInterface' not found in /var/www/symfony-demo/vendor/symfony/doctrine-bridge/PropertyInfo/DoctrineExtractor.php on line 29
!!  PHP Fatal error:  Interface 'Symfony\Component\PropertyInfo\PropertyListExtractorInterface' not found in /var/www/symfony-demo/vendor/symfony/doctrine-bridge/PropertyInfo/DoctrineExtractor.php on line 29
!!  
!!  In DoctrineExtractor.php line 29:
!!                                                                                                                   
!!    Attempted to load interface "PropertyListExtractorInterface" from namespace "Symfony\Component\PropertyInfo".  
!!    Did you forget a "use" statement for another namespace?                                                        
!!                                                                                                                   
!!  
!!  
Script @auto-scripts was called via post-update-cmd

Possible solution

Add a hard dependency on symfony/property-info ?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0