Skip to content

Commit

Permalink
Refactor prophecy to native phpunit test
Browse files Browse the repository at this point in the history
  • Loading branch information
core23 committed Jun 6, 2020
1 parent 6aefd52 commit 58bc144
Show file tree
Hide file tree
Showing 2 changed files with 203 additions and 197 deletions.
10 changes: 0 additions & 10 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -140,16 +140,6 @@ parameters:
count: 1
path: tests/BundleIntegrationTest.php

-
message: "#^Parameter \\#1 \\$factory of class Core23\\\\MenuBundle\\\\Menu\\\\ConfigBuilder constructor expects Knp\\\\Menu\\\\FactoryInterface, object given\\.$#"
count: 7
path: tests/Menu/ConfigBuilderTest.php

-
message: "#^Parameter \\#2 \\$translator of class Core23\\\\MenuBundle\\\\Menu\\\\ConfigBuilder constructor expects Symfony\\\\Contracts\\\\Translation\\\\TranslatorInterface, object given\\.$#"
count: 7
path: tests/Menu/ConfigBuilderTest.php

-
message: "#^Parameter \\#1 \\$builder of class Core23\\\\MenuBundle\\\\Provider\\\\ConfigProvider constructor expects Core23\\\\MenuBundle\\\\Menu\\\\ConfigBuilderInterface, object given\\.$#"
count: 4
Expand Down
Loading

0 comments on commit 58bc144

Please sign in to comment.