Fix phpstan warning

main
Jordi Boggiano 4 years ago
parent 537402f814
commit 1e08097a17
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC

@ -341,6 +341,7 @@ EOF;
}
$filesystem->filePutContentsIfModified($targetDir.'/autoload_static.php', $this->getStaticFile($suffix, $targetDir, $vendorPath, $basePath, $staticPhpVersion));
$checkPlatform = $config->get('platform-check') && $this->ignorePlatformReqs !== true;
$platformCheckContent = null;
if ($checkPlatform) {
$platformCheckContent = $this->getPlatformCheck($packageMap, $this->ignorePlatformReqs ?: array());
if (null === $platformCheckContent) {

Loading…
Cancel
Save