Skip to content

Commit 8a28690

Browse files
authored
[TASK] Enable treatPhpDocTypesAsCertain (#51)
1 parent 56e44d7 commit 8a28690

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

phpstan.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
parameters:
22
level: max
33
phpVersion: 70200
4-
treatPhpDocTypesAsCertain: false
4+
treatPhpDocTypesAsCertain: true
55

66
paths:
77
- src

tests/Unit/SetupTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ protected function getFilename(string $filename, ?array $replacePairs = null): s
3434

3535
/**
3636
* @param array<string, string> $existingFiles
37-
* @param array<string, string> $expectedFiles
37+
* @param array<string, bool|string> $expectedFiles
3838
*/
3939
private function assertScenario(
4040
string $testType,
@@ -75,7 +75,7 @@ private function assertScenario(
7575
* @dataProvider scenariosProvider
7676
*
7777
* @param array<string, string> $existingFiles
78-
* @param array<string, string> $expectedFiles
78+
* @param array<string, bool|string> $expectedFiles
7979
*/
8080
public function testForProjectScenarios(
8181
array $existingFiles,
@@ -91,7 +91,7 @@ public function testForProjectScenarios(
9191
* @dataProvider scenariosProvider
9292
*
9393
* @param array<string, string> $existingFiles
94-
* @param array<string, string> $expectedFiles
94+
* @param array<string, bool|string> $expectedFiles
9595
*/
9696
public function testForExtensionScenarios(
9797
array $existingFiles,

0 commit comments

Comments
 (0)