@@ -791,34 +791,34 @@ static function (ChildDefinition $definition, AsPeriodicTask|AsCronTask $attribu
791
791
}
792
792
793
793
$ container ->registerForAutoconfiguration (CompilerPassInterface::class)
794
- ->addTag ('container.excluded ' , ['source ' => 'because it \'s a compiler pass ' ])-> setAbstract ( true ) ;
794
+ ->addTag ('container.excluded ' , ['source ' => 'because it \'s a compiler pass ' ]);
795
795
$ container ->registerForAutoconfiguration (Constraint::class)
796
- ->addTag ('container.excluded ' , ['source ' => 'because it \'s a validation constraint ' ])-> setAbstract ( true ) ;
796
+ ->addTag ('container.excluded ' , ['source ' => 'because it \'s a validation constraint ' ]);
797
797
$ container ->registerForAutoconfiguration (TestCase::class)
798
- ->addTag ('container.excluded ' , ['source ' => 'because it \'s a test case ' ])-> setAbstract ( true ) ;
798
+ ->addTag ('container.excluded ' , ['source ' => 'because it \'s a test case ' ]);
799
799
$ container ->registerForAutoconfiguration (\UnitEnum::class)
800
- ->addTag ('container.excluded ' , ['source ' => 'because it \'s an enum ' ])-> setAbstract ( true ) ;
800
+ ->addTag ('container.excluded ' , ['source ' => 'because it \'s an enum ' ]);
801
801
$ container ->registerAttributeForAutoconfiguration (AsMessage::class, static function (ChildDefinition $ definition ) {
802
- $ definition ->addTag ('container.excluded ' , ['source ' => 'because it \'s a messenger message ' ])-> setAbstract ( true ) ;
802
+ $ definition ->addTag ('container.excluded ' , ['source ' => 'because it \'s a messenger message ' ]);
803
803
});
804
804
$ container ->registerAttributeForAutoconfiguration (\Attribute::class, static function (ChildDefinition $ definition ) {
805
- $ definition ->addTag ('container.excluded ' , ['source ' => 'because it \'s an attribute ' ])-> setAbstract ( true ) ;
805
+ $ definition ->addTag ('container.excluded ' , ['source ' => 'because it \'s an attribute ' ]);
806
806
});
807
807
$ container ->registerAttributeForAutoconfiguration (Entity::class, static function (ChildDefinition $ definition ) {
808
- $ definition ->addTag ('container.excluded ' , ['source ' => 'because it \'s a doctrine entity ' ])-> setAbstract ( true );
808
+ $ definition ->addTag ('container.excluded ' , ['source ' => 'because it \'s a Doctrine entity ' ]);
809
809
});
810
810
$ container ->registerAttributeForAutoconfiguration (Embeddable::class, static function (ChildDefinition $ definition ) {
811
- $ definition ->addTag ('container.excluded ' , ['source ' => 'because it \'s a doctrine embeddable ' ])-> setAbstract ( true );
811
+ $ definition ->addTag ('container.excluded ' , ['source ' => 'because it \'s a Doctrine embeddable ' ]);
812
812
});
813
813
$ container ->registerAttributeForAutoconfiguration (MappedSuperclass::class, static function (ChildDefinition $ definition ) {
814
- $ definition ->addTag ('container.excluded ' , ['source ' => 'because it \'s a doctrine mapped superclass ' ])-> setAbstract ( true );
814
+ $ definition ->addTag ('container.excluded ' , ['source ' => 'because it \'s a Doctrine mapped superclass ' ]);
815
815
});
816
816
817
817
$ container ->registerAttributeForAutoconfiguration (JsonStreamable::class, static function (ChildDefinition $ definition , JsonStreamable $ attribute ) {
818
818
$ definition ->addTag ('json_streamer.streamable ' , [
819
819
'object ' => $ attribute ->asObject ,
820
820
'list ' => $ attribute ->asList ,
821
- ])->addTag ('container.excluded ' , ['source ' => 'because it \'s a streamable JSON ' ])-> setAbstract ( true ) ;
821
+ ])->addTag ('container.excluded ' , ['source ' => 'because it \'s a streamable JSON ' ]);
822
822
});
823
823
824
824
if (!$ container ->getParameter ('kernel.debug ' )) {
0 commit comments