Skip to content

Commit b94f54c

Browse files
committed
[DeadCode] Skip different default param not typed on RemoveParentDelegatingConstructorRector
1 parent ebf9eb2 commit b94f54c

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?php
2+
3+
namespace Rector\Tests\DeadCode\Rector\ClassMethod\RemoveParentDelegatingConstructorRector\Fixture;
4+
5+
use Exception;
6+
7+
class SkipDifferentDefaultParamNoTyped extends Exception
8+
{
9+
public function __construct($message = 'Email not sent.', ...$args)
10+
{
11+
parent::__construct($message, ...$args);
12+
}
13+
}

0 commit comments

Comments
 (0)