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

Skip to content

Removed deprecations in Filesystem component #14145

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

Closed
wants to merge 3 commits into from
Closed

Removed deprecations in Filesystem component #14145

wants to merge 3 commits into from

Conversation

dosten
Copy link
Contributor

@dosten dosten commented Mar 31, 2015

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

@@ -479,9 +477,6 @@ public function dumpFile($filename, $content, $mode = 0666)
}

$this->rename($tmpFile, $filename, true);
if (null !== $mode) {
$this->chmod($filename, $mode);
Copy link
Member

Choose a reason for hiding this comment

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

Looks like we missed triggering a deprecation notice here in 2.7?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, you are right, in what branch must be applied a patch for this?

Copy link
Member

Choose a reason for hiding this comment

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

We add these to 2.7

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The default value of the $mode param is 0666, so the error will be triggered ever

Copy link
Member

Choose a reason for hiding this comment

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

see #14460

@aitboudad
Copy link
Contributor

can you also update the CHANGELOG.

@dosten
Copy link
Contributor Author

dosten commented Apr 2, 2015

@aitboudad sorry i don't understand, update the CHANGELOG.md for what?

@aitboudad
Copy link
Contributor

@dosten just add note about the removed deprecations, you can see https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Form/CHANGELOG.md for example

@dosten
Copy link
Contributor Author

dosten commented Apr 2, 2015

@aitboudad Done!

@dosten
Copy link
Contributor Author

dosten commented Apr 22, 2015

ping @stof @fabpot

@fabpot
Copy link
Member

fabpot commented May 16, 2015

Thank you @dosten.

@fabpot fabpot closed this May 16, 2015
fabpot added a commit that referenced this pull request May 16, 2015
This PR was squashed before being merged into the 3.0-dev branch (closes #14145).

Discussion
----------

Removed deprecations in Filesystem component

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

Commits
-------

5d1e558 Removed deprecations in Filesystem component
@dosten dosten deleted the filesystem-deprecations branch May 16, 2015 14:28
@fabpot fabpot mentioned this pull request Nov 16, 2015
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