aboutsummaryrefslogtreecommitdiffstats
path: root/Exception/Failure/Failure.php
diff options
context:
space:
mode:
Diffstat (limited to 'Exception/Failure/Failure.php')
-rw-r--r--Exception/Failure/Failure.php30
1 files changed, 8 insertions, 22 deletions
diff --git a/Exception/Failure/Failure.php b/Exception/Failure/Failure.php
index f77c057..d26815e 100644
--- a/Exception/Failure/Failure.php
+++ b/Exception/Failure/Failure.php
@@ -8,7 +8,7 @@
*
* New BSD License
*
- * Copyright © 2007-2015, Ivan Enderlin. All rights reserved.
+ * Copyright © 2007-2015, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -34,38 +34,24 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-namespace {
+namespace Hoa\Praspel\Exception\Failure;
-from('Hoa')
-
-/**
- * \Hoa\Praspel\Exception\AssertionChecker
- */
--> import('Praspel.Exception.AssertionChecker');
-
-}
-
-namespace Hoa\Praspel\Exception\Failure {
+use Hoa\Core;
+use Hoa\Praspel;
/**
* Class \Hoa\Praspel\Exception\Failure.
*
* Extending the \Hoa\Praspel\Exception\AssertionChecker class.
*
- * @author Ivan Enderlin <ivan.enderlin@hoa-project.net>
- * @copyright Copyright © 2007-2015 Ivan Enderlin.
+ * @copyright Copyright © 2007-2015 Hoa community
* @license New BSD License
*/
-
-class Failure extends \Hoa\Praspel\Exception\AssertionChecker { }
-
+class Failure extends Praspel\Exception\AssertionChecker
+{
}
-namespace {
-
/**
* Flex entity.
*/
-Hoa\Core\Consistency::flexEntity('Hoa\Praspel\Exception\Failure\Failure');
-
-}
+Core\Consistency::flexEntity('Hoa\Praspel\Exception\Failure\Failure');