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

@@ -113,7 +113,7 @@ class BorderTest extends TestCase
$border->addPart($borderPart);
$this->assertCount(1, $border->getParts());
/** @var $part BorderPart */
/** @var BorderPart $part */
$part = $border->getParts()[$allowedName];
$this->assertEquals($allowedStyle, $part->getStyle());
@@ -11,7 +11,7 @@ use PHPUnit\Framework\TestCase;
class ColorTest extends TestCase
{
/**
* @return array
* @return array<array>
*/
public function dataProviderForTestRGB()
{
@@ -54,7 +54,7 @@ class ColorTest extends TestCase
}
/**
* @return array
* @return array<array>
*/
public function dataProviderForTestRGBAInvalidColorComponents()
{