This week, Symfony development activity focused on adding support for the upcoming PHP 7.4 and 8.0 versions. In addition, lots of tests were updated to add support for PHPUnit 8.
Symfony development highlights
This week, 113 pull requests were merged (79 in code and 34 in docs) and 55 issues were closed (43 in code and 12 in docs). Excluding merges, 43 authors made 6,925 additions and 7,697 deletions. See details for code and docs.
- de490b4: [HttpKernel] do not stopwatch sections when profiler is disabled
- 6763172: [DependencyInjection] fixed dumping Doctrine-like service graphs
- 5c67a67: [Config] don't add object-value of static properties in the signature of container metadata-cache
- 3f43186: [Console] fixed a warning on PHP 7.4
- b706372: [Cache] fixed warnings on PHP 7.4
- 1143b02: [HttpFoundation] fixed getMaxFilesize
- f1cb4b5: [Yaml] fixed comments in multi line value
- bcfc7a4: [Form] updated type of form $name arguments
- 5fa9ed4: made tests support phpunit 8
- 1ad2682: [PhpUnitBridge] fixed assertInternalType deprecation
- 82aace3: [PhpUnit Bridge] added polyfill for TestCase::createMock()
- 6d49913: replaced calls to setExpectedException by Pollyfill in all tests
- 8173daf: [PhpUnitBridge] removed @expectedException annotation
- 6604a3e: [PhpUnitBridge] removed deprecated methods assertArraySubset
- 9188261: [Yaml] fixed a PHP 8 uncaught TypeError in abs() method
- 85827f3: [FrameworkBundle] recompiled container when translations directory changes
- 7942082: [DependencyInjection] fixed bindings and tagged_locator
- 9ac3552: [HttpClient] Preserve the case of headers when sending them
- 0ebf7ee: Ensure signatures for setUp|tearDown|setUpAfterClass|tearDownAfterClass methods in tests are compatible with phpunit 8.2
- 8e3161b: [Mailer] changed the order of authenticators
- e248345: [Mailer] fixed error not being thrown properly
- 0470ac3: [Mailer] fixed wrong error message when connection closes unexpectedly
- 7479543: [Yaml] added flag to dump NULL as ~
- 35bf2fa: [FrameworkBundle] added config for translator cache_dir
- 1ce83da: [Mime] added AbstractPart::asDebugString()
- 37265de: [Mailer] added a name to the transports
- bd45789: [Form] derive default timezone from reference_date option when possible
- 92ceb80: [Security] use right arguments count in Ldap security factories
- f4ceb91: [Security] revise UserPasswordEncoderInterface::needsRehash()
- 537114d: [ErrorHandler] relaxed transition to the new Debug class
- 85058f5: [DependencyInjection] allowed dumping the container in one file instead of many files
- 861f792: [ErrorRenderer] added DebugCommand for easy debugging and testing
- bb74384: [DoctrineBridge] deprecated RegistryInterface
- 253d6f5: [PhpUnitBridge] polyfill the method createPartialMock
- eefcb33: [Mailer] added debug info to TransportExceptionInterface
- b3cf2d4: [PhpUnitBridge] added polyfill for methods assertNan, assertFinite and assertInfinite
- d01ec68: [PhpUnitBridge] added polyfill for assertStringContainsString*()
- 5d5e04b: [PhpUnitBridge] added more assert*() polyfills
- f1801a4: [Mailer] added debug info on HTTP transport exceptions
- b41e34d: [WebProfilerBundle] removed the deprecated ExceptionController
- 7b354df: [Stopwatch] added type-hints for Stopwatch and Section classes
- 1f8f4f2: [Form] drop support for differing timezones without ref date
Newest issues and pull requests
- PHP 7.4 + PHPUnit 8.2 support
- Improve auto-validation messages
- [DX] Removed or inlined service should still be available in test container
- [Config] Extract the definition component from the config component
- [Validator] Add a constraint condition option
They talked about us
- Symfony EasyAdmin: complex forms
- Inject locale's requirements in your Symfony routes
- Top 8 Web Development Technologies and Frameworks
- Bitbucket CI — Comment automatiser nos tests Symfony
Upcoming Symfony Events
- Treffen der Symfony User Group Hamburg: Hamburg, Germany (August 6)
- Symfony User Group Cologne - August'19: Köln, Germany (August 8)
Call to Action
- Give Symfony a star on GitHub
- Follow Symfony on Twitter and retweet this article.
- Subscribe to the Symfony blog RSS and never miss a Symfony story again.