Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[DoctrineBridge] dependency on symfony/property-info missing? #30948

Copy link
Copy link
Closed
doctrine/DoctrineBundle
#950
doctrine/DoctrineBundle#950
@dmaicher

Description

@dmaicher
Issue body actions

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.