@@ -96,7 +96,7 @@ public function testUsedUseInAnnotationWithDisabledSearchAnnotations(): void
9696 'searchAnnotations ' => false ,
9797 ]);
9898
99- self ::assertSame (81 , $ report ->getErrorCount ());
99+ self ::assertSame (85 , $ report ->getErrorCount ());
100100
101101 self ::assertSniffError ($ report , 5 , UnusedUsesSniff::CODE_UNUSED_USE , 'Type Assert is not used in this file. ' );
102102 self ::assertSniffError (
@@ -203,6 +203,15 @@ public function testUsedUseInAnnotationWithDisabledSearchAnnotations(): void
203203 self ::assertSniffError ($ report , 84 , UnusedUsesSniff::CODE_UNUSED_USE , 'Type Comma\After is not used in this file. ' );
204204 self ::assertSniffError ($ report , 85 , UnusedUsesSniff::CODE_UNUSED_USE , 'Type ObjectShapeItem1 is not used in this file. ' );
205205 self ::assertSniffError ($ report , 86 , UnusedUsesSniff::CODE_UNUSED_USE , 'Type ObjectShapeItem2 is not used in this file. ' );
206+ self ::assertSniffError ($ report , 87 , UnusedUsesSniff::CODE_UNUSED_USE , 'Type Doctrine\ORM\Mapping\Column is not used in this file. ' );
207+ self ::assertSniffError ($ report , 88 , UnusedUsesSniff::CODE_UNUSED_USE , 'Type Doctrine\ORM\Mapping\Entity is not used in this file. ' );
208+ self ::assertSniffError (
209+ $ report ,
210+ 89 ,
211+ UnusedUsesSniff::CODE_UNUSED_USE ,
212+ 'Type Doctrine\ORM\Mapping\GeneratedValue is not used in this file. '
213+ );
214+ self ::assertSniffError ($ report , 90 , UnusedUsesSniff::CODE_UNUSED_USE , 'Type Doctrine\ORM\Mapping\Id is not used in this file. ' );
206215 }
207216
208217 public function testUsedUseInAnnotationWithEnabledSearchAnnotations (): void
0 commit comments