rekalogika / mapper

An object mapper for PHP and Symfony. Maps an object to another object. Primarily used for transforming an entity to a DTO and vice versa.
MIT License
26 stars 1 forks source link

While installing in dev env, it requires symfony/stopwatch #205

Closed gabplch closed 2 weeks ago

gabplch commented 2 weeks ago

While running composer i in dev env, it requires symfony/stopwatch package to be installed. But this package is redunant in my case :(

Executing script cache:clear [KO]
 [KO]
Script cache:clear returned with error code 1
!!  
!!  In CheckExceptionOnInvalidReferenceBehaviorPass.php line 116:
!!                                                                                 
!!    The service "debug.Rekalogika\Mapper\Transformer\Implementation\NullToNullT  
!!    ransformer" has a dependency on a non-existent service "debug.stopwatch".    
!!                                                                                 
!!  
!!  
Script @auto-scripts was called via post-install-cmd

Package version: 1.9.3

priyadi commented 2 weeks ago

It should be fixed in https://github.com/rekalogika/mapper/pull/207 and v1.9.4. Thank you for your report.