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
@@ -15,7 +15,7 @@ class WriterPerfTest extends TestCase
|
||||
use TestUsingResource;
|
||||
|
||||
/**
|
||||
* @return array
|
||||
* @return array<array>
|
||||
*/
|
||||
public function dataProviderForTestPerfWhenWritingOneMillionRowsXLSX()
|
||||
{
|
||||
@@ -102,7 +102,7 @@ class WriterPerfTest extends TestCase
|
||||
|
||||
/**
|
||||
* @param string $filePath
|
||||
* @return string
|
||||
* @return int
|
||||
*/
|
||||
private function getLasRowNumberForFile($filePath)
|
||||
{
|
||||
@@ -135,7 +135,7 @@ class WriterPerfTest extends TestCase
|
||||
copy($filePath, $tmpFile);
|
||||
|
||||
// Get the last 200 characters
|
||||
$lastCharacters = `tail -c $numCharacters $tmpFile`;
|
||||
$lastCharacters = shell_exec("tail -c $numCharacters $tmpFile");
|
||||
|
||||
// remove the temporary file
|
||||
unlink($tmpFile);
|
||||
|
||||
Reference in new issue
Block a user