Skip to content

Commit

Permalink
test config shrunk to bare minimum
Browse files Browse the repository at this point in the history
  • Loading branch information
sorrx committed Jan 17, 2024
1 parent bbec326 commit 102bec6
Showing 1 changed file with 0 additions and 53 deletions.
53 changes: 0 additions & 53 deletions src/Resources/config/services_test.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,59 +7,6 @@
<services>
<defaults public="true"/>

<service id="Shivas\VersioningBundle\Service\VersionManagerInterface" alias="shivas_versioning.manager"/>
<service id="Shivas\VersioningBundle\Formatter\FormatterInterface" alias="shivas_versioning.formatter.git"/>
<service id="Shivas\VersioningBundle\Writer\WriterInterface" alias="shivas_versioning.writer.version"/>

<service id="shivas_versioning.manager" class="Shivas\VersioningBundle\Service\VersionManager">
<argument type="service" id="shivas_versioning.cache.version"/>
<argument type="service" id="Shivas\VersioningBundle\Writer\WriterInterface"/>
<argument type="service" id="Shivas\VersioningBundle\Formatter\FormatterInterface"/>
</service>
<service id="shivas_versioning.formatter.git" class="Shivas\VersioningBundle\Formatter\GitDescribeFormatter"/>
<service id="shivas_versioning.writer.version" class="Shivas\VersioningBundle\Writer\VersionWriter">
<argument>%kernel.project_dir%</argument>
</service>

<service id="shivas_versioning.provider.version" class="Shivas\VersioningBundle\Provider\VersionProvider">
<argument>%kernel.project_dir%</argument>
<tag name="shivas_versioning.provider" alias="version" priority="100"/>
</service>

<service id="shivas_versioning.provider.git" class="Shivas\VersioningBundle\Provider\GitRepositoryProvider">
<argument>%kernel.project_dir%</argument>
<tag name="shivas_versioning.provider" alias="git" priority="-25"/>
</service>

<service id="shivas_versioning.provider.revision" class="Shivas\VersioningBundle\Provider\RevisionProvider">
<argument>%kernel.project_dir%</argument>
<tag name="shivas_versioning.provider" alias="revision" priority="-50"/>
</service>

<service id="shivas_versioning.provider.init" class="Shivas\VersioningBundle\Provider\InitialVersionProvider">
<tag name="shivas_versioning.provider" alias="init" priority="-75"/>
</service>

<!-- Services with parent must not be public. Symfony 3.4 does not now the defaults tag, though it must be stated explicitly here. -->
<service id="shivas_versioning.cache.version" parent="cache.system" public="false">
<tag name="cache.pool" />
</service>

<service id="shivas_versioning.command.status" class="Shivas\VersioningBundle\Command\StatusCommand">
<argument type="service" id="Shivas\VersioningBundle\Service\VersionManagerInterface"/>
<tag name="console.command"/>
</service>

<service id="shivas_versioning.command.list_providers" class="Shivas\VersioningBundle\Command\ListProvidersCommand">
<argument type="service" id="Shivas\VersioningBundle\Service\VersionManagerInterface"/>
<tag name="console.command"/>
</service>

<service id="shivas_versioning.command.version_bump" class="Shivas\VersioningBundle\Command\VersionBumpCommand">
<argument type="service" id="Shivas\VersioningBundle\Service\VersionManagerInterface"/>
<tag name="console.command"/>
</service>

<service id="shivas_versioning.twig.version" class="Shivas\VersioningBundle\Twig\VersionExtension">
<argument type="service" id="Shivas\VersioningBundle\Service\VersionManagerInterface"/>
<tag name="twig.extension"/>
Expand Down

0 comments on commit 102bec6

Please sign in to comment.