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

[AllBundles]: Backport pr #1767 but keeping BC #1838

Merged

Conversation

acrobat
Copy link
Member

@acrobat acrobat commented Feb 18, 2018

Q A
Bug fix? no (cleanup)
New feature? no
BC breaks? no
Deprecations? yes
Fixed tickets related to #1767

@acrobat acrobat force-pushed the backport-unused-parameter-remove branch 2 times, most recently from 0b32063 to cf38dd3 Compare February 18, 2018 20:48
@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);

Copy link
Contributor

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.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! Fixed!

Copy link
Contributor

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.

Copy link
Member Author

@acrobat acrobat Feb 19, 2018

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

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

True !

@sandergo90 sandergo90 added this to the 5.1.0 milestone Feb 19, 2018
@sandergo90 sandergo90 changed the title Backport pr #1767 but keeping BC [AllBundles]: Backport pr #1767 but keeping BC Feb 19, 2018
@acrobat acrobat force-pushed the backport-unused-parameter-remove branch from cf38dd3 to 892552d Compare February 19, 2018 08:17
@sandergo90 sandergo90 merged commit e139795 into Kunstmaan:master Feb 19, 2018
@acrobat acrobat deleted the backport-unused-parameter-remove branch February 19, 2018 08:36
mtnorthrop pushed a commit to mtnorthrop/KunstmaanBundlesCMS that referenced this pull request Mar 1, 2018
sandergo90 pushed a commit to janb87/KunstmaanBundlesCMS that referenced this pull request Mar 5, 2018
[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)
sandergo90 pushed a commit to janb87/KunstmaanBundlesCMS that referenced this pull request Mar 5, 2018
…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)
sandergo90 pushed a commit to janb87/KunstmaanBundlesCMS that referenced this pull request Mar 5, 2018
…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)
sandergo90 pushed a commit to janb87/KunstmaanBundlesCMS that referenced this pull request Mar 5, 2018
…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)
sandergo90 pushed a commit to sandergo90/KunstmaanBundlesCMS that referenced this pull request Mar 28, 2018
…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
sandergo90 pushed a commit to sandergo90/KunstmaanBundlesCMS that referenced this pull request Mar 28, 2018
…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
sandergo90 pushed a commit to sandergo90/KunstmaanBundlesCMS that referenced this pull request Apr 3, 2018
…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
sandergo90 pushed a commit to sandergo90/KunstmaanBundlesCMS that referenced this pull request Apr 3, 2018
…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
sandergo90 added a commit to sandergo90/KunstmaanBundlesCMS that referenced this pull request Apr 3, 2018
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants