Skip to content

Commit a453d1c

Browse files
committed
Remove package level namespace
This package will only ever contain the one trait so I feel it's an unnecessary level.
1 parent 56c2e50 commit a453d1c

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@
2323
},
2424
"autoload": {
2525
"psr-4": {
26-
"TomPHP\\ExceptionConstructorTools\\": "src/"
26+
"TomPHP\\": "src/"
2727
}
2828
},
2929
"autoload-dev": {
3030
"psr-4": {
31-
"tests\\unit\\TomPHP\\ExceptionConstructorTools\\": "tests/unit/",
31+
"tests\\unit\\TomPHP\\": "tests/unit/",
3232
"tests\\support\\": "tests/support/"
3333
}
3434
},

src/ExceptionConstructorTools.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace TomPHP\ExceptionConstructorTools;
3+
namespace TomPHP;
44

55
/**
66
* This trait provides useful static methods which can be used to help create

tests/support/ExampleException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace tests\support;
44

5-
use TomPHP\ExceptionConstructorTools\ExceptionConstructorTools;
5+
use TomPHP\ExceptionConstructorTools;
66

77
class ExampleException extends \RuntimeException
88
{

tests/unit/ExceptionConstructorToolsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace tests\unit\TomPHP\ExceptionConstructorTools;
3+
namespace tests\unit\TomPHP;
44

55
use PHPUnit_Framework_TestCase;
66
use tests\support\ExampleException;

0 commit comments

Comments
 (0)