aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2016-01-09 09:09:29 +0100
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2016-01-09 09:09:29 +0100
commitb7c61a0e3e35b9798fc9349599cf6c8f6b2ce628 (patch)
tree730c3c32c63b5d7cdaf098552a7d66a45dd95265
parent16d93ac6234eff99ba69234f05a541378bb79b7e (diff)
downloadStream-b7c61a0e3e35b9798fc9349599cf6c8f6b2ce628.zip
Stream-b7c61a0e3e35b9798fc9349599cf6c8f6b2ce628.tar.gz
Stream-b7c61a0e3e35b9798fc9349599cf6c8f6b2ce628.tar.bz2
Quality: Run devtools:cs.
-rw-r--r--Bucket.php4
-rw-r--r--Composite.php4
-rw-r--r--Context.php8
-rw-r--r--Exception.php4
-rw-r--r--Filter/Basic.php4
-rw-r--r--Filter/Exception.php4
-rw-r--r--Filter/Filter.php4
-rw-r--r--Filter/LateComputed.php4
-rw-r--r--IStream/Bufferable.php4
-rw-r--r--IStream/In.php4
-rw-r--r--IStream/Lockable.php4
-rw-r--r--IStream/Out.php6
-rw-r--r--IStream/Pathable.php4
-rw-r--r--IStream/Pointable.php4
-rw-r--r--IStream/Statable.php4
-rw-r--r--IStream/Structural.php4
-rw-r--r--IStream/Touchable.php4
-rw-r--r--Stream.php6
-rw-r--r--Wrapper/Exception.php4
-rw-r--r--Wrapper/IWrapper/File.php4
-rw-r--r--Wrapper/IWrapper/IWrapper.php4
-rw-r--r--Wrapper/IWrapper/Stream.php4
-rw-r--r--Wrapper/Wrapper.php4
23 files changed, 50 insertions, 50 deletions
diff --git a/Bucket.php b/Bucket.php
index 9b07082..dcc6d0e 100644
--- a/Bucket.php
+++ b/Bucket.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\Stream;
*
* Manipulate stream buckets through brigades.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Bucket
diff --git a/Composite.php b/Composite.php
index d8c1aca..d402e37 100644
--- a/Composite.php
+++ b/Composite.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\Stream;
*
* Declare a composite stream, i.e. a stream that use stream.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
abstract class Composite
diff --git a/Context.php b/Context.php
index 5a006e8..3703919 100644
--- a/Context.php
+++ b/Context.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\Stream;
*
* Make a multiton of stream contexts.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Context
@@ -123,7 +123,7 @@ class Context
* @param array $options Options.
* @return bool
*/
- public function setOptions(Array $options)
+ public function setOptions(array $options)
{
return stream_context_set_option($this->getContext(), $options);
}
@@ -135,7 +135,7 @@ class Context
* @param array $parameters Parameters.
* @return bool
*/
- public function setParameters(Array $parameters)
+ public function setParameters(array $parameters)
{
return stream_context_set_params($this->getContext(), $parameters);
}
diff --git a/Exception.php b/Exception.php
index d4948f7..b779f5b 100644
--- a/Exception.php
+++ b/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:
@@ -43,7 +43,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/Filter/Basic.php b/Filter/Basic.php
index b2bdf4d..0be92bb 100644
--- a/Filter/Basic.php
+++ b/Filter/Basic.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\Stream;
* Basic filter. Force to implement some methods.
* Actually, it extends the php_user_filter class.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
abstract class Basic extends \php_user_filter
diff --git a/Filter/Exception.php b/Filter/Exception.php
index 36f78dd..d9e6c2d 100644
--- a/Filter/Exception.php
+++ b/Filter/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:
@@ -43,7 +43,7 @@ use Hoa\Stream;
*
* Extending the \Hoa\Stream\Exception class.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Exception extends Stream\Exception
diff --git a/Filter/Filter.php b/Filter/Filter.php
index 5bde165..93003f2 100644
--- a/Filter/Filter.php
+++ b/Filter/Filter.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\Stream;
*
* Proposes some methods to handle filter.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
abstract class Filter extends Stream
diff --git a/Filter/LateComputed.php b/Filter/LateComputed.php
index 42558b3..116d1bd 100644
--- a/Filter/LateComputed.php
+++ b/Filter/LateComputed.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:
@@ -43,7 +43,7 @@ use Hoa\Stream;
*
* A late computed filter computes the data when closing the filtering.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
abstract class LateComputed extends Basic
diff --git a/IStream/Bufferable.php b/IStream/Bufferable.php
index 9660aac..501b84d 100644
--- a/IStream/Bufferable.php
+++ b/IStream/Bufferable.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:
@@ -43,7 +43,7 @@ namespace Hoa\Stream\IStream;
* of Hoa\Stream (please, see *StreamBuffer*() methods). Classes implementing
* this interface are able to create nested buffers, flush them etc.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
interface Bufferable
diff --git a/IStream/In.php b/IStream/In.php
index 2b526f9..be215e6 100644
--- a/IStream/In.php
+++ b/IStream/In.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\Stream\IStream;
*
* Interface for input.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
interface In
diff --git a/IStream/Lockable.php b/IStream/Lockable.php
index c7f0990..e4bd5ab 100644
--- a/IStream/Lockable.php
+++ b/IStream/Lockable.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\Stream\IStream;
*
* Interface for lockable input/output.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
interface Lockable
diff --git a/IStream/Out.php b/IStream/Out.php
index 952030a..57bb98c 100644
--- a/IStream/Out.php
+++ b/IStream/Out.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\Stream\IStream;
*
* Interface for output.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
interface Out
@@ -101,7 +101,7 @@ interface Out
* @param array $array Array.
* @return mixed
*/
- public function writeArray(Array $array);
+ public function writeArray(array $array);
/**
* Write a line.
diff --git a/IStream/Pathable.php b/IStream/Pathable.php
index d319b13..9bbb114 100644
--- a/IStream/Pathable.php
+++ b/IStream/Pathable.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\Stream\IStream;
*
* Interface for pathable input/output.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
interface Pathable
diff --git a/IStream/Pointable.php b/IStream/Pointable.php
index 6c6effb..c651a5b 100644
--- a/IStream/Pointable.php
+++ b/IStream/Pointable.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\Stream\IStream;
*
* Interface for pointable input/output.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
interface Pointable
diff --git a/IStream/Statable.php b/IStream/Statable.php
index 3bb1dff..99a8f6f 100644
--- a/IStream/Statable.php
+++ b/IStream/Statable.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\Stream\IStream;
*
* Interface for statable input/output.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
interface Statable
diff --git a/IStream/Structural.php b/IStream/Structural.php
index 1be14b5..fc858a3 100644
--- a/IStream/Structural.php
+++ b/IStream/Structural.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\Stream\IStream;
*
* Interface for structural input/output.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
interface Structural
diff --git a/IStream/Touchable.php b/IStream/Touchable.php
index d101375..8d13fa0 100644
--- a/IStream/Touchable.php
+++ b/IStream/Touchable.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\Stream\IStream;
*
* Interface for touchable input/output.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
interface Touchable
diff --git a/Stream.php b/Stream.php
index fb3fea6..da412f3 100644
--- a/Stream.php
+++ b/Stream.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\Protocol;
*
* Static register for all streams (files, sockets etc.).
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
abstract class Stream implements Event\Listenable
@@ -637,7 +637,7 @@ abstract class Stream implements Event\Listenable
*
* The `hoa://Library/Stream` node.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class _Protocol extends Protocol\Node
diff --git a/Wrapper/Exception.php b/Wrapper/Exception.php
index d400dc0..1ebdd23 100644
--- a/Wrapper/Exception.php
+++ b/Wrapper/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:
@@ -43,7 +43,7 @@ use Hoa\Stream;
*
* Extending the \Hoa\Stream\Exception class.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Exception extends Stream\Exception
diff --git a/Wrapper/IWrapper/File.php b/Wrapper/IWrapper/File.php
index 73a271a..99ce631 100644
--- a/Wrapper/IWrapper/File.php
+++ b/Wrapper/IWrapper/File.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\Stream\Wrapper\IWrapper;
*
* Interface for “file stream wrapper” class.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
interface File
diff --git a/Wrapper/IWrapper/IWrapper.php b/Wrapper/IWrapper/IWrapper.php
index 15fc272..efc39b4 100644
--- a/Wrapper/IWrapper/IWrapper.php
+++ b/Wrapper/IWrapper/IWrapper.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:
@@ -43,7 +43,7 @@ use Hoa\Consistency;
*
* Interface for stream wrapper class.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
interface IWrapper extends File, Stream
diff --git a/Wrapper/IWrapper/Stream.php b/Wrapper/IWrapper/Stream.php
index 029a6b1..32e2664 100644
--- a/Wrapper/IWrapper/Stream.php
+++ b/Wrapper/IWrapper/Stream.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\Stream\Wrapper\IWrapper;
*
* Interface for “stream stream wrapper” class.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
interface Stream
diff --git a/Wrapper/Wrapper.php b/Wrapper/Wrapper.php
index e3c530c..24697d5 100644
--- a/Wrapper/Wrapper.php
+++ b/Wrapper/Wrapper.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:
@@ -43,7 +43,7 @@ use Hoa\Consistency;
*
* Manipulate wrappers.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Wrapper