Skip to content

Commit

Permalink
Include baseline
Browse files Browse the repository at this point in the history
  • Loading branch information
simensen committed Apr 25, 2023
1 parent e5b3bec commit 40051df
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
11 changes: 11 additions & 0 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
parameters:
ignoreErrors:
-
message: "#^PHPDoc tag @var for variable \\$aggregateRootType contains generic interface Dflydev\\\\EventSauce\\\\Support\\\\AggregateRoot\\\\AggregateRootIdAware but does not specify its types\\: T$#"
count: 1
path: src/Messages/MessageInflection.php

-
message: "#^PHPDoc tag @var for variable \\$aggregateRootTypeString contains generic interface Dflydev\\\\EventSauce\\\\Support\\\\AggregateRoot\\\\AggregateRootIdAware but does not specify its types\\: T$#"
count: 1
path: src/Messages/MessageInflection.php
8 changes: 4 additions & 4 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
includes:

- phpstan-baseline.neon

parameters:

paths:
Expand All @@ -7,7 +11,3 @@ parameters:
level: max

checkMissingIterableValueType: false
checkGenericClassInNonGenericObjectType: false

# TODO Check later
treatPhpDocTypesAsCertain: false

0 comments on commit 40051df

Please sign in to comment.