Add phpstan until level 7
This commit is contained in:
1 parent
ab973cab34
commit
bfb7c2c68f
114 files changed
+527
-319
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user