@@ -108,7 +108,7 @@ public function testUsedUseInAnnotationWithDisabledSearchAnnotations(): void
108108 'searchAnnotations ' => false ,
109109 ]);
110110
111- self ::assertSame (30 , $ report ->getErrorCount ());
111+ self ::assertSame (32 , $ 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. ' );
@@ -139,6 +139,8 @@ public function testUsedUseInAnnotationWithDisabledSearchAnnotations(): void
139139 self ::assertSniffError ($ report , 32 , UnusedUsesSniff::CODE_UNUSED_USE , 'Type MethodParameter2 is not used in this file. ' );
140140 self ::assertSniffError ($ report , 33 , UnusedUsesSniff::CODE_UNUSED_USE , 'Type MethodParameter3 is not used in this file. ' );
141141 self ::assertSniffError ($ report , 34 , UnusedUsesSniff::CODE_UNUSED_USE , 'Type MethodParameter4 is not used in this file. ' );
142+ self ::assertSniffError ($ report , 35 , UnusedUsesSniff::CODE_UNUSED_USE , 'Type Discriminator\Lorem is not used in this file. ' );
143+ self ::assertSniffError ($ report , 36 , UnusedUsesSniff::CODE_UNUSED_USE , 'Type Discriminator\Ipsum is not used in this file. ' );
142144 }
143145
144146 public function testUsedUseInAnnotationWithEnabledSearchAnnotations (): void
0 commit comments