Skip to content

Commit

Permalink
Removing routing loading and useless TAG constant
Browse files Browse the repository at this point in the history
  • Loading branch information
HEKET313 committed Aug 6, 2018
1 parent 836ab75 commit 9937090
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 40 deletions.
1 change: 0 additions & 1 deletion src/DependencyInjection/HealthCheckExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace niklesh\HealthCheckBundle\DependencyInjection;

use niklesh\HealthCheckBundle\Command\SendDataCommand;
use niklesh\HealthCheckBundle\Service\HealthInterface;
use Symfony\Component\Config\FileLocator;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Definition;
Expand Down
3 changes: 0 additions & 3 deletions src/Resources/config/routing.yaml

This file was deleted.

7 changes: 1 addition & 6 deletions src/Resources/config/services.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
services:
niklesh\HealthCheckBundle\Controller\HealthController:
autowire: true
public: false
autoconfigure: true

niklesh\HealthCheckBundle\Routing\RoutesLoader:
tags: [routing.loader]
autoconfigure: true
28 changes: 0 additions & 28 deletions src/Routing/RoutesLoader.php

This file was deleted.

2 changes: 0 additions & 2 deletions src/Service/HealthSenderInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

interface HealthSenderInterface
{
public const TAG = 'health.sender';

/**
* @param HealthDataInterface[] $data
*/
Expand Down

0 comments on commit 9937090

Please sign in to comment.