aboutsummaryrefslogtreecommitdiffstats
path: root/Test
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2015-05-18 09:21:59 +0200
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2015-05-18 09:21:59 +0200
commit62b794d24c483bc082b95a9fae128669053f9443 (patch)
tree7036031ee8b546b001bcf9e768de624dadd9796a /Test
parent25c02c3fc07a0bb268becb1cbdc12afb2a1c5eb6 (diff)
downloadMime-62b794d24c483bc082b95a9fae128669053f9443.zip
Mime-62b794d24c483bc082b95a9fae128669053f9443.tar.gz
Mime-62b794d24c483bc082b95a9fae128669053f9443.tar.bz2
Move to PSR-1 and PSR-2.
Diffstat (limited to 'Test')
-rw-r--r--Test/Unit/Documentation.php26
1 files changed, 12 insertions, 14 deletions
diff --git a/Test/Unit/Documentation.php b/Test/Unit/Documentation.php
index 483f78f..e4fb081 100644
--- a/Test/Unit/Documentation.php
+++ b/Test/Unit/Documentation.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:
@@ -36,24 +36,22 @@
namespace Hoa\Mime\Test\Unit;
-use Hoa\Test;
-use Hoa\Mime as LUT;
use Hoa\File;
+use Hoa\Mime as LUT;
+use Hoa\Test;
/**
* Class \Hoa\Mime\Test\Unit\Documentation.
*
* Test suite of the examples in the documentation.
*
- * @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 Documentation extends Test\Unit\Suite {
-
- public function case_getExtensionsFromMime_text_html ( ) {
-
+class Documentation extends Test\Unit\Suite
+{
+ public function case_getExtensionsFromMime_text_html()
+ {
$this
->given($mime = 'text/html')
->when($extensions = LUT::getExtensionsFromMime($mime))
@@ -65,8 +63,8 @@ class Documentation extends Test\Unit\Suite {
]);
}
- public function case_getMimeFromExtension_webm ( ) {
-
+ public function case_getMimeFromExtension_webm()
+ {
$this
->given($extension = 'webm')
->when($mime = LUT::getMimeFromExtension($extension))
@@ -75,8 +73,8 @@ class Documentation extends Test\Unit\Suite {
->isEqualTo('video/webm');
}
- public function case_stream ( ) {
-
+ public function case_stream()
+ {
$this
->given($file = 'hoa://Test/Vfs/index.html')
->when($type = new LUT(new File\Read($file)))