Skip to content
This repository was archived by the owner on Sep 20, 2021. It is now read-only.

Commit 9dc6217

Browse files
committed
Move to PSR-1-2 & drop PHP5.3 & from/import.
1 parent e2ba9d3 commit 9dc6217

8 files changed

Lines changed: 304 additions & 936 deletions

File tree

Bin/Bhoa.php

Lines changed: 0 additions & 518 deletions
This file was deleted.

Exception/CrossBufferization.php

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
* New BSD License
1010
*
11-
* Copyright © 2007-2015, Ivan Enderlin. All rights reserved.
11+
* Copyright © 2007-2015, Hoa community. All rights reserved.
1212
*
1313
* Redistribution and use in source and binary forms, with or without
1414
* modification, are permitted provided that the following conditions are met:
@@ -34,29 +34,16 @@
3434
* POSSIBILITY OF SUCH DAMAGE.
3535
*/
3636

37-
namespace {
38-
39-
from('Hoa')
40-
41-
/**
42-
* \Hoa\Http\Exception
43-
*/
44-
-> import('Http.Exception.~');
45-
46-
}
47-
48-
namespace Hoa\Http\Exception {
37+
namespace Hoa\Http\Exception;
4938

5039
/**
5140
* Class \Hoa\Http\Exception\CrossBufferization.
5241
*
5342
* Extending the \Hoa\Core\Exception class.
5443
*
55-
* @author Ivan Enderlin <ivan.enderlin@hoa-project.net>
56-
* @copyright Copyright © 2007-2015 Ivan Enderlin.
44+
* @copyright Copyright © 2007-2015 Hoa community
5745
* @license New BSD License
5846
*/
59-
60-
class CrossBufferization extends Exception { }
61-
47+
class CrossBufferization extends Exception
48+
{
6249
}

Exception/Exception.php

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
* New BSD License
1010
*
11-
* Copyright © 2007-2015, Ivan Enderlin. All rights reserved.
11+
* Copyright © 2007-2015, Hoa community. All rights reserved.
1212
*
1313
* Redistribution and use in source and binary forms, with or without
1414
* modification, are permitted provided that the following conditions are met:
@@ -34,27 +34,23 @@
3434
* POSSIBILITY OF SUCH DAMAGE.
3535
*/
3636

37-
namespace Hoa\Http\Exception {
37+
namespace Hoa\Http\Exception;
38+
39+
use Hoa\Core;
3840

3941
/**
4042
* Class \Hoa\Http\Exception.
4143
*
4244
* Extending the \Hoa\Core\Exception class.
4345
*
44-
* @author Ivan Enderlin <ivan.enderlin@hoa-project.net>
45-
* @copyright Copyright © 2007-2015 Ivan Enderlin.
46+
* @copyright Copyright © 2007-2015 Hoa community
4647
* @license New BSD License
4748
*/
48-
49-
class Exception extends \Hoa\Core\Exception { }
50-
49+
class Exception extends Core\Exception
50+
{
5151
}
5252

53-
namespace {
54-
5553
/**
5654
* Flex entity.
5755
*/
58-
Hoa\Core\Consistency::flexEntity('Hoa\Http\Exception\Exception');
59-
60-
}
56+
Core\Consistency::flexEntity('Hoa\Http\Exception\Exception');

0 commit comments

Comments
 (0)