Fix phpstan warning
parent
537402f814
commit
1e08097a17
|
@ -341,6 +341,7 @@ EOF;
|
||||||
}
|
}
|
||||||
$filesystem->filePutContentsIfModified($targetDir.'/autoload_static.php', $this->getStaticFile($suffix, $targetDir, $vendorPath, $basePath, $staticPhpVersion));
|
$filesystem->filePutContentsIfModified($targetDir.'/autoload_static.php', $this->getStaticFile($suffix, $targetDir, $vendorPath, $basePath, $staticPhpVersion));
|
||||||
$checkPlatform = $config->get('platform-check') && $this->ignorePlatformReqs !== true;
|
$checkPlatform = $config->get('platform-check') && $this->ignorePlatformReqs !== true;
|
||||||
|
$platformCheckContent = null;
|
||||||
if ($checkPlatform) {
|
if ($checkPlatform) {
|
||||||
$platformCheckContent = $this->getPlatformCheck($packageMap, $this->ignorePlatformReqs ?: array());
|
$platformCheckContent = $this->getPlatformCheck($packageMap, $this->ignorePlatformReqs ?: array());
|
||||||
if (null === $platformCheckContent) {
|
if (null === $platformCheckContent) {
|
||||||
|
|
Loading…
Reference in New Issue