The Wayback Machine - https://web.archive.org/web/20210605193116/https://github.com/symfony/symfony/issues/41552
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.1 Support #41552

Open
derrabus opened this issue Jun 5, 2021 · 0 comments
Open

[Meta] PHP 8.1 Support #41552

derrabus opened this issue Jun 5, 2021 · 0 comments

Comments

@derrabus
Copy link
Member

@derrabus derrabus commented Jun 5, 2021

Symfony version(s) affected: 4.4, (5.2), 5.3, 5.4, 6.0

Description

In November, PHP 8.1 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.1, Symfony must now blow up.

We do already have a GitHub action that tests all branches with PHP 8.1. This action will always pass, but the output will show us if we're compatible yet: https://github.com/symfony/symfony/runs/2752054643

I will update this issue as we progress.

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.

Components

  • Asset
  • BrowserKit
  • Cache
  • Config
  • Console
    • Implicit conversion from non-compatible float to int
  • CssSelector
  • Debug
  • DependencyInjection
    • Broken test: PhpDumperTest::testServiceSubscriber
    • Deprecations triggered by laminas/laminas-code: laminas/laminas-code#86
  • DomCrawler
    • 48x: DOMImplementation::createDocument(): Passing null to parameter #2 ($qualifiedName) of type string is deprecated
  • Dotenv
  • ErrorHandler
    • Broken test: fatal_with_nested_handlers.phpt
  • EventDispatcher
  • ExpressionLanguage
  • Filesystem
  • Finder
  • Form
  • HttpClient
    • fopen(): Invalid IP Address: 0
  • HttpFoundation
    • Deprecation warnings about incompatible return types in session storage handlers
    • Parse errors in SessionHandlerProxyTest (possibly a PHPUnit issue)
  • HttpKernel
  • Inflector
  • Intl
  • Ldap
  • Lock
    • Deprecations triggered by doctrine/dbal: doctrine/dbal#4662
    • Broken test: SemaphoreStoreTest::testBlockingLocks
    • Implicit conversion from non-compatible float to int
  • Mailer
  • Messenger
    • Deprecations triggered by doctrine/dbal: doctrine/dbal#4662
    • Broken mock in AmazonSqsTransportTest
  • Mime
    • Broken test: MimeTypesTest::testCsvExtension
  • Notifier
  • OptionsResolver
  • Process
  • PropertyAccess
  • PropertyInfo
  • RateLimiter
  • Routing
  • SecurityCore
    • The Serializable interface is deprecated: #41554
  • SecurityCsrf
  • SecurityGuard
    • The Serializable interface is deprecated: #41554
  • SecurityHttp
    • The Serializable interface is deprecated: #41554
  • Serializer
    • Broken mock: JsonSerializableDummy
  • Semaphore
  • Stopwatch
  • String
    • Implicit conversion from non-compatible float 1.5 to int
  • Templating
  • Translation
    • strtoupper(): Passing null to parameter #1 ($string) of type string is deprecated (on 5.3)
  • Uid
  • Validator
    • Broken tests: DebugCommandTest::testOutputWithClassArgument + testOutputWithPathArgument
  • VarDumper
    • Broken test: ReflectionCasterTest::testReflectionParameter
    • Broken test: ReflectionCasterTest::testGenerator
    • Implicit conversion from non-compatible float to int
  • VarExporter
    • Broken test: InstantiatorTest::testInstantiate
  • WebLink
  • Workflow
  • Yaml
    • Implicit conversion from non-compatible float to int

Bridges

Bundles

  • DebugBundle
  • FrameworkBundle
    • Passing null to various internal functions
    • 1x: The Serializable interface is deprecated: #41554
  • SecurityBundle
    • Passing null to various internal functions
    • 1x: The Serializable interface is deprecated: #41554
  • TwigBundle
    • 12x: trim(): Passing null to parameter #1 ($string) of type string is deprecated
  • WebProfilerBundle
    • Passing null to various internal functions
  • WebServerBundle
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
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.