This PR was squashed before being merged into the 7.4 branch.
Discussion
----------
chore: PHP CS Fixer - restore PHP / PHPUnit rulesets
| Q | A
| ------------- | ---
| Branch? | 7.4
| Bug fix? | no
| New feature? | no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Issues | Fix CS <!-- prefix each issue number with "Fix #", no need to create an issue if none exists, explain below instead -->
| License | MIT
relates to 5d4e211789 (r163638626) , showing:
- possible improvements to codebase that those ruleset can still offer (especially when targetting newest possible target version)
- and also preventing old way to still be in use, if someone forget to use new syntax/methods
with love by [PHP Coding Standards Fixer](https://cs.symfony.com/)
Commits
-------
92940de5e52 chore: PHP CS Fixer - restore PHP / PHPUnit rulesets
* 6.0:
[HttpClient] fix resetting DNS/etc when calling CurlHttpClient::reset()
Fix invalid guess with enumType
[HttpClient] Remove deprecated usage of GuzzleHttp\Promise\promise_for
[HttpClient] Remove deprecated usage of `GuzzleHttp\Promise\queue`
[PropertyAccess] Fix handling of uninitialized property of anonymous class
[FrameworkBundle] Allow default cache pools to be overwritten by user
[DependencyInjection] fix test
ResolveBindingsPass remove loading of class iterable
[Serializer] Fix AbstractObjectNormalizer TypeError on denormalization
[FrameworkBundle] Avoid calling rtrim(null, '/') in AssetsInstallCommand
Optimization of resolveEnvPlaceholders
Fix incorrect format
[DependencyInjection] Fix nested env var with resolve processor
Allow OutputFormatter::escape() to be used for escaping URLs used in <href>
allow a zero time-limit
Use correct tag for ExpoTransportFactory service
[DependencyInjection] Ignore argument type check in CheckTypeDeclarationsPass if it's a Definition with a factory
[Validators] Add translations for Slovak #43735
* 5.4:
[HttpClient] Remove deprecated usage of `GuzzleHttp\Promise\queue`
[PropertyAccess] Fix handling of uninitialized property of anonymous class
[FrameworkBundle] Allow default cache pools to be overwritten by user
[DependencyInjection] fix test
ResolveBindingsPass remove loading of class iterable
[FrameworkBundle] Avoid calling rtrim(null, '/') in AssetsInstallCommand
Optimization of resolveEnvPlaceholders
Fix incorrect format
[DependencyInjection] Fix nested env var with resolve processor
Allow OutputFormatter::escape() to be used for escaping URLs used in <href>
allow a zero time-limit
Use correct tag for ExpoTransportFactory service
[DependencyInjection] Ignore argument type check in CheckTypeDeclarationsPass if it's a Definition with a factory
[Validators] Add translations for Slovak #43735
* 5.3:
[HttpClient] Remove deprecated usage of `GuzzleHttp\Promise\queue`
[PropertyAccess] Fix handling of uninitialized property of anonymous class
[FrameworkBundle] Allow default cache pools to be overwritten by user
[DependencyInjection] fix test
ResolveBindingsPass remove loading of class iterable
[FrameworkBundle] Avoid calling rtrim(null, '/') in AssetsInstallCommand
[DependencyInjection] Fix nested env var with resolve processor
Allow OutputFormatter::escape() to be used for escaping URLs used in <href>
allow a zero time-limit
[DependencyInjection] Ignore argument type check in CheckTypeDeclarationsPass if it's a Definition with a factory
[Validators] Add translations for Slovak #43735
* 4.4:
[HttpClient] Remove deprecated usage of `GuzzleHttp\Promise\queue`
[PropertyAccess] Fix handling of uninitialized property of anonymous class
[DependencyInjection] fix test
ResolveBindingsPass remove loading of class iterable
[FrameworkBundle] Avoid calling rtrim(null, '/') in AssetsInstallCommand
[DependencyInjection] Fix nested env var with resolve processor
Allow OutputFormatter::escape() to be used for escaping URLs used in <href>
allow a zero time-limit
[DependencyInjection] Ignore argument type check in CheckTypeDeclarationsPass if it's a Definition with a factory
[Validators] Add translations for Slovak #43735
* 5.4:
[Security][WIP] Add authenticators info to the profiler
[Translation] Use symfony default locale when pulling translations from providers
added missing translations for Bosnian (bs)
Add the missing greek translations for security core and validator component
[HttpKernel] Fix return types in `EventDataCollector`
Do not call substr_count() if ip is null to avoid deprecation warning in PHP 8.1
[Security][Validator] Add missing translations for Slovenian (sl)
[Messenger] Add worker metadata inside logs
[Messenger] Log when worker should stop and when `SIGTERM` is received
cs fix
[Security][Validator] Add missing translations for Finnish (fi)
[VarDumper] returns a 500 when dd() is executed
chore(VarDumper): declare that dd() never returns
[MonologBridge] Deprecate the Swiftmailer handler
[Cache] Commit items implicitly only when deferred keys are requested
[MonologBridge] Deprecates ResetLoggersWorkerSubscriber
Fix "can not" spelling
[HttpClient] fix missing kernel.reset tag on TraceableHttpClient services
[Form] Fix ChoiceType Extension to effectively set and use the translator
Added new CssColor constraint
* 4.4:
[PhpUnitBridge] fix bad test
[4.4] CS fixes
[3.4] CS fixes
Disable phpunit verbosity
Queue name is a required parameter
[FrameworkBundle] display actual target for error in AssetsInstallCommand
Remove patches for Doctrine bugs and deprecations
[Mime] fix bad method call on "EmailAddressContains"
[DI][EventDispatcher] added contract for implementation
* 3.4:
[FrameworkBundle] display actual target for error in AssetsInstallCommand
Remove patches for Doctrine bugs and deprecations
[DI][EventDispatcher] added contract for implementation
When assets:install fails because the target directory does not exist, it should display the actual directory it wanted to have instead of the configuration directive. In most cases, the target directory is retrieved from the kernel config and thus differs from the argument.
* 4.4:
[HttpKernel][FrameworkBundle] Add alternative convention for bundle directories
[DI] deprecate support for non-object services
[Translation] XliffLintCommand: allow .xliff file extension
[Serializer] Encode empty objects as objects, not arrays
* 4.4:
fixed CS
[Validator] Add a new constraint message when there is both min and max
fixed CS
[Bundles] Rename getPublicPath() as getPublicDir()
Remove experimental notice from components
[LDAP] add new option implemented in php 7.1
Replace missing message parameter
* 4.4: (53 commits)
Fix Twig 1.x compatibility
Deprecating templateExists method
[Translator] Improve farsi(persian) translations for Form
[Validator] Fix Changelog for #31511
[Lock][Console] bump lock requirement in console
[Lock] minor: add missing alias for PersistenStoreInterface
Improve fa translations
Dynamic bundle assets
[Lock] rename and deprecate Factory into LockFactory
[Debug] Restoring back the state of the Debug component (1st step)
Spell "triggering" properly
[Lock] Fix tests
Added tests to cover the possibility of having scalars as services.
fixed CS
[Lock] Split \"StoreInterface\" into multiple interfaces with less responsability
[VarDumper] Let browsers trigger their own search on double CMD/CTRL + F hit
[Validator] Allow to use property paths to get limits in range constraint
Fix missing deprecations
fixed tests on old PHP versions
[FrameworkBundle] Inform the user when save_path will be ignored
...