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

Skip to content

[5.0][Filesystem] add parameter type hints #32247

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
Jul 8, 2019

Conversation

smoench
Copy link
Contributor

@smoench smoench commented Jun 28, 2019

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

This PR adds parameter type hints to the Filesystem component.

@smoench
Copy link
Contributor Author

smoench commented Jun 28, 2019

Should FilesystemTest::testChmodWithWrongModLeavesPreviousPermissionsUntouched be removed as it is not possible anymore passing a mode parameter as a string to Filesystem::chmod?

@derrabus derrabus mentioned this pull request Jun 28, 2019
57 tasks
@nicolas-grekas nicolas-grekas added this to the 5.0 milestone Jun 30, 2019
@smoench smoench force-pushed the filesystem-parameter-type-hints branch from c86fc51 to 3ec8897 Compare July 2, 2019 14:19
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
Copy link
Member

@fabpot fabpot left a comment

Choose a reason for hiding this comment

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

As done in similar PRs for other components, can you removed the phpdocs that are not needed anymore?

@smoench smoench force-pushed the filesystem-parameter-type-hints branch from 3ec8897 to 8f68b9e Compare July 5, 2019 06:44
@smoench smoench force-pushed the filesystem-parameter-type-hints branch from 8f68b9e to ba7dab6 Compare July 5, 2019 06:47
@smoench
Copy link
Contributor Author

smoench commented Jul 5, 2019

Not needed phpdocs are removed

@fabpot
Copy link
Member

fabpot commented Jul 8, 2019

Thank you @smoench.

@fabpot fabpot merged commit ba7dab6 into symfony:master Jul 8, 2019
fabpot added a commit that referenced this pull request Jul 8, 2019
This PR was merged into the 5.0-dev branch.

Discussion
----------

[5.0][Filesystem] add parameter type hints

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no     <!-- see https://symfony.com/bc -->
| Deprecations? | no
| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->
| Fixed tickets | #32179
| License       | MIT
| Doc PR        | N/A

This PR adds parameter type hints to the Filesystem component.

Commits
-------

ba7dab6 [5.0][Filesystem] add parameter type hints
@smoench smoench deleted the filesystem-parameter-type-hints branch July 8, 2019 06:43
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