Skip to content

Conversation

@derrabus
Copy link
Member

@derrabus derrabus commented Jun 6, 2021

Q A
Branch? 5.3
Bug fix? yes
New feature? no
Deprecations? no
Tickets Part of #41552
License MIT
Doc PR N/A

Signed-off-by: Alexander M. Turek <[email protected]>
@nicolas-grekas
Copy link
Member

Thank you @derrabus.

@nicolas-grekas nicolas-grekas merged commit c762e1c into symfony:5.3 Jun 6, 2021
@derrabus derrabus deleted the bugfix/asset-strpos branch June 6, 2021 09:19
nicolas-grekas added a commit that referenced this pull request Nov 6, 2021
…haljusiega)

This PR was merged into the 5.3 branch.

Discussion
----------

[Asset][Security] Fixed leftover deprecations PHP 8.1

| Q             | A
| ------------- | ---
| Branch?       | 5.3
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | Part of #41552, leftover #41559
| License       | MIT
| Doc PR        | ~

Found during testing **PHP 8.1** and Symfony **5.4.0-BETA1**

1. src/Symfony/Component/Asset/VersionStrategy/JsonManifestVersionStrategy.php
 ![obraz](https://user-images.githubusercontent.com/16488888/140545163-837ea4c4-907b-44e7-8f8e-7454f7d66be3.png)

Looks like #41559 didn't solve the deprecation completely.

2. src/Symfony/Component/Security/Http/Authenticator/JsonLoginAuthenticator.php
![obraz](https://user-images.githubusercontent.com/16488888/140545313-794c0136-cef8-4434-a8c2-21c3d77ef196.png)

`Request::getRequestFormat()` and `Request::getContentType()` may return nulls.

Commits
-------

86934e6 fixed leftover deprecations PHP 8.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants