Browse Source

Namespace corregido

Guillermo Espinoza 8 years ago
parent
commit
3c96d28b27

+ 1 - 1
Command/StatsDCommand.php

@@ -1,6 +1,6 @@
 <?php
 
-namespace StatsDBundle\StatsDBundle\Command;
+namespace StatsDBundle\Command;
 
 use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
 use Symfony\Component\Console\Input\InputArgument;

+ 1 - 1
DependencyInjection/Configuration.php

@@ -1,6 +1,6 @@
 <?php
 
-namespace StatsDBundle\StatsDBundle\DependencyInjection;
+namespace StatsDBundle\DependencyInjection;
 
 use Symfony\Component\Config\Definition\Builder\TreeBuilder;
 use Symfony\Component\Config\Definition\ConfigurationInterface;

+ 1 - 1
DependencyInjection/StatsDExtension.php

@@ -1,6 +1,6 @@
 <?php
 
-namespace StatsDBundle\StatsDBundle\DependencyInjection;
+namespace StatsDBundle\DependencyInjection;
 
 use Symfony\Component\DependencyInjection\ContainerBuilder;
 use Symfony\Component\Config\FileLocator;

+ 1 - 1
Resources/config/services.yml

@@ -1,3 +1,3 @@
 services:
     statsd:
-        class: StatsDBundle\StatsDBundle\Services\StatsD
+        class: StatsDBundle\Services\StatsD

+ 1 - 1
Services/Config.php

@@ -1,6 +1,6 @@
 <?php
 
-namespace StatsDBundle\StatsDBundle\Services;
+namespace StatsDBundle\Services;
 
 class Config
 {

+ 1 - 1
Services/StatsD.php

@@ -1,6 +1,6 @@
 <?php
 
-namespace StatsDBundle\StatsDBundle\Services;
+namespace StatsDBundle\Services;
 
 /**
  * Sends statistics to the stats daemon over UDP

+ 1 - 1
StatsDBundle.php

@@ -1,6 +1,6 @@
 <?php
 
-namespace StatsDBundle\StatsDBundle;
+namespace StatsDBundle;
 
 use Symfony\Component\HttpKernel\Bundle\Bundle;
 

+ 10 - 0
composer.json

@@ -0,0 +1,10 @@
+{
+    "name": "ik/statsd-bundle",
+    "description": "The Flowdat3 StatsD Bundle",
+    "keywords": ["stats", "statsd"],
+    "autoload": {
+        "psr-4": { "StatsBundle\\": "" }
+    },
+    "version": "1.0",
+    "minimum-stability": "stable"
+}