소스 검색

Namespace corregido

Guillermo Espinoza 8 년 전
부모
커밋
3c96d28b27
8개의 변경된 파일17개의 추가작업 그리고 7개의 파일을 삭제
  1. 1 1
      Command/StatsDCommand.php
  2. 1 1
      DependencyInjection/Configuration.php
  3. 1 1
      DependencyInjection/StatsDExtension.php
  4. 1 1
      Resources/config/services.yml
  5. 1 1
      Services/Config.php
  6. 1 1
      Services/StatsD.php
  7. 1 1
      StatsDBundle.php
  8. 10 0
      composer.json

+ 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"
+}