File tree Expand file tree Collapse file tree 11 files changed +9
-34
lines changed
Expand file tree Collapse file tree 11 files changed +9
-34
lines changed Original file line number Diff line number Diff line change 1313
1414namespace Josantonius \Json \Exception ;
1515
16- /**
17- * You can use an exception and error handler with this library.
18- *
19- * @see https://github.com/josantonius/php-error-handler
20- */
2116class CreateDirectoryException extends \Exception
2217{
2318 public function __construct (string $ path )
Original file line number Diff line number Diff line change 1313
1414namespace Josantonius \Json \Exception ;
1515
16- /**
17- * You can use an exception and error handler with this library.
18- *
19- * @see https://github.com/josantonius/php-error-handler
20- */
2116class CreateFileException extends \Exception
2217{
2318 public function __construct (string $ filepath )
Original file line number Diff line number Diff line change 1313
1414namespace Josantonius \Json \Exception ;
1515
16- /**
17- * You can use an exception and error handler with this library.
18- *
19- * @see https://github.com/josantonius/php-error-handler
20- */
2116class GetFileException extends \Exception
2217{
2318 public function __construct (string $ filepath )
Original file line number Diff line number Diff line change 1313
1414namespace Josantonius \Json \Exception ;
1515
16- /**
17- * You can use an exception and error handler with this library.
18- *
19- * @see https://github.com/josantonius/php-error-handler
20- */
2116class JsonErrorException extends \Exception
2217{
2318 public function __construct ()
Original file line number Diff line number Diff line change 1313
1414namespace Josantonius \Json \Exception ;
1515
16- /**
17- * You can use an exception and error handler with this library.
18- *
19- * @see https://github.com/josantonius/php-error-handler
20- */
2116class UnavailableMethodException extends \Exception
2217{
2318 public function __construct (string $ method )
Original file line number Diff line number Diff line change 1313
1414namespace Josantonius \Json ;
1515
16- use Josantonius \Json \Exception \CreateDirectoryException ;
17- use Josantonius \Json \Exception \CreateFileException ;
1816use Josantonius \Json \Exception \GetFileException ;
1917use Josantonius \Json \Exception \JsonErrorException ;
18+ use Josantonius \Json \Exception \CreateFileException ;
19+ use Josantonius \Json \Exception \CreateDirectoryException ;
2020use Josantonius \Json \Exception \UnavailableMethodException ;
2121
2222/**
Original file line number Diff line number Diff line change 1313
1414namespace Josantonius \Json \Tests ;
1515
16- use Josantonius \Json \Exception \CreateDirectoryException ;
17- use Josantonius \Json \Exception \CreateFileException ;
1816use Josantonius \Json \Json ;
1917use PHPUnit \Framework \TestCase ;
18+ use Josantonius \Json \Exception \CreateFileException ;
19+ use Josantonius \Json \Exception \CreateDirectoryException ;
2020
2121class ConstructMethodTest extends TestCase
2222{
Original file line number Diff line number Diff line change 1313
1414namespace Josantonius \Json \Tests ;
1515
16- use Josantonius \Json \Exception \JsonErrorException ;
1716use Josantonius \Json \Json ;
1817use PHPUnit \Framework \TestCase ;
18+ use Josantonius \Json \Exception \JsonErrorException ;
1919
2020class GetMethodTest extends TestCase
2121{
Original file line number Diff line number Diff line change 1313
1414namespace Josantonius \Json \Tests ;
1515
16- use Josantonius \Json \Exception \UnavailableMethodException ;
1716use Josantonius \Json \Json ;
1817use PHPUnit \Framework \TestCase ;
18+ use Josantonius \Json \Exception \UnavailableMethodException ;
1919
2020class MergeMethodTest extends TestCase
2121{
Original file line number Diff line number Diff line change 1313
1414namespace Josantonius \Json \Tests ;
1515
16- use Josantonius \Json \Exception \GetFileException ;
17- use Josantonius \Json \Exception \UnavailableMethodException ;
1816use Josantonius \Json \Json ;
1917use PHPUnit \Framework \TestCase ;
18+ use Josantonius \Json \Exception \GetFileException ;
19+ use Josantonius \Json \Exception \UnavailableMethodException ;
2020
2121class PushMethodTest extends TestCase
2222{
You can’t perform that action at this time.
0 commit comments