@@ -108,7 +108,7 @@ public function testUsedUseInAnnotationWithDisabledSearchAnnotations(): void
108108 'searchAnnotations ' => false ,
109109 ]);
110110
111- self ::assertSame (32 , $ report ->getErrorCount ());
111+ self ::assertSame (36 , $ report ->getErrorCount ());
112112
113113 self ::assertSniffError ($ report , 5 , UnusedUsesSniff::CODE_UNUSED_USE , 'Type Assert is not used in this file. ' );
114114 self ::assertSniffError ($ report , 6 , UnusedUsesSniff::CODE_UNUSED_USE , 'Type Doctrine\ORM\Mapping (as ORM) is not used in this file. ' );
@@ -141,6 +141,10 @@ public function testUsedUseInAnnotationWithDisabledSearchAnnotations(): void
141141 self ::assertSniffError ($ report , 34 , UnusedUsesSniff::CODE_UNUSED_USE , 'Type MethodParameter4 is not used in this file. ' );
142142 self ::assertSniffError ($ report , 35 , UnusedUsesSniff::CODE_UNUSED_USE , 'Type Discriminator\Lorem is not used in this file. ' );
143143 self ::assertSniffError ($ report , 36 , UnusedUsesSniff::CODE_UNUSED_USE , 'Type Discriminator\Ipsum is not used in this file. ' );
144+ self ::assertSniffError ($ report , 37 , UnusedUsesSniff::CODE_UNUSED_USE , 'Type Outer is not used in this file. ' );
145+ self ::assertSniffError ($ report , 38 , UnusedUsesSniff::CODE_UNUSED_USE , 'Type Inner1 is not used in this file. ' );
146+ self ::assertSniffError ($ report , 39 , UnusedUsesSniff::CODE_UNUSED_USE , 'Type Inner2 is not used in this file. ' );
147+ self ::assertSniffError ($ report , 40 , UnusedUsesSniff::CODE_UNUSED_USE , 'Type Inner3 is not used in this file. ' );
144148 }
145149
146150 public function testUsedUseInAnnotationWithEnabledSearchAnnotations (): void
0 commit comments