Skip to content

Commit 6c0eb9d

Browse files
authored
Feature/change package name (#13)
* Change package name and namespace
1 parent e999935 commit 6c0eb9d

File tree

12 files changed

+32
-32
lines changed

12 files changed

+32
-32
lines changed

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "fabacino/php-debug-functions",
2+
"name": "fabacino/debug-functions",
33
"description": "Debug functions for PHP",
44
"type": "library",
55
"license": "MIT",
@@ -23,15 +23,15 @@
2323
},
2424
"autoload": {
2525
"psr-4": {
26-
"Fabacino\\Debug\\": "src"
26+
"Fbn\\Debug\\": "src"
2727
},
2828
"files": [
2929
"src/debug-functions.php"
3030
]
3131
},
3232
"autoload-dev": {
3333
"psr-4": {
34-
"Fabacino\\Debug\\Test\\": "tests"
34+
"Fbn\\Debug\\Test\\": "tests"
3535
}
3636
}
3737
}

composer.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Debug.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
<?php
22

33
/*
4-
* This file is part of the php-debug-functions package.
4+
* This file is part of the fabacino/debug-functions package.
55
*
66
* (c) Fabian Wiget <fabacino@gmail.com>
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Fabacino\Debug;
12+
namespace Fbn\Debug;
1313

14-
use Fabacino\Debug\Logger;
14+
use Fbn\Debug\Logger;
1515
use Psr\Log\LoggerInterface;
1616

1717
/**

src/Logger.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
<?php
22

33
/*
4-
* This file is part of the php-debug-functions package.
4+
* This file is part of the fabacino/debug-functions package.
55
*
66
* (c) Fabian Wiget <fabacino@gmail.com>
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Fabacino\Debug;
12+
namespace Fbn\Debug;
1313

1414
use Psr\Log\LoggerInterface;
1515
use Psr\Log\LogLevel;

src/debug-functions.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/*
4-
* This file is part of the php-debug-functions package.
4+
* This file is part of the fabacino/debug-functions package.
55
*
66
* (c) Fabian Wiget <fabacino@gmail.com>
77
*
@@ -13,7 +13,7 @@
1313
* Debug functions.
1414
*/
1515

16-
use Fabacino\Debug\Debug;
16+
use Fbn\Debug\Debug;
1717

1818
/**
1919
* Initialize singleton instance.

tests/DbgTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
<?php
22

33
/*
4-
* This file is part of the php-debug-functions package.
4+
* This file is part of the fabacino/debug-functions package.
55
*
66
* (c) Fabian Wiget <fabacino@gmail.com>
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Fabacino\Debug\Test;
12+
namespace Fbn\Debug\Test;
1313

1414
/**
1515
* Tests for function `dbg`.

tests/DbgThrowTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
<?php
22

33
/*
4-
* This file is part of the php-debug-functions package.
4+
* This file is part of the fabacino/debug-functions package.
55
*
66
* (c) Fabian Wiget <fabacino@gmail.com>
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Fabacino\Debug\Test;
12+
namespace Fbn\Debug\Test;
1313

14-
use Fabacino\Debug\Debug;
14+
use Fbn\Debug\Debug;
1515

1616
/**
1717
* Tests for function `dbgthrow`.

tests/DbglogTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
<?php
22

33
/*
4-
* This file is part of the php-debug-functions package.
4+
* This file is part of the fabacino/debug-functions package.
55
*
66
* (c) Fabian Wiget <fabacino@gmail.com>
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Fabacino\Debug\Test;
12+
namespace Fbn\Debug\Test;
1313

14-
use Fabacino\Debug\Debug;
15-
use Fabacino\Debug\Logger;
14+
use Fbn\Debug\Debug;
15+
use Fbn\Debug\Logger;
1616

1717
/**
1818
* Tests for function `dbglog`.

tests/DbgrTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
<?php
22

33
/*
4-
* This file is part of the php-debug-functions package.
4+
* This file is part of the fabacino/debug-functions package.
55
*
66
* (c) Fabian Wiget <fabacino@gmail.com>
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Fabacino\Debug\Test;
12+
namespace Fbn\Debug\Test;
1313

14-
use Fabacino\Debug\Debug;
14+
use Fbn\Debug\Debug;
1515

1616
/**
1717
* Tests for function `dbgr`.

tests/LoggerTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
<?php
22

33
/*
4-
* This file is part of the php-debug-functions package.
4+
* This file is part of the fabacino/debug-functions package.
55
*
66
* (c) Fabian Wiget <fabacino@gmail.com>
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Fabacino\Debug\Test;
12+
namespace Fbn\Debug\Test;
1313

14-
use Fabacino\Debug\Logger;
14+
use Fbn\Debug\Logger;
1515
use Psr\Log\LogLevel;
1616

1717
/**

0 commit comments

Comments
 (0)