[DependencyInjection] Add support for defining service ids, named autowiring aliases, index and priority via the `#[Service]` attribute on PHP 8

by @nicolas-grekas

Some issues have been detected in this pull request

Issues that can be fixed by applying a patch

Review the proposed patch then download it to apply it manually or execute the following command from the repository root directory:

curl https://fabbot.io/patch/symfony/symfony/40248/635fee77162dcd07e92cba02a3997d8855b08afb/cs.diff | patch -p0
diff -ru src/Symfony/Component/DependencyInjection/Attribute/Service.php src/Symfony/Component/DependencyInjection/Attribute/Service.php
--- src/Symfony/Component/DependencyInjection/Attribute/Service.php	2021-02-25 13:05:36.631052330 +0000
+++ src/Symfony/Component/DependencyInjection/Attribute/Service.php	2021-02-25 13:05:39.617993399 +0000
@@ -19,7 +19,7 @@
  *
  * @author Nicolas Grekas <p@tchwork.com>
  */
-#[\Attribute(\Attribute::TARGET_CLASS | \Attribute::IS_REPEATABLE)]
+#[Attribute(\Attribute::TARGET_CLASS | \Attribute::IS_REPEATABLE)]
 class Service
 {
     public function __construct(

0
Common Typos

0
License Headers

0
Pull Request Contributor Headers

0
File Permissions

0
Merge Commits

0
Exception Messages Formatting

0
Usage of void in test files

0
Use ::class whenever possible