aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2016-01-09 09:01:10 +0100
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2016-01-11 09:33:01 +0100
commit749adb829fed30f06868ea0bb7d8c99cf63a329e (patch)
tree251724f3e2094ab35016e6688fed20e423a88dc6
parent5c07d305d54168510605d019644eb85975f134a7 (diff)
downloadEvent-749adb829fed30f06868ea0bb7d8c99cf63a329e.zip
Event-749adb829fed30f06868ea0bb7d8c99cf63a329e.tar.gz
Event-749adb829fed30f06868ea0bb7d8c99cf63a329e.tar.bz2
Quality: Run devtools:cs.
-rw-r--r--Bucket.php4
-rw-r--r--Event.php4
-rw-r--r--Exception.php4
-rw-r--r--Listenable.php4
-rw-r--r--Listener.php8
-rw-r--r--Listens.php4
-rw-r--r--Source.php4
-rw-r--r--Test/Unit/Bucket.php4
-rw-r--r--Test/Unit/Event.php4
-rw-r--r--Test/Unit/Exception.php4
-rw-r--r--Test/Unit/Listenable.php4
-rw-r--r--Test/Unit/Listener.php4
-rw-r--r--Test/Unit/Listens.php4
-rw-r--r--Test/Unit/Source.php4
14 files changed, 30 insertions, 30 deletions
diff --git a/Bucket.php b/Bucket.php
index 440bf79..fd458d1 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\Event;
*
* This class is the object which is transmit through event channels.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Bucket
diff --git a/Event.php b/Event.php
index 2eeeb17..b97b986 100644
--- a/Event.php
+++ b/Event.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\Consistency;
* receive a bucket) and useful to largely spread data through components
* without any known connection between them.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Event
diff --git a/Exception.php b/Exception.php
index be1bf31..e53d0ff 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/Listenable.php b/Listenable.php
index 30d7958..b16bfb4 100644
--- a/Listenable.php
+++ b/Listenable.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\Event;
*
* Each object which is listenable must implement this interface.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
interface Listenable extends Source
diff --git a/Listener.php b/Listener.php
index 19181da..935403e 100644
--- a/Listener.php
+++ b/Listener.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:
@@ -42,7 +42,7 @@ namespace Hoa\Event;
* A contrario of events, listeners are synchronous, identified at use and
* useful for close interactions between one or some components.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Listener
@@ -70,7 +70,7 @@ class Listener
* @param array $ids Accepted ID.
* @return void
*/
- public function __construct(Listenable $source, Array $ids)
+ public function __construct(Listenable $source, array $ids)
{
$this->_source = $source;
$this->addIds($ids);
@@ -84,7 +84,7 @@ class Listener
* @param array $ids Accepted ID.
* @return void
*/
- public function addIds(Array $ids)
+ public function addIds(array $ids)
{
foreach ($ids as $id) {
$this->_callables[$id] = [];
diff --git a/Listens.php b/Listens.php
index 23e363c..9066f66 100644
--- a/Listens.php
+++ b/Listens.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\Event;
*
* Implementation of a listener.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
trait Listens
diff --git a/Source.php b/Source.php
index 89b14db..8389030 100644
--- a/Source.php
+++ b/Source.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\Event;
*
* Each object which is observable must implement this interface.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
interface Source
diff --git a/Test/Unit/Bucket.php b/Test/Unit/Bucket.php
index 5e38149..857b642 100644
--- a/Test/Unit/Bucket.php
+++ b/Test/Unit/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:
@@ -45,7 +45,7 @@ use Hoa\Test;
*
* Test suite of the bucket.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Bucket extends Test\Unit\Suite
diff --git a/Test/Unit/Event.php b/Test/Unit/Event.php
index 895265e..769d22a 100644
--- a/Test/Unit/Event.php
+++ b/Test/Unit/Event.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 event class.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Event extends Test\Unit\Suite
diff --git a/Test/Unit/Exception.php b/Test/Unit/Exception.php
index 7f752e2..04e7b6f 100644
--- a/Test/Unit/Exception.php
+++ b/Test/Unit/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\Test;
*
* Test suite of the exception.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Exception extends Test\Unit\Suite
diff --git a/Test/Unit/Listenable.php b/Test/Unit/Listenable.php
index 241f746..ed185c0 100644
--- a/Test/Unit/Listenable.php
+++ b/Test/Unit/Listenable.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\Test;
*
* Test suite of the listenable interface.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Listenable extends Test\Unit\Suite
diff --git a/Test/Unit/Listener.php b/Test/Unit/Listener.php
index 522b777..59bcfaf 100644
--- a/Test/Unit/Listener.php
+++ b/Test/Unit/Listener.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 listener.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Listener extends Test\Unit\Suite
diff --git a/Test/Unit/Listens.php b/Test/Unit/Listens.php
index 5bd6e6c..8efc672 100644
--- a/Test/Unit/Listens.php
+++ b/Test/Unit/Listens.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 listens trait.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Listens extends Test\Unit\Suite
diff --git a/Test/Unit/Source.php b/Test/Unit/Source.php
index 8f11c8d..01f72c5 100644
--- a/Test/Unit/Source.php
+++ b/Test/Unit/Source.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\Test;
*
* Test suite of the source interface.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Source extends Test\Unit\Suite