Skip to content

[PropertyAccess] Deprecate null as allowed value for defaultLifetime argument in createCache method #32241

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

Conversation

jschaedl
Copy link
Contributor

@jschaedl jschaedl commented Jun 28, 2019

Q A
Branch? 4.4
Bug fix? no
New feature? no
BC breaks? no
Deprecations? yes
Tests pass? yes
Fixed tickets #32179
License MIT
Doc PR N/A

This PR is related to #32234 (comment)

@nicolas-grekas nicolas-grekas added this to the next milestone Jun 28, 2019
Copy link
Contributor

@Tobion Tobion left a comment

Choose a reason for hiding this comment

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

Null is a broken value. So to me this should be a bug fix in 4.2 casting null to int in PropertyAccessor and changing the FrameworkExtension

@fabpot fabpot force-pushed the deprecation/property-access_createCache-defaultLifetime branch from 2ff36fb to 9aac426 Compare June 28, 2019 15:46
@fabpot
Copy link
Member

fabpot commented Jun 28, 2019

Thank you @jschaedl.

@fabpot fabpot merged commit 9aac426 into symfony:4.4 Jun 28, 2019
fabpot added a commit that referenced this pull request Jun 28, 2019
…efaultLifetime argument in createCache method (jschaedl)

This PR was squashed before being merged into the 4.4 branch (closes #32241).

Discussion
----------

[PropertyAccess] Deprecate null as allowed value for defaultLifetime argument in createCache method

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | no
| New feature?  | no <!-- please update src/**/CHANGELOG.md files -->
| BC breaks?    | no     <!-- see https://symfony.com/bc -->
| Deprecations? | yes <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->
| Fixed tickets | #32179   <!-- #-prefixed issue number(s), if any -->
| License       | MIT
| Doc PR        | N/A<!-- required for new features -->

This PR is related to #32234 (comment)

Commits
-------

9aac426 [PropertyAccess] Deprecate null as allowed value for defaultLifetime argument in createCache method
jschaedl added a commit to jschaedl/symfony that referenced this pull request Jun 28, 2019
jschaedl added a commit to jschaedl/symfony that referenced this pull request Jun 30, 2019
fabpot added a commit that referenced this pull request Jul 3, 2019
…jschaedl)

This PR was squashed before being merged into the 4.4 branch (closes #32269).

Discussion
----------

[PropertyAccess] Adds entries to CHANGELOG and UPGRADE

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | no
| New feature?  | no <!-- please update src/**/CHANGELOG.md files -->
| BC breaks?    | no     <!-- see https://symfony.com/bc -->
| Deprecations? | yes <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->
| Fixed tickets | #32179   <!-- #-prefixed issue number(s), if any -->
| License       | MIT
| Doc PR        | N/A

In PR #32241 I missed to add entries to the CHANGELOG and UPGRADE file.

Commits
-------

c4afbf3 [PropertyAccess] Adds entries to CHANGELOG and UPGRADE
@nicolas-grekas nicolas-grekas modified the milestones: next, 4.4 Oct 27, 2019
This was referenced Nov 12, 2019
@jschaedl jschaedl deleted the deprecation/property-access_createCache-defaultLifetime branch February 23, 2020 08:01
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.

6 participants