[HttpFoundation] Ensure path info has a leading slash

by @alexpott

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/40750/8897fca73024ae6fe672db59a39660371ba65a5b/cs.diff | patch -p0
diff -ru src/Symfony/Component/HttpFoundation/Request.php src/Symfony/Component/HttpFoundation/Request.php
--- src/Symfony/Component/HttpFoundation/Request.php	2022-10-04 09:06:28.316544211 +0000
+++ src/Symfony/Component/HttpFoundation/Request.php	2022-10-04 09:06:46.017387999 +0000
@@ -1454,6 +1454,7 @@
      * @param bool $asResource If true, a resource will be returned
      *
      * @return string|resource
+     *
      * @psalm-return ($asResource is true ? resource : string)
      */
     public function getContent(bool $asResource = false)

0
Common Typos

0
License Headers

0
Pull Request Contributor Headers

0
File Permissions

Issues that cannot be fixed automatically

in Commits list, a `git rebase` is needed to remove any merges
  • Merge branch '6.2' into ensure-path-info-has-leading-slash

0
Exception Messages Formatting

0
Usage of void in test files

0
Use ::class whenever possible

0
Deprecation Messages