aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2016-01-09 09:05:27 +0100
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2016-01-09 09:05:27 +0100
commitf02814b49a7381755e24dd0cd8cbfdebc369f412 (patch)
treeee05662931c07add435dc164e10fdaf20fd87187
parent658dd496dc8481fcc2c94e7a2d174d47b4844713 (diff)
downloadMime-f02814b49a7381755e24dd0cd8cbfdebc369f412.zip
Mime-f02814b49a7381755e24dd0cd8cbfdebc369f412.tar.gz
Mime-f02814b49a7381755e24dd0cd8cbfdebc369f412.tar.bz2
Quality: Run devtools:cs.
-rw-r--r--Exception/Exception.php4
-rw-r--r--Exception/MimeIsNotFound.php4
-rw-r--r--Mime.php8
-rw-r--r--Test/Unit/Documentation.php4
4 files changed, 10 insertions, 10 deletions
diff --git a/Exception/Exception.php b/Exception/Exception.php
index bee2b81..80d47fd 100644
--- a/Exception/Exception.php
+++ b/Exception/Exception.php
@@ -8,7 +8,7 @@
*
* New BSD License
*
- * Copyright © 2007-2015, Hoa community. All rights reserved.
+ * Copyright © 2007-2016, 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:
@@ -44,7 +44,7 @@ use Hoa\Exception as HoaException;
*
* Extending the \Hoa\Exception\Exception class.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Exception extends HoaException
diff --git a/Exception/MimeIsNotFound.php b/Exception/MimeIsNotFound.php
index 83aee88..7cd4440 100644
--- a/Exception/MimeIsNotFound.php
+++ b/Exception/MimeIsNotFound.php
@@ -8,7 +8,7 @@
*
* New BSD License
*
- * Copyright © 2007-2015, Hoa community. All rights reserved.
+ * Copyright © 2007-2016, 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:
@@ -41,7 +41,7 @@ namespace Hoa\Mime\Exception;
*
* Extending the \Hoa\Mime\Exception class.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class MimeIsNotFound extends Exception
diff --git a/Mime.php b/Mime.php
index c04da78..cefe4f1 100644
--- a/Mime.php
+++ b/Mime.php
@@ -8,7 +8,7 @@
*
* New BSD License
*
- * Copyright © 2007-2015, Hoa community. All rights reserved.
+ * Copyright © 2007-2016, 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:
@@ -46,7 +46,7 @@ use Hoa\Zformat;
* Get informations relative to MIME (media, type, extension, other extensions)
* about a stream.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Mime implements Zformat\Parameterizable
@@ -142,7 +142,7 @@ class Mime implements Zformat\Parameterizable
* @return void
* @throws \Hoa\Mime\Exception
*/
- public function __construct(Stream $stream, Array $parameters = [])
+ public function __construct(Stream $stream, array $parameters = [])
{
$this->_parameters = new Zformat\Parameter(
$this,
@@ -329,7 +329,7 @@ class Mime implements Zformat\Parameterizable
public static function getMimeFromExtension($extension)
{
$extension = strtolower($extension);
-
+
if (false === static::extensionExists($extension)) {
return null;
}
diff --git a/Test/Unit/Documentation.php b/Test/Unit/Documentation.php
index e98e958..0e1841a 100644
--- a/Test/Unit/Documentation.php
+++ b/Test/Unit/Documentation.php
@@ -8,7 +8,7 @@
*
* New BSD License
*
- * Copyright © 2007-2015, Hoa community. All rights reserved.
+ * Copyright © 2007-2016, 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:
@@ -45,7 +45,7 @@ use Hoa\Test;
*
* Test suite of the examples in the documentation.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Documentation extends Test\Unit\Suite