Skip to content

Commit 93b5d0a

Browse files
committed
Fix the issue with CatchExceptionNameMatchingTypeRector
1 parent 7f5f5c4 commit 93b5d0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Plugin.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,12 +109,12 @@ private function installNpm(IOInterface $io): void
109109

110110
try {
111111
$check->run();
112-
} catch (RuntimeException $e) {
112+
} catch (RuntimeException $runtimeException) {
113113
$io->write(sprintf(
114114
'<warning>[%s]</warning> failed to execute "%s --version": %s',
115115
self::PACKAGE_NAME,
116116
$npmBin,
117-
$e->getMessage()
117+
$runtimeException->getMessage()
118118
));
119119
return;
120120
}

0 commit comments

Comments
 (0)