Skip to content

Commit

Permalink
Merge pull request #57 from laminas/renovate/major-laminas
Browse files Browse the repository at this point in the history
Update dependency laminas/laminas-coding-standard to v3
  • Loading branch information
gsteel authored Oct 30, 2024
2 parents b758ba9 + 42b7712 commit c3fd9ae
Show file tree
Hide file tree
Showing 10 changed files with 58 additions and 66 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"php": "~8.1.0 || ~8.2.0 || ~8.3.0"
},
"require-dev": {
"laminas/laminas-coding-standard": "~2.5.0",
"laminas/laminas-coding-standard": "~3.0.0",
"laminas/laminas-stdlib": "^3.20",
"phpbench/phpbench": "^1.3.1",
"phpunit/phpunit": "^10.5.38",
Expand Down
107 changes: 57 additions & 50 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions src/EventManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ class EventManager implements EventManagerInterface
*
* Allows optionally specifying identifier(s) to use to pull signals from a
* SharedEventManagerInterface.
*
* @param array $identifiers
*/
public function __construct(?SharedEventManagerInterface $sharedEventManager = null, array $identifiers = [])
{
Expand Down
1 change: 0 additions & 1 deletion src/Filter/FilterInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ interface FilterInterface
* Execute the filter chain
*
* @param string|object $context
* @param array $params
* @return mixed
*/
public function run($context, array $params = []);
Expand Down
1 change: 0 additions & 1 deletion src/Filter/FilterIterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ public function remove($datum)
* Iterates and calls the next filter in the chain.
*
* @param mixed $context
* @param array $params
* @param FilterIterator $chain
* @return mixed
*/
Expand Down
4 changes: 0 additions & 4 deletions src/LazyEventListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ class LazyEventListener extends LazyListener
/** @var null|int Priority at which to attach. */
private $priority;

/**
* @param array $definition
* @param array $env
*/
public function __construct(array $definition, ContainerInterface $container, array $env = [])
{
parent::__construct($definition, $container, $env);
Expand Down
4 changes: 0 additions & 4 deletions src/LazyListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,6 @@ class LazyListener
/** @var string Service name of listener. */
private $service;

/**
* @param array $definition
* @param array $env
*/
public function __construct(array $definition, ContainerInterface $container, array $env = [])
{
if (
Expand Down
1 change: 0 additions & 1 deletion src/LazyListenerAggregate.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ class LazyListenerAggregate implements ListenerAggregateInterface
*
* @param array $listeners LazyEventListener instances or array definitions
* to pass to the LazyEventListener constructor.
* @param array $env
* @throws Exception\InvalidArgumentException For invalid listener items.
*/
public function __construct(array $listeners, ContainerInterface $container, array $env = [])
Expand Down
1 change: 0 additions & 1 deletion src/SharedEventManagerInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ public function detach(callable $listener, $identifier = null, $eventName = null
/**
* Retrieve all listeners for given identifiers
*
* @param array $identifiers
* @param string $eventName
* @return array
*/
Expand Down
1 change: 0 additions & 1 deletion src/Test/EventListenerIntrospectionTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ private function getArrayOfListenersForEvent($event, EventManager $events)
/**
* Generator for traversing listeners in priority order.
*
* @param array $queue
* @param bool $withPriority When true, yields priority as key.
* @return iterable
*/
Expand Down

0 comments on commit c3fd9ae

Please sign in to comment.