Skip to content

Commit d7a27e3

Browse files
committedMay 5, 2018
Allow phpstan.
1 parent 595daf5 commit d7a27e3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
 

‎src/Console/Installer.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,9 @@ public static function postInstall(Event $event)
8383

8484
static::setSecuritySalt($rootDir, $io);
8585

86-
if (class_exists('\Cake\Codeception\Console\Installer')) {
87-
\Cake\Codeception\Console\Installer::customizeCodeceptionBinary($event);
86+
$class = 'Cake\Codeception\Console\Installer';
87+
if (class_exists($class)) {
88+
$class::customizeCodeceptionBinary($event);
8889
}
8990
}
9091

0 commit comments

Comments
 (0)