Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency laminas/laminas-coding-standard to v3 #57

Merged
merged 2 commits into from
Oct 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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