Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Filesystem] deprecate calling isAbsolutePath with a null #32315

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

Conversation

smoench
Copy link
Contributor

@smoench smoench commented Jul 2, 2019

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

This PR is a result of #32247 and deprecates calling Filesystem::isAbsolutePath() with a null value.

@smoench smoench force-pushed the 44-filesystem-deprecate-isabsolutepath-with-null branch 2 times, most recently from 7f39772 to 71d93f9 Compare July 2, 2019 06:39
@smoench smoench force-pushed the 44-filesystem-deprecate-isabsolutepath-with-null branch from 71d93f9 to 6852d51 Compare July 2, 2019 06:44
@smoench smoench force-pushed the 44-filesystem-deprecate-isabsolutepath-with-null branch from 6852d51 to da924ab Compare July 2, 2019 06:57
Copy link
Member

@xabbuh xabbuh left a comment

Choose a reason for hiding this comment

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

We need to add an entry to UPGRADE-4.4.md too:

support for passing a null value to Filesystem::isAbsolutePath() is deprecated and will be removed in 5.0

@smoench
Copy link
Contributor Author

smoench commented Jul 2, 2019

I did not add them because the deprecations of dumpFile and appendFile are not documented in UPGRADE-4.3.md. I will add them and provide an PR for the missing ones

@smoench smoench force-pushed the 44-filesystem-deprecate-isabsolutepath-with-null branch from da924ab to 9319018 Compare July 3, 2019 11:25
@smoench
Copy link
Contributor Author

smoench commented Jul 3, 2019

UPGRADE-4.4.md is updated now and PR #32337 for the missing ones is created.

@xabbuh xabbuh added this to the next milestone Jul 3, 2019
fabpot added a commit that referenced this pull request Jul 3, 2019
…d (smoench)

This PR was merged into the 4.3 branch.

Discussion
----------

[Filesystem] added missing deprecations to UPGRADE-4.3.md

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

This PR is a result of #32315 and adds missing deprecations to UPGRADE-4.3.md.

Commits
-------

b5c6a34 [Filesystem] added missing deprecations to UPGRADE-4.3.md
@fabpot
Copy link
Member

fabpot commented Jul 3, 2019

Thank you @smoench.

@fabpot fabpot merged commit 9319018 into symfony:4.4 Jul 3, 2019
fabpot added a commit that referenced this pull request Jul 3, 2019
…l (smoench)

This PR was merged into the 4.4 branch.

Discussion
----------

[Filesystem] deprecate calling isAbsolutePath with a null

| 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 | N/A  <!-- #-prefixed issue number(s), if any -->
| License       | MIT
| Doc PR        | N/A

This PR is a result of #32247 and deprecates calling `Filesystem::isAbsolutePath()` with a `null` value.

Commits
-------

9319018 [Filesystem] depreacte calling isAbsolutePath with a null
@smoench smoench deleted the 44-filesystem-deprecate-isabsolutepath-with-null branch July 3, 2019 13:09
@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.

6 participants