This PR was merged into the 2.7 branch.
Discussion
----------
[Console] [DialogHelper] Fix PHP Fatal error: Cannot call constructor in DialogHelper.php on line 37
| Q | A
| ------------- | ---
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | N/A
| License | MIT
| Doc PR | N/A
Since yesterday our composer builds have been failing due to an error originating from Symfony/console. We've also been seeing duplicated deprecation warnings:
```
PHP Deprecated: \Symfony\Component\Console\Helper\DialogHelper is deprecated since version 2.5 and will be removed in 3.0. Use QuestionHelper instead. in vendor/symfony/console/Symfony/Component/Console/Helper/DialogHelper.php on line 14
PHP Deprecated: DialogHelper is deprecated since version 2.5 and will be removed in 3.0. Use QuestionHelper instead. in vendor/symfony/console/Symfony/Component/Console/Helper/DialogHelper.php on line 35
PHP Fatal error: Cannot call constructor in vendor/symfony/console/Symfony/Component/Console/Helper/DialogHelper.php on line 37
```
It looks like this was introduced in PR #12737. Then #12759 was raised to change the warning to the header to only print a single warning. But rather than #12759 having #12737 as a parent and reverting it - it's parent is from before #12737 was merged. So there's now a situation of both PR having being merged - one adding deprecation warning to file header, and one adding deprecation to construct() (and also causing fatal error.)
This PR fixes the issue by reverting the breaking parent::construct() added by #12737 so essentially only #12759 is active, which adds a single deprecation warning, and does not break the code.
NB: This is the test failure for the Console component - test fails since #12737. This patch fixes this and passes all tests for the Console component.
```
$ phpunit src/Symfony/Component/Console
PHP Fatal error: Cannot call constructor in src/Symfony/Component/Console/Helper/DialogHelper.php on line 37
```
Jason
Commits
-------
ada9a58 Fix PHP Fatal error: Cannot call constructor in symfony/console/Symfony/Component/Console/Helper/DialogHelper.php on line 37
This PR was squashed before being merged into the 2.7 branch (closes#12671).
Discussion
----------
Issue #12658 Add a deprecation note about Translator's setFallbackLocale...
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | yes
| Tests pass? | yes
| Fixed tickets | #12658
| License | MIT
| Doc PR |
Commits
-------
cd05026 Issue #12658 Add a deprecation note about Translator's setFallbackLocale...
This PR was squashed before being merged into the 2.7 branch (closes#12680).
Discussion
----------
Issue #12606 Adding warning logs about the deprecation of [...]/Tests/FormIntegration...
This fixes Issue #12606
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | yes
| Tests pass? | yes
| Fixed tickets | #12606
| License | MIT
| Doc PR | x
Commits
-------
2267749 Issue #12606 Adding warning logs about the deprecation of [...]/Tests/FormIntegration...
This PR was squashed before being merged into the 2.7 branch (closes#12699).
Discussion
----------
Hackday deprecated 12621
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #12621
| License | MIT
| Doc PR | -
[MonologBridge] added the deprecated error trigger in the monolog logger emerg(), crit(), err() and warn() methods
[HttpKernel] added the deprecated error trigger in the NullLogger emerg(), crit(), err() and warn() methods
Commits
-------
88b9500 Hackday deprecated 12621
This PR was squashed before being merged into the 2.7 branch (closes#12723).
Discussion
----------
Added deprecation log for validate and validateValue on ExecutionContext...
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | yes
| Tests pass? | yes
| Fixed tickets | #12685
| License | MIT
| Doc PR |
Commits
-------
deeb652 Added deprecation log for validate and validateValue on ExecutionContext...
This PR was squashed before being merged into the 2.7 branch (closes#12734).
Discussion
----------
[Console] [Hackday] [2.7] Add a deprecation note about ProgressHelper
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | yes
| Tests pass? | yes
| Fixed tickets | #12706
| License | MIT
| Doc PR |
Commits
-------
69fa99a [Console] [Hackday] [2.7] Add a deprecation note about ProgressHelper
This PR was squashed before being merged into the 2.7 branch (closes#12738).
Discussion
----------
[Hackday][2.7] Add a deprecation note about MetadataInterface's accept() method
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #12676
| License | MIT
Commits
-------
171377d [Hackday][2.7] Add a deprecation note about MetadataInterface's accept() method
This PR was squashed before being merged into the 2.7 branch (closes#12745).
Discussion
----------
[Validator] Added a deprecation note about setPropertyAccessor #12698
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | yes
| Tests pass? | yes
| Fixed tickets | #12698
| License | MIT
| Doc PR |
Commits
-------
c82dc5e [Validator] Added a deprecation note about setPropertyAccessor #12698
This PR was squashed before being merged into the 2.7 branch (closes#12746).
Discussion
----------
[Locale] Adding a deprecation note about the Locale component
| Q | A
| ------------- | ---
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #12635
| License | MIT
| Doc PR | -
Commits
-------
5580a4f [Locale] Adding a deprecation note about the Locale component
This PR was merged into the 2.7 branch.
Discussion
----------
[Validator] added a deprecation note about MetadataFactoryInterface
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #12690
| License | MIT
| Doc PR |
Commits
-------
33fa8ff [Validator] added a deprecation note about MetadataFactoryInterface addressing #12690
This PR was merged into the 2.7 branch.
Discussion
----------
[Validator][Hackday] [2.7] Add a deprecation note about ValidationVisito...
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | yes
| Tests pass? | yes
| Fixed tickets | #12755
| License | MIT
| Doc PR | none
Commits
-------
786e509 [Validator][Hackday] [2.7] Add a deprecation note about ValidationVisitorInterface and ValidationVisitor #12675
This PR was squashed before being merged into the 2.7 branch (closes#12762).
Discussion
----------
[ClassLoader] Add a deprecation note about UniversalClassLoader class
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | yes
| Tests pass? | yes
| Fixed tickets | #12600
| License | MIT
| Doc PR |
Commits
-------
f216c81 [ClassLoader] Add a deprecation note about UniversalClassLoader class
This PR was merged into the 2.7 branch.
Discussion
----------
Added a deprecation warning for the command dumper
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | yes
| Tests pass? | yes
| Fixed tickets | #12620
| License | MIT
This fixes#12620
Commits
-------
07436d7 Added a deprecation warning for the command dumper
This PR was merged into the 2.7 branch.
Discussion
----------
[PHPUnit] ignore E_USER_DEPRECATED notices
| Q | A
| ------------- | ---
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets |
| License | MIT
| Doc PR |
This updates the PHPUnit configuration files that have not been
updated in #12705.
Commits
-------
dcc1103 [PHPUnit] ignore E_USER_DEPRECATED notices
This PR was squashed before being merged into the 2.7 branch (closes#12737).
Discussion
----------
[Console] Adding a deprecation note about DialogHelper
| Q | A
| ------------- | ---
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | yes
| Tests pass? | yes
| Fixed tickets | #12704
| License | MIT
| Doc PR | -
Commits
-------
673c253 [Console] Adding a deprecation note about DialogHelper
This PR was merged into the 2.7 branch.
Discussion
----------
[Valid] [Validator] [Constraints] [DEPRECATION] Added deprication note on Valid constraint validator for deep option.
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | yes
| Tests pass? | yes
| Fixed tickets | #12695
| License | MIT
| Doc PR | -
Commits
-------
46f1eb0 Added deprication note on Valid constraint validator for deep option.
This PR was merged into the 2.7 branch.
Discussion
----------
Fix tests after changes from #12598
The messages in the UndefinedMethodFatalErrorHandlerTest have been updated to match the new format.
Commits
-------
9258547 Fix tests after changes from #12598
This PR was merged into the 2.7 branch.
Discussion
----------
[Controller] [FrameworkBundle] [DEPRECATION] Added a deprecation error trigger for getRequest method of the base controller
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | yes
| Tests pass? | yes
| Fixed tickets | #12614
| License | MIT
| Doc PR | -
Commits
-------
64a9701 Added deprecation warning on the base controller getRequest method.
This PR was squashed before being merged into the 2.7 branch (closes#12748).
Discussion
----------
[Validator] [Hackday] [2.7] Add a deprecation note about PropertyMetadataContainerInterface
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | yes
| Tests pass? | yes
| Fixed tickets | #12679
| License | MIT
| Doc PR |
Commits
-------
a93ab3e [Validator] [Hackday] [2.7] Add a deprecation note about PropertyMetadataContainerInterface