Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Document $suffix argument to tempnam()#12108

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
OskarStark merged 903 commits intosymfony:masterfromjdufresne:tempnam
Feb 4, 2020
Merged

Document $suffix argument to tempnam()#12108

OskarStark merged 903 commits intosymfony:masterfromjdufresne:tempnam
Feb 4, 2020

Conversation

jdufresne
Copy link
Contributor

No description provided.

Copy link
Contributor

@OskarStarkOskarStark left a comment

Choose a reason for hiding this comment

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

I guess it must be merged in 3.4, but we take care of it 👍🏻👌🏻

@OskarStarkOskarStark added Filesystem Waiting Code MergeDocs for features pending to be merged labelsAug 7, 2019
@jdufresne
Copy link
ContributorAuthor

Thanks. I added theversionadded.

OskarStark reacted with thumbs up emoji

@OskarStarkOskarStark added this to the4.4 milestoneAug 16, 2019
@wouterjwouterj modified the milestones:4.4,nextNov 24, 2019
javiereguiluzand others added17 commitsDecember 4, 2019 16:08
* 4.4:  fix a typo in mailer docs (Mutliple -> Multiple)
…LanguageType (javiereguiluz)This PR was squashed before being merged into the master branch (closes#12750).Discussion----------[Form] Documented the choice_self_translation option of LanguageTypeFixes#12745.Commits-------7361fdb [Form] Documented the choice_self_translation option of LanguageType
* 4.4:  [Cache] Fixed a minor RST syntax issue  [Cache] Expand the docs about the cache chain  Explain the prefix used for expressions in YAML files  Minor tweak in a security expression explanation
* 5.0:  [Cache] Fixed a minor RST syntax issue  [Cache] Expand the docs about the cache chain  Explain the prefix used for expressions in YAML files  Minor tweak in a security expression explanation
* 4.4:  Revert "Removed 4.4 versionadded from the 4.3 docs"  Removed 4.4 versionadded from the 4.3 docs  Update setup.rst  Update messenger.rst
* 5.0:  Revert "Removed 4.4 versionadded from the 4.3 docs"  Removed 4.4 versionadded from the 4.3 docs  Update setup.rst  Update messenger.rst
* 4.4:  Updated a link to Debug component  Remove ErrorRenderer reference everywhere
* 5.0:  Updated a link to Debug component  Remove ErrorRenderer reference everywhere
* 4.4:  Updated the location of the errors.xml file
* 5.0:  Updated the location of the errors.xml file
* 4.4:  Minor tweaks  Fix 12273 Added new ErrorController
* 5.0:  Minor tweaks  Fix 12273 Added new ErrorController
* 5.0:  Removed 4.4 versionadded and deprecations
* 4.4:  Mentioned the PHP 7.4 class preloading  Scalingo is another PaaS which supports Symfony
OskarStarkand others added16 commitsJanuary 30, 2020 11:56
* 4.4:  Minor  Minor. refs#12949  [Translation] Added tip about the incompatibility of % character
* 5.0:  Minor  Minor. refs#12949  [Translation] Added tip about the incompatibility of % character
* 4.4:  fix XML config example
* 5.0:  fix XML config example
* 4.4:  Promote usage of a single translation domain  Move sidebar into a real section  Removed Translation component documentation
* 5.0:  Promote usage of a single translation domain  Move sidebar into a real section  Removed Translation component documentation
* 4.4:  [#12861] Tweaked translation docs for 4.4 component changes  [#12861] Tweak translation articles for 4.3 component changes
* 5.0:  [#12861] Tweaked translation docs for 4.4 component changes  [#12861] Tweak translation articles for 4.3 component changes
* 4.4:  Removed leftover 3.4 versionadded directive
* 5.0:  Removed leftover 3.4 versionadded directive
* 4.4:  Added the other two removed component articles to the redirection map
* 5.0:  Added the other two removed component articles to the redirection map
* 4.4:  Fixed missing reference error
* 5.0:  Fixed missing reference error
* 4.4:  Fixed deadlink to Translation components docs
* 5.0:  Fixed deadlink to Translation components docs
fabpot added a commit to symfony/symfony that referenced this pull requestFeb 4, 2020
…sne)This PR was submitted for the 4.4 branch but it was merged into the 5.1-dev branch instead (closes#33003).Discussion----------[Filesystem] Add $suffix argument to tempnam()| Q             | A| ------------- | ---| Branch?       | 4.4| Bug fix?      | no| New feature?  | yes| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#33002| License       | MIT| Doc PR        |symfony/symfony-docs#12108**Description**The `tempnam()` interface was previously:```phptempnam($dir, $prefix)```This adds a third argument, `$suffix`, that is appended to the filename after the random component. This defaults to `''` for backwards compatibility. This is quite useful when the temporary file is consumed for a specific purpose that expects a suffix.**Example**```php$filesystem->tempnam('/tmp', 'prefix_', '.png');```Would create a file like: `/tmp/prefix_abcd1234.png`.Commits-------ef12069 [Filesystem] Add $suffix argument to tempnam()
@OskarStarkOskarStark modified the milestones:next,5.1Feb 4, 2020
@OskarStarkOskarStark removed the Waiting Code MergeDocs for features pending to be merged labelFeb 4, 2020
@OskarStarkOskarStark changed the base branch from4.4 tomasterFebruary 4, 2020 08:24
@OskarStark
Copy link
Contributor

Thanks for your work on this new feature!

OskarStark added a commit that referenced this pull requestFeb 4, 2020
@OskarStarkOskarStark merged commit4647377 intosymfony:masterFeb 4, 2020
OskarStark added a commit that referenced this pull requestFeb 4, 2020
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@pierreduppierreduppierredup left review comments

@OskarStarkOskarStarkOskarStark approved these changes

@xabbuhxabbuhAwaiting requested review from xabbuh

Assignees
No one assigned
Projects
None yet
Milestone
5.1
Development

Successfully merging this pull request may close these issues.

21 participants
@jdufresne@OskarStark@pierredup@wouterj@carsonbot@javiereguiluz@jdreesen@abdounikarim@atailouloute@xabbuh@MrYamous@fancyweb@AnaniTH@fabpot@ogizanagi@JJarrie@lyrixx@l-vo@weaverryan@Nyholm@Livda

[8]ページ先頭

©2009-2025 Movatter.jp