File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
tests/Rules/Doctrine/NoDocumentMockingRule Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 1616use PHPStan \Rules \Rule ;
1717use PHPStan \Testing \RuleTestCase ;
1818use PHPUnit \Framework \Attributes \DataProvider ;
19+ use Symplify \PHPStanRules \Rules \Doctrine \NoDocumentMockingRule ;
1920use Symplify \PHPStanRules \Rules \Doctrine \NoGetRepositoryOnServiceRepositoryEntityRule ;
2021use Symplify \PHPStanRules \Tests \Rules \Doctrine \NoGetRepositoryOnServiceRepositoryEntityRule \Source \Repository \SomeServiceRepository ;
2122>>>>>>> 0 ffdc220 (add test)
@@ -66,9 +67,13 @@ protected function getRule(): Rule
6667=======
6768 protected function getRule (): Rule
6869 {
70+ <<<<<<< HEAD
6971 $ reflectionProvider = self ::getContainer ()->getByType (ReflectionProvider::class);
7072
7173 return new NoGetRepositoryOnServiceRepositoryEntityRule ($ reflectionProvider );
7274>>>>>>> 0 ffdc220 (add test)
75+ =======
76+ return new NoDocumentMockingRule ();
77+ >>>>>>> d892b6fc (add test)
7378 }
7479}
You can’t perform that action at this time.
0 commit comments