Skip to content

Commit

Permalink
Add appropriate vendor to namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
cristianoc72 committed Jul 28, 2016
1 parent ed79f2a commit 8ba9d0d
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 9 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@
},
"autoload": {
"psr-4": {
"IconButton\\": "src"
"cristianoc72\\IconButton\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"IconButton\\Tests\\": "tests"
"cristianoc72\\IconButton\\Tests\\": "tests"
}
}
}
2 changes: 0 additions & 2 deletions resources/template/icon_button.html.twig
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{% use "bootstrap_3_layout.html.twig" %}

{% block button_widget -%}
{%- if label is empty -%}
{%- if label_format is not empty -%}
Expand Down
2 changes: 1 addition & 1 deletion src/IconButtonTypeExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @license MIT License
*/

namespace IconButton;
namespace cristianoc72\IconButton;

use Symfony\Component\Form\AbstractTypeExtension;
use Symfony\Component\Form\Extension\Core\Type\ButtonType;
Expand Down
2 changes: 1 addition & 1 deletion tests/DataProviderTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @license MIT License
*/

namespace IconButton\Tests;
namespace cristianoc72\IconButton\Tests;

use Symfony\Component\Form\Extension\Core\Type\ButtonType;
use Symfony\Component\Form\Extension\Core\Type\SubmitType;
Expand Down
4 changes: 2 additions & 2 deletions tests/IconButtonExtensionTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
* @license MIT License
*/

namespace IconButton\Tests;
namespace cristianoc72\IconButton\Tests;

use IconButton\IconButtonTypeExtension;
use cristianoc72\IconButton\IconButtonTypeExtension;
use Symfony\Bridge\Twig\Extension\FormExtension;
use Symfony\Bridge\Twig\Extension\TranslationExtension;
use Symfony\Bridge\Twig\Form\TwigRenderer;
Expand Down
2 changes: 1 addition & 1 deletion tests/IconButtonTypeExtensionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @license MIT License
*/

namespace IconButton\Tests;
namespace cristianoc72\IconButton\Tests;

use Symfony\Component\Form\Extension\Core\Type\ButtonType;

Expand Down

0 comments on commit 8ba9d0d

Please sign in to comment.