Skip to content

[Yaml] Removed unused $nullAsTilde property #32944

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

Merged
merged 1 commit into from
Aug 5, 2019
Merged

Conversation

pierredup
Copy link
Contributor

@pierredup pierredup commented Aug 5, 2019

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

#32669 added a new private property $nullAsTilde, but that property was never used, so this PR removes the unused property

@fancyweb
Copy link
Contributor

fancyweb commented Aug 5, 2019

I think the property must be removed. The check on the flags must be kept in the dumpNull method.

@pierredup pierredup changed the title [Yaml] Use private property to check for null as tilde [Yaml] Removed unused $nullAsTilde property Aug 5, 2019
@xabbuh xabbuh added this to the next milestone Aug 5, 2019
@xabbuh
Copy link
Member

xabbuh commented Aug 5, 2019

Good catch, thanks @pierredup.

@xabbuh xabbuh merged commit fbef854 into symfony:4.4 Aug 5, 2019
xabbuh added a commit that referenced this pull request Aug 5, 2019
This PR was squashed before being merged into the 4.4 branch (closes #32944).

Discussion
----------

[Yaml] Removed unused $nullAsTilde property

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

#32669 added a new private property `$nullAsTilde`, but that property was never used, so this PR removes the unused property

Commits
-------

fbef854 [Yaml] Removed unused $nullAsTilde property
@pierredup pierredup deleted the patch-6 branch August 5, 2019 09:43
@nicolas-grekas nicolas-grekas modified the milestones: next, 4.4 Oct 27, 2019
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.

5 participants