Skip to content

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

@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

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy