-
Notifications
You must be signed in to change notification settings - Fork 188
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
[AllBundles]: Backport pr #1767 but keeping BC #1838
[AllBundles]: Backport pr #1767 but keeping BC #1838
Conversation
acrobat
commented
Feb 18, 2018
Q | A |
---|---|
Bug fix? | no (cleanup) |
New feature? | no |
BC breaks? | no |
Deprecations? | yes |
Fixed tickets | related to #1767 |
0b32063
to
cf38dd3
Compare
@trigger_error(sprintf('Passing the "container" as the sixth argument in "%s" is deprecated in KunstmaanConfigBundle 5.1 and will be removed in KunstmaanConfigBundle 6.0. Remove the "container" argument from your service definition.', __METHOD__), E_USER_DEPRECATED); | ||
|
||
$this->formFactory = func_get_arg(6); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The services.yml file needs to be updated to.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch! Fixed!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And I also think we need to keep the container variable set. Because when people are still using the container, they will still get an error because the private $container does not exist anymore.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The container propery was private and there is no getter defined in the controller, so extending the controller will not have the container property available in user code. So I think we can safely remove the property
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
True !
cf38dd3
to
892552d
Compare
[AdminBundle] refactor media token transformer (Kunstmaan#1827) [AdminListBundle] Fix Export Exception namespace (Kunstmaan#1825) [AdminBundle]: readd the extrajavascript block (Kunstmaan#1829) [MediaBundle] Bulk upload fix (Kunstmaan#1834) [AdminListBundle]: ->loadTemplate() is only for internal use.. (Kunstmaan#1846) [PagePartBundle] Fix for PHP 7.2 - value passed to count() cannot be null (Kunstmaan#1849) update changelog update changelog [AdminBundle]: Fix fosuser bundle inheritance deprecation (Kunstmaan#1831)
…1831) [AllBundles] Backport the removal of unused parameters (Kunstmaan#1838) [AdminBundle] refactor media token transformer (Kunstmaan#1827) [AdminListBundle] Fix Export Exception namespace (Kunstmaan#1825) [AdminBundle]: readd the extrajavascript block (Kunstmaan#1829) [MediaBundle] Bulk upload fix (Kunstmaan#1834) [AdminListBundle]: ->loadTemplate() is only for internal use.. (Kunstmaan#1846) [PagePartBundle] Fix for PHP 7.2 - value passed to count() cannot be null (Kunstmaan#1849) update changelog update changelog [AdminBundle]: Fix fosuser bundle inheritance deprecation (Kunstmaan#1831)
…1831) [AdminBundle]: Fix fosuser bundle inheritance deprecation (Kunstmaan#1831) [AllBundles] Backport the removal of unused parameters (Kunstmaan#1838) [AdminBundle] refactor media token transformer (Kunstmaan#1827) [AdminListBundle] Fix Export Exception namespace (Kunstmaan#1825) [AdminBundle]: readd the extrajavascript block (Kunstmaan#1829) [MediaBundle] Bulk upload fix (Kunstmaan#1834) [AdminListBundle]: ->loadTemplate() is only for internal use.. (Kunstmaan#1846) [PagePartBundle] Fix for PHP 7.2 - value passed to count() cannot be null (Kunstmaan#1849) update changelog update changelog [AdminBundle]: Fix fosuser bundle inheritance deprecation (Kunstmaan#1831)
…1831) [AdminBundle]: Fix fosuser bundle inheritance deprecation (Kunstmaan#1831) [AdminBundle]: Fix fosuser bundle inheritance deprecation (Kunstmaan#1831) [AllBundles] Backport the removal of unused parameters (Kunstmaan#1838) [AdminBundle] refactor media token transformer (Kunstmaan#1827) [AdminListBundle] Fix Export Exception namespace (Kunstmaan#1825) [AdminBundle]: readd the extrajavascript block (Kunstmaan#1829) [MediaBundle] Bulk upload fix (Kunstmaan#1834) [AdminListBundle]: ->loadTemplate() is only for internal use.. (Kunstmaan#1846) [PagePartBundle] Fix for PHP 7.2 - value passed to count() cannot be null (Kunstmaan#1849) update changelog update changelog [AdminBundle]: Fix fosuser bundle inheritance deprecation (Kunstmaan#1831)
…maan#1767) * Unused method, property, variable or parameter * Unused variable * Update BundleVersionDataCollector.php * DocBlock fix [UtilitiesBundle] Commands as services and mark commands as final (Kunstmaan#1789) [NodeBundle] Commands as services and mark commands as final (Kunstmaan#1791) [TranslatorBundle] Commands as services and mark commands as final (Kunstmaan#1788) [AdminListBundle][5.1] Deprecate direct container access in controllers (Kunstmaan#1769) [AllBundles] Backport the removal of unused parameters (Kunstmaan#1838) [AdminBundle] refactor media token transformer (Kunstmaan#1827) [AdminListBundle] Fix Export Exception namespace (Kunstmaan#1825) [AdminBundle]: readd the extrajavascript block (Kunstmaan#1829) [MediaBundle] Bulk upload fix (Kunstmaan#1834) [AdminListBundle]: ->loadTemplate() is only for internal use.. (Kunstmaan#1846) [PagePartBundle] Fix for PHP 7.2 - value passed to count() cannot be null (Kunstmaan#1849) update changelog update changelog [AdminBundle]: Fix fosuser bundle inheritance deprecation (Kunstmaan#1831) [LeadGenerationBundle]: remove jquery dependency leadgeneration bundle (Kunstmaan#1859) Reset event listeners after submit + fixed serialization of form data [LeadGenerationBundle]: add extras [NodeBundle]: improve URL chooser external (Kunstmaan#1852) [AllBundles] 5.1 upgrade file with all current changes (Kunstmaan#1850) [NodeBundle]: deprecate service function (Kunstmaan#1840) [AllBundles]: Linting changes (Kunstmaan#1867) Change the eslint config for the AdminBundle to make it lint the code inside the jsnext folder instead of the js folder Remove all other eslint / stylelint config [GeneratorBundle] Add imagemin task to groundcontrol (Kunstmaan#1870) [NodeBundle]: allow to set icon for tree (Kunstmaan#1790) Change upgrade guide [NodeBundle]: remove deprecation annotation Revert to php 5 code CHange upgrade guide
…maan#1767) * Unused method, property, variable or parameter * Unused variable * Update BundleVersionDataCollector.php * DocBlock fix [AllBundle] Fix unused method, property, variable or parameter (Kunstmaan#1767) * Unused method, property, variable or parameter * Unused variable * Update BundleVersionDataCollector.php * DocBlock fix [UtilitiesBundle] Commands as services and mark commands as final (Kunstmaan#1789) [NodeBundle] Commands as services and mark commands as final (Kunstmaan#1791) [TranslatorBundle] Commands as services and mark commands as final (Kunstmaan#1788) [AdminListBundle][5.1] Deprecate direct container access in controllers (Kunstmaan#1769) [AllBundles] Backport the removal of unused parameters (Kunstmaan#1838) [AdminBundle] refactor media token transformer (Kunstmaan#1827) [AdminListBundle] Fix Export Exception namespace (Kunstmaan#1825) [AdminBundle]: readd the extrajavascript block (Kunstmaan#1829) [MediaBundle] Bulk upload fix (Kunstmaan#1834) [AdminListBundle]: ->loadTemplate() is only for internal use.. (Kunstmaan#1846) [PagePartBundle] Fix for PHP 7.2 - value passed to count() cannot be null (Kunstmaan#1849) update changelog update changelog [AdminBundle]: Fix fosuser bundle inheritance deprecation (Kunstmaan#1831) [LeadGenerationBundle]: remove jquery dependency leadgeneration bundle (Kunstmaan#1859) Reset event listeners after submit + fixed serialization of form data [LeadGenerationBundle]: add extras [NodeBundle]: improve URL chooser external (Kunstmaan#1852) [AllBundles] 5.1 upgrade file with all current changes (Kunstmaan#1850) [NodeBundle]: deprecate service function (Kunstmaan#1840) [AllBundles]: Linting changes (Kunstmaan#1867) Change the eslint config for the AdminBundle to make it lint the code inside the jsnext folder instead of the js folder Remove all other eslint / stylelint config [GeneratorBundle] Add imagemin task to groundcontrol (Kunstmaan#1870) [NodeBundle]: allow to set icon for tree (Kunstmaan#1790) Change upgrade guide [NodeBundle]: remove deprecation annotation Revert to php 5 code CHange upgrade guide
…in controller classes (Kunstmaan#1690) [AllBundle] Fix unused method, property, variable or parameter (Kunstmaan#1767) * Unused method, property, variable or parameter * Unused variable * Update BundleVersionDataCollector.php * DocBlock fix [AllBundle] Fix unused method, property, variable or parameter (Kunstmaan#1767) * Unused method, property, variable or parameter * Unused variable * Update BundleVersionDataCollector.php * DocBlock fix [UtilitiesBundle] Commands as services and mark commands as final (Kunstmaan#1789) [NodeBundle] Commands as services and mark commands as final (Kunstmaan#1791) [TranslatorBundle] Commands as services and mark commands as final (Kunstmaan#1788) [AdminListBundle][5.1] Deprecate direct container access in controllers (Kunstmaan#1769) [AllBundles] Backport the removal of unused parameters (Kunstmaan#1838) [AdminBundle] refactor media token transformer (Kunstmaan#1827) [AdminListBundle] Fix Export Exception namespace (Kunstmaan#1825) [AdminBundle]: readd the extrajavascript block (Kunstmaan#1829) [MediaBundle] Bulk upload fix (Kunstmaan#1834) [AdminListBundle]: ->loadTemplate() is only for internal use.. (Kunstmaan#1846) [PagePartBundle] Fix for PHP 7.2 - value passed to count() cannot be null (Kunstmaan#1849) update changelog update changelog [AdminBundle]: Fix fosuser bundle inheritance deprecation (Kunstmaan#1831) [LeadGenerationBundle]: remove jquery dependency leadgeneration bundle (Kunstmaan#1859) Reset event listeners after submit + fixed serialization of form data [LeadGenerationBundle]: add extras [NodeBundle]: improve URL chooser external (Kunstmaan#1852) [AllBundles] 5.1 upgrade file with all current changes (Kunstmaan#1850) [NodeBundle]: deprecate service function (Kunstmaan#1840) [AllBundles]: Linting changes (Kunstmaan#1867) Change the eslint config for the AdminBundle to make it lint the code inside the jsnext folder instead of the js folder Remove all other eslint / stylelint config [GeneratorBundle] Add imagemin task to groundcontrol (Kunstmaan#1870) [NodeBundle]: allow to set icon for tree (Kunstmaan#1790) Change upgrade guide [NodeBundle]: remove deprecation annotation Revert to php 5 code CHange upgrade guide
…in controller classes (Kunstmaan#1690) [SensiolabsInsight] Changed method visibility for non-action methods in controller classes (Kunstmaan#1690) [AllBundle] Fix unused method, property, variable or parameter (Kunstmaan#1767) * Unused method, property, variable or parameter * Unused variable * Update BundleVersionDataCollector.php * DocBlock fix [AllBundle] Fix unused method, property, variable or parameter (Kunstmaan#1767) * Unused method, property, variable or parameter * Unused variable * Update BundleVersionDataCollector.php * DocBlock fix [UtilitiesBundle] Commands as services and mark commands as final (Kunstmaan#1789) [NodeBundle] Commands as services and mark commands as final (Kunstmaan#1791) [TranslatorBundle] Commands as services and mark commands as final (Kunstmaan#1788) [AdminListBundle][5.1] Deprecate direct container access in controllers (Kunstmaan#1769) [AllBundles] Backport the removal of unused parameters (Kunstmaan#1838) [AdminBundle] refactor media token transformer (Kunstmaan#1827) [AdminListBundle] Fix Export Exception namespace (Kunstmaan#1825) [AdminBundle]: readd the extrajavascript block (Kunstmaan#1829) [MediaBundle] Bulk upload fix (Kunstmaan#1834) [AdminListBundle]: ->loadTemplate() is only for internal use.. (Kunstmaan#1846) [PagePartBundle] Fix for PHP 7.2 - value passed to count() cannot be null (Kunstmaan#1849) update changelog update changelog [AdminBundle]: Fix fosuser bundle inheritance deprecation (Kunstmaan#1831) [LeadGenerationBundle]: remove jquery dependency leadgeneration bundle (Kunstmaan#1859) Reset event listeners after submit + fixed serialization of form data [LeadGenerationBundle]: add extras [NodeBundle]: improve URL chooser external (Kunstmaan#1852) [AllBundles] 5.1 upgrade file with all current changes (Kunstmaan#1850) [NodeBundle]: deprecate service function (Kunstmaan#1840) [AllBundles]: Linting changes (Kunstmaan#1867) Change the eslint config for the AdminBundle to make it lint the code inside the jsnext folder instead of the js folder Remove all other eslint / stylelint config [GeneratorBundle] Add imagemin task to groundcontrol (Kunstmaan#1870) [NodeBundle]: allow to set icon for tree (Kunstmaan#1790) Change upgrade guide [NodeBundle]: remove deprecation annotation Revert to php 5 code CHange upgrade guide
Reorder Add media bundle [SensiolabsInsight] Changed method visibility for non-action methods in controller classes (Kunstmaan#1690) [SensiolabsInsight] Changed method visibility for non-action methods in controller classes (Kunstmaan#1690) [AllBundle] Fix unused method, property, variable or parameter (Kunstmaan#1767) * Unused method, property, variable or parameter * Unused variable * Update BundleVersionDataCollector.php * DocBlock fix [AllBundle] Fix unused method, property, variable or parameter (Kunstmaan#1767) * Unused method, property, variable or parameter * Unused variable * Update BundleVersionDataCollector.php * DocBlock fix [UtilitiesBundle] Commands as services and mark commands as final (Kunstmaan#1789) [NodeBundle] Commands as services and mark commands as final (Kunstmaan#1791) [TranslatorBundle] Commands as services and mark commands as final (Kunstmaan#1788) [AdminListBundle][5.1] Deprecate direct container access in controllers (Kunstmaan#1769) [AllBundles] Backport the removal of unused parameters (Kunstmaan#1838) [AdminBundle] refactor media token transformer (Kunstmaan#1827) [AdminListBundle] Fix Export Exception namespace (Kunstmaan#1825) [AdminBundle]: readd the extrajavascript block (Kunstmaan#1829) [MediaBundle] Bulk upload fix (Kunstmaan#1834) [AdminListBundle]: ->loadTemplate() is only for internal use.. (Kunstmaan#1846) [PagePartBundle] Fix for PHP 7.2 - value passed to count() cannot be null (Kunstmaan#1849) update changelog update changelog [AdminBundle]: Fix fosuser bundle inheritance deprecation (Kunstmaan#1831) [LeadGenerationBundle]: remove jquery dependency leadgeneration bundle (Kunstmaan#1859) Reset event listeners after submit + fixed serialization of form data [LeadGenerationBundle]: add extras [NodeBundle]: improve URL chooser external (Kunstmaan#1852) [AllBundles] 5.1 upgrade file with all current changes (Kunstmaan#1850) [NodeBundle]: deprecate service function (Kunstmaan#1840) [AllBundles]: Linting changes (Kunstmaan#1867) Change the eslint config for the AdminBundle to make it lint the code inside the jsnext folder instead of the js folder Remove all other eslint / stylelint config [GeneratorBundle] Add imagemin task to groundcontrol (Kunstmaan#1870) [NodeBundle]: allow to set icon for tree (Kunstmaan#1790) Change upgrade guide [NodeBundle]: remove deprecation annotation Revert to php 5 code CHange upgrade guide