lhapaipai / symfony-vite-dev

Monorepo for symfony-vite development
https://symfony-vite.pentatrion.com
Other
19 stars 19 forks source link

Change dependency to the non-internal ServiceLocator class #4

Closed NanoSector closed 7 months ago

NanoSector commented 7 months ago

In a project with the bundle installed, bin/console lint:container would fail because of a dependency on an internal Symfony class:

> bin/console lint:container

 [ERROR] Invalid definition for service "twig": argument 1 of                                                           
         "Pentatrion\ViteBundle\Service\TagRendererCollection::__construct()" accepts                                   
         "Symfony\Component\DependencyInjection\Argument\ServiceLocator",                                               
         "Symfony\Component\DependencyInjection\ServiceLocator" passed.                                                 

Change this dependency to the public ServiceLocator to fix this error.

netlify[bot] commented 7 months ago

Deploy Preview for cosmic-bubblegum-aa631a canceled.

Name Link
Latest commit f04424b3ac97c6598665e573b1c84ebc10427f26
Latest deploy log https://app.netlify.com/sites/cosmic-bubblegum-aa631a/deploys/655271c5881da900087ba6e6
netlify[bot] commented 7 months ago

Deploy Preview for cosmic-bubblegum-aa631a canceled.

Name Link
Latest commit 4fa5a33ddbc40b3f1db9ffc93f796fe79c3315ee
Latest deploy log https://app.netlify.com/sites/cosmic-bubblegum-aa631a/deploys/655271e1a0c80a00086348c2