Skip to content

Commit

Permalink
Updated Rector to commit d6de24c449d21207b50bd5342e3ddc0836a9265b
Browse files Browse the repository at this point in the history
rectorphp/rector-src@d6de24c [TypeDeclaration] Skip variadic on AddParamTypeBasedOnPHPUnitDataProviderRector (#6150)
  • Loading branch information
TomasVotruba committed Jul 15, 2024
1 parent 075bcc5 commit 2cbd10a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,9 @@ private function refactorClassMethod(ClassMethod $classMethod, Class_ $class, ar
if ($param->type instanceof Node) {
continue;
}
if ($param->variadic) {
continue;
}
$paramTypes = [];
foreach ($dataProviderNodes as $dataProviderNode) {
$paramTypes[] = $this->inferParam($class, $parameterPosition, $dataProviderNode);
Expand Down
4 changes: 2 additions & 2 deletions src/Application/VersionResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = '07a3bdc597ce144a9ccbe370004b437d4118e0c2';
public const PACKAGE_VERSION = 'd6de24c449d21207b50bd5342e3ddc0836a9265b';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2024-07-16 00:28:21';
public const RELEASE_DATE = '2024-07-16 00:34:42';
/**
* @var int
*/
Expand Down

0 comments on commit 2cbd10a

Please sign in to comment.