Skip to content

Commit b3cc5d5

Browse files
committed
Update phpstan-phpunit to 2.0.8
1 parent aa6c413 commit b3cc5d5

8 files changed

+1
-26
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"nette/utils": "^2.3.0 || ^3.0.0",
2525
"php-parallel-lint/php-parallel-lint": "^1.2",
2626
"phpstan/phpstan-deprecation-rules": "^2.0",
27-
"phpstan/phpstan-phpunit": "^2.0",
27+
"phpstan/phpstan-phpunit": "^2.0.8",
2828
"phpstan/phpstan-strict-rules": "^2.0",
2929
"phpunit/phpunit": "^9.6"
3030
},

tests/Reflection/Nette/HtmlClassReflectionExtensionTest.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ protected function setUp(): void
2121
$this->extension = new HtmlClassReflectionExtension();
2222
}
2323

24-
/**
25-
* @return mixed[]
26-
*/
2724
public function dataHasMethod(): array
2825
{
2926
return [
@@ -62,9 +59,6 @@ public function testGetMethod(): void
6259
self::assertSame(Html::class, $parametersAcceptor->getReturnType()->describe(VerbosityLevel::value()));
6360
}
6461

65-
/**
66-
* @return mixed[]
67-
*/
6862
public function dataHasProperty(): array
6963
{
7064
return [

tests/Reflection/Nette/NetteObjectClassReflectionExtensionTest.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ protected function setUp(): void
2121
$this->extension = new NetteObjectClassReflectionExtension();
2222
}
2323

24-
/**
25-
* @return mixed[]
26-
*/
2724
public function dataHasMethod(): array
2825
{
2926
$data = [];
@@ -62,9 +59,6 @@ public function testHasMethod(string $className, string $method, bool $result):
6259
self::assertSame($result, $this->extension->hasMethod($classReflection, $method));
6360
}
6461

65-
/**
66-
* @return mixed[]
67-
*/
6862
public function dataHasProperty(): array
6963
{
7064
$data = [];

tests/Type/Nette/ComponentModelArrayAccessDynamicReturnTypeExtensionTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77
class ComponentModelArrayAccessDynamicReturnTypeExtensionTest extends TypeInferenceTestCase
88
{
99

10-
/**
11-
* @return iterable<string, mixed[]>
12-
*/
1310
public function dataFileAsserts(): iterable
1411
{
1512
yield from self::gatherAssertTypes(__DIR__ . '/data/componentModelArrayAccess.php');

tests/Type/Nette/ComponentModelDynamicReturnTypeExtensionTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77
class ComponentModelDynamicReturnTypeExtensionTest extends TypeInferenceTestCase
88
{
99

10-
/**
11-
* @return iterable<string, mixed[]>
12-
*/
1310
public function dataFileAsserts(): iterable
1411
{
1512
yield from self::gatherAssertTypes(__DIR__ . '/data/componentModel.php');

tests/Type/Nette/FormContainerValuesDynamicReturnTypeExtensionTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77
final class FormContainerValuesDynamicReturnTypeExtensionTest extends TypeInferenceTestCase
88
{
99

10-
/**
11-
* @return iterable<string, mixed[]>
12-
*/
1310
public static function dataFileAsserts(): iterable
1411
{
1512
yield from self::gatherAssertTypes(__DIR__ . '/data/FormContainerModel.php');

tests/Type/Nette/MultiplierTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
class MultiplierTest extends TypeInferenceTestCase
88
{
99

10-
/** @return iterable<mixed> */
1110
public function dataFileAsserts(): iterable
1211
{
1312
yield from self::gatherAssertTypes(__DIR__ . '/data/multiplier.php');

tests/Type/Nette/StringsMatchDynamicReturnTypeExtensionTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77
class StringsMatchDynamicReturnTypeExtensionTest extends TypeInferenceTestCase
88
{
99

10-
/**
11-
* @return iterable<string, mixed[]>
12-
*/
1310
public function dataFileAsserts(): iterable
1411
{
1512
yield from self::gatherAssertTypes(__DIR__ . '/data/strings-match.php');

0 commit comments

Comments
 (0)