@@ -108,7 +108,7 @@ public function testUsedUseInAnnotationWithDisabledSearchAnnotations(): void
108108 'searchAnnotations ' => false ,
109109 ]);
110110
111- self ::assertSame (17 , $ report ->getErrorCount ());
111+ self ::assertSame (18 , $ 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. ' );
@@ -126,6 +126,8 @@ public function testUsedUseInAnnotationWithDisabledSearchAnnotations(): void
126126 self ::assertSniffError ($ report , 19 , UnusedUsesSniff::CODE_UNUSED_USE , 'Type Foo\Boo\B is not used in this file. ' );
127127 self ::assertSniffError ($ report , 20 , UnusedUsesSniff::CODE_UNUSED_USE , 'Type Foo\Boo\C is not used in this file. ' );
128128 self ::assertSniffError ($ report , 21 , UnusedUsesSniff::CODE_UNUSED_USE , 'Type Foo\Boo\D is not used in this file. ' );
129+ self ::assertSniffError ($ report , 21 , UnusedUsesSniff::CODE_UNUSED_USE , 'Type Foo\Boo\D is not used in this file. ' );
130+ self ::assertSniffError ($ report , 22 , UnusedUsesSniff::CODE_UNUSED_USE , 'Type UglyInlineAnnotation is not used in this file. ' );
129131 }
130132
131133 public function testUsedUseInAnnotationWithEnabledSearchAnnotations (): void
0 commit comments