Skip to content
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

[Meta] PHP 8.2 Support #44282

Open
63 of 65 tasks
derrabus opened this issue Nov 25, 2021 · 2 comments
Open
63 of 65 tasks

[Meta] PHP 8.2 Support #44282

derrabus opened this issue Nov 25, 2021 · 2 comments

Comments

@derrabus
Copy link
Member

@derrabus derrabus commented Nov 25, 2021

Symfony version(s) affected

(4.4), (5.3), 5.4, (6.0), 6.1, 6.2

Description

In November 2022, PHP 8.2 will be released and we should be prepared. In this PR, I'd like to track the efforts necessary to make all actively maintained branches ready for that release.

Ready means: if an application uses features of PHP 8.2, Symfony must not blow up.

We do already have a GitHub action that tests all branches with PHP 8.2. This action will always pass, but the output will show us if we're compatible yet.

I will update this issue as we progress.

How to Contribute

If you want to join the effort, please start with the components and bridges. Fixing those will also fix many broken bundle tests. Reminder: We treat compatibility issues as bugs. As always, please fix bugs on the lowest maintained branch that suffers from the bug.

Progress

Components

  • Asset
  • BrowserKit
  • Cache
  • Config
  • Console
  • CssSelector
  • Debug
  • DependencyInjection
  • DomCrawler
  • Dotenv
  • ErrorHandler
  • EventDispatcher
  • ExpressionLanguage
  • Filesystem
  • Finder
  • Form
  • HttpClient
  • HttpFoundation
  • HttpKernel
  • Inflector
  • Intl
  • Ldap
  • Lock
  • Mailer
  • Messenger
  • Mime
  • Notifier
  • OptionsResolver
  • PasswordHasher
  • Process
  • PropertyAccess
  • PropertyInfo
  • RateLimiter
  • Routing
  • SecurityCore
  • SecurityCsrf
  • SecurityGuard
  • SecurityHttp
  • Serializer
  • Semaphore
  • Stopwatch
  • String
  • Templating
  • Translation
  • Uid
  • Validator
  • VarDumper
  • VarExporter
  • WebLink
  • Workflow
  • Yaml

Bridges

  • Doctrine
  • Monolog
  • PhpUnit
  • ProxyManager
  • Twig

Bundles

  • DebugBundle
  • FrameworkBundle
  • SecurityBundle
  • TwigBundle
  • WebProfilerBundle
  • WebServerBundle
@stof
Copy link
Member

@stof stof commented Nov 26, 2021

To me, this is too early to mark component as compatible in the check list. PHP itself has not done the changes for PHP 8.2, so what your checkbox means for now is compatibility with PHP 8.1 plus a few commits, not with PHP 8.2.

Loading

@derrabus
Copy link
Member Author

@derrabus derrabus commented Nov 26, 2021

We can always un-check components if a new change is introduced to PHP that breaks a component. We did so on #41552 all the time.

But we can turn all those checkboxes into bullet points if that makes the list less confusing.

Loading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants