Skip to content

Commit

Permalink
[TASK] Enable treatPhpDocTypesAsCertain (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
gilbertsoft authored Aug 12, 2022
1 parent 56e44d7 commit 8a28690
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
parameters:
level: max
phpVersion: 70200
treatPhpDocTypesAsCertain: false
treatPhpDocTypesAsCertain: true

paths:
- src
Expand Down
6 changes: 3 additions & 3 deletions tests/Unit/SetupTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ protected function getFilename(string $filename, ?array $replacePairs = null): s

/**
* @param array<string, string> $existingFiles
* @param array<string, string> $expectedFiles
* @param array<string, bool|string> $expectedFiles
*/
private function assertScenario(
string $testType,
Expand Down Expand Up @@ -75,7 +75,7 @@ private function assertScenario(
* @dataProvider scenariosProvider
*
* @param array<string, string> $existingFiles
* @param array<string, string> $expectedFiles
* @param array<string, bool|string> $expectedFiles
*/
public function testForProjectScenarios(
array $existingFiles,
Expand All @@ -91,7 +91,7 @@ public function testForProjectScenarios(
* @dataProvider scenariosProvider
*
* @param array<string, string> $existingFiles
* @param array<string, string> $expectedFiles
* @param array<string, bool|string> $expectedFiles
*/
public function testForExtensionScenarios(
array $existingFiles,
Expand Down

0 comments on commit 8a28690

Please sign in to comment.