Ban DateTime from HttpFoundation component

by @WebMamba

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/47802/cfe74d0f484760b850c7c688fd116385067d71ad/cs.diff | patch -p0
diff -ru src/Symfony/Component/HttpFoundation/Response.php src/Symfony/Component/HttpFoundation/Response.php
--- src/Symfony/Component/HttpFoundation/Response.php	2022-10-06 14:21:11.968760122 +0000
+++ src/Symfony/Component/HttpFoundation/Response.php	2022-10-06 14:21:20.233131423 +0000
@@ -710,7 +710,7 @@
     }
 
     /**
-     * Returns the value of the Expires headers as a DateTimeImmutable instance
+     * Returns the value of the Expires headers as a DateTimeImmutable instance.
      *
      * @final
      */

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

0
Deprecation Messages