Add phpstan until level 7

This commit is contained in:
Antoine Lamirault committed 2021-09-18 18:09:14 +02:00
1 parent ab973cab34
commit bfb7c2c68f
114 files changed
+527 -319

No files matched your search

+7 -1
View File
@@ -92,7 +92,13 @@ trait TestUsingResource
*/
protected function getTempFolderPath()
{
return realpath($this->tempFolderPath);
$path = realpath($this->tempFolderPath);
if ($path === false) {
throw new \RuntimeException(sprintf("Realpath of '%s' failed.", $path));
}
return $path;
}
/**