Skip to content

Commit 81921e7

Browse files
committed
Rename classes
1 parent e2753d1 commit 81921e7

15 files changed

Lines changed: 33 additions & 33 deletions

‎src/Activity.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* For the full copyright and license information, please view the LICENSE
88
* file that was distributed with this source code.
99
*/
10-
namespace Framework\Debug;
10+
namespace Aplus\Debug;
1111

1212
/**
1313
* Class Activity.

‎src/Collection.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* For the full copyright and license information, please view the LICENSE
88
* file that was distributed with this source code.
99
*/
10-
namespace Framework\Debug;
10+
namespace Aplus\Debug;
1111

1212
use RuntimeException;
1313

‎src/Collector.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* For the full copyright and license information, please view the LICENSE
88
* file that was distributed with this source code.
99
*/
10-
namespace Framework\Debug;
10+
namespace Aplus\Debug;
1111

1212
/**
1313
* Class Collector.

‎src/Debugger.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* For the full copyright and license information, please view the LICENSE
88
* file that was distributed with this source code.
99
*/
10-
namespace Framework\Debug;
10+
namespace Aplus\Debug;
1111

1212
use Aplus\Helpers\Isolation;
1313
use InvalidArgumentException;

‎src/ExceptionHandler.php‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
* For the full copyright and license information, please view the LICENSE
88
* file that was distributed with this source code.
99
*/
10-
namespace Framework\Debug;
10+
namespace Aplus\Debug;
1111

12+
use Aplus\Cli\Cli;
1213
use Aplus\Helpers\Isolation;
14+
use Aplus\Language\Language;
15+
use Aplus\Log\Log;
16+
use Aplus\Log\Logger;
1317
use ErrorException;
14-
use Framework\CLI\CLI;
15-
use Framework\Language\Language;
16-
use Framework\Log\Log;
17-
use Framework\Log\Logger;
1818
use InvalidArgumentException;
1919
use RuntimeException;
2020
use Throwable;
@@ -298,7 +298,7 @@ protected function cliError(Throwable $exception) : void
298298
if ($log) {
299299
$message .= \PHP_EOL . $language->render('debug', 'logId') . ': ' . $log->id;
300300
}
301-
CLI::error($message, $this->testing ? null : 1);
301+
Cli::error($message, $this->testing ? null : 1);
302302
}
303303

304304
protected function log(string $message) : void

‎src/Timer.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* For the full copyright and license information, please view the LICENSE
88
* file that was distributed with this source code.
99
*/
10-
namespace Framework\Debug;
10+
namespace Aplus\Debug;
1111

1212
/**
1313
* Class Timer.

‎src/Views/debugbar/debugbar.php‎

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

3-
use Framework\Debug\Activity;
4-
use Framework\Debug\Debugger as D;
3+
use Aplus\Debug\Activity;
4+
use Aplus\Debug\Debugger as D;
55

66
/**
7-
* @var array<string,Framework\Debug\Collection> $collections
7+
* @var array<string,Aplus\Debug\Collection> $collections
88
* @var array{
99
* min: float,
1010
* max: float,

‎src/Views/exceptions/development.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<?php
22
/**
33
* @var Exception $exception
4-
* @var Framework\Debug\ExceptionHandler $handler
4+
* @var Aplus\Debug\ExceptionHandler $handler
55
*/
66

7+
use Aplus\Debug\Debugger as D;
78
use Aplus\Helpers\ArraySimple;
8-
use Framework\Debug\Debugger as D;
99

1010
$lang = static function (string $line, array $args = []) use ($handler) : string {
1111
return $handler->getLanguage()->render('debug', $line, $args);

‎src/Views/exceptions/production.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22
/**
3-
* @var Framework\Debug\ExceptionHandler $handler
3+
* @var Aplus\Debug\ExceptionHandler $handler
44
*/
5-
use Framework\Debug\Debugger as D;
5+
use Aplus\Debug\Debugger as D;
66

77
/**
88
* @param string $line

‎tests/CollectionTest.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*/
1010
namespace Tests\Debug;
1111

12-
use Framework\Debug\Collection;
12+
use Aplus\Debug\Collection;
1313
use PHPUnit\Framework\TestCase;
1414

1515
final class CollectionTest extends TestCase

0 commit comments

Comments
 (0)