We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7648a1 commit efde4dcCopy full SHA for efde4dc
1 file changed
…BehatPHPUnitAssertToWebmozzartRector.php …/BehatPHPUnitAssertToWebmozartRector.phprules/CodeQuality/Rector/ClassMethod/BehatPHPUnitAssertToWebmozzartRector.php renamed to rules/CodeQuality/Rector/ClassMethod/BehatPHPUnitAssertToWebmozartRector.php
@@ -25,7 +25,7 @@ final class BehatPHPUnitAssertToWebmozartRector extends AbstractRector
25
/**
26
* @var array<string, string>
27
*/
28
- private const array PHPUNIT_TO_WEBMOZZART_METHODS = [
+ private const array PHPUNIT_TO_WEBMOZART_METHODS = [
29
// Boolean
30
'assertTrue' => 'true',
31
'assertFalse' => 'false',
@@ -173,7 +173,7 @@ public function refactor(Node $node): ?ClassMethod
173
}
174
175
// changed method name
176
- $webmozartMethodName = self::PHPUNIT_TO_WEBMOZZART_METHODS[$phpunitMethodName] ?? null;
+ $webmozartMethodName = self::PHPUNIT_TO_WEBMOZART_METHODS[$phpunitMethodName] ?? null;
177
if ($webmozartMethodName === null) {
178
return null;
179
0 commit comments