Skip to content

Commit 3f248d8

Browse files
committed
[composer] autoload tests with PSR-4
1 parent 8099595 commit 3f248d8

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

composer.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
"phpstan/phpstan-php-parser": "^1.1",
2626
"phpstan/phpstan-phpunit": "^1.0",
2727
"phpstan/phpstan-strict-rules": "^1.0",
28-
"phpunit/phpunit": "^9.5"
28+
"phpunit/phpunit": "^9.5",
29+
"tracy/tracy": "^2.9"
2930
},
3031
"config": {
3132
"platform": {
@@ -50,6 +51,9 @@
5051
}
5152
},
5253
"autoload-dev": {
54+
"psr-4": {
55+
"PHPStan\\Tests\\": "tests/"
56+
},
5357
"classmap": [
5458
"tests/"
5559
]

tests/Type/Nette/FormContainerValuesDynamicReturnTypeExtensionTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php declare(strict_types = 1);
22

3-
namespace PHPStan\Type\Nette;
3+
namespace PHPStan\Tests\Type\Nette;
44

55
use PhpParser\Node\Arg;
66
use PhpParser\Node\Expr;
@@ -13,6 +13,7 @@
1313
use PHPStan\Type\Generic\TemplateTypeMap;
1414
use PHPStan\Type\IterableType;
1515
use PHPStan\Type\MixedType;
16+
use PHPStan\Type\Nette\FormContainerValuesDynamicReturnTypeExtension;
1617
use PHPStan\Type\ObjectType;
1718
use PHPStan\Type\UnionType;
1819
use PHPStan\Type\VerbosityLevel;

0 commit comments

Comments
 (0)