Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[HttpFoundation] UploadedFiles deprecations #9005

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
javiereguiluz opened this issue Jan 8, 2018 · 0 comments · Fixed by #9593
Closed

[HttpFoundation] UploadedFiles deprecations #9005

javiereguiluz opened this issue Jan 8, 2018 · 0 comments · Fixed by #9593
Labels
bug hasPR A Pull Request has already been submitted for this issue. HttpFoundation Status: Needs Review
Milestone

Comments

@javiereguiluz
Copy link
Member

  • Passing a size in the constructor of src/Symfony/Component/HttpFoundation/File/UploadedFile.php is deprecated since 4.1 and will be removed in 5.0.
  • UploadedFile::getClientSize is deprecated since 4.1 and will be removed in 5.0. Use getSize() instead.

symfony/symfony#25324

@javiereguiluz javiereguiluz added this to the 4.1 milestone Jan 8, 2018
@javiereguiluz javiereguiluz added the hasPR A Pull Request has already been submitted for this issue. label Apr 16, 2018
javiereguiluz added a commit that referenced this issue Apr 16, 2018
This PR was merged into the master branch.

Discussion
----------

[HttpFoundation] UploadedFiles deprecations

This fixes #9005

Commits
-------

cb583a3 [HttpFoundation] UploadedFiles deprecations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug hasPR A Pull Request has already been submitted for this issue. HttpFoundation Status: Needs Review
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants