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

fix fopen flags#28377

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
fabpot merged 1 commit intosymfony:2.8fromSpacePossum:2_7_fopen_fixes
Sep 7, 2018
Merged

fix fopen flags#28377

fabpot merged 1 commit intosymfony:2.8fromSpacePossum:2_7_fopen_fixes
Sep 7, 2018

Conversation

@SpacePossum
Copy link
Contributor

QA
Branch?2.7
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed ticketsnone
LicenseMIT
Doc PRnone

$this->exitcode =null;
$this->fallbackStatus =array();
$this->processInformation =null;
$this->stdout =fopen('php://temp/maxmemory:'.(1024 *1024),'wb+');
Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

wb+ is not valid

*/
publicfunctionformat(MessageCatalogue$messages,$domain ='messages')
{
$handle =fopen('php://memory','rb+');
Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

rb+ is not valid

@nicolas-grekas
Copy link
Member

Hello, can you rebase+retarget on 2.8 please, and also keep only the fixed modes?
Theb is already the default mode since PHP4.soemthing, it is not needed to make it explicit.

@SpacePossumSpacePossum changed the base branch from2.7 to2.8September 6, 2018 17:11
@SpacePossum
Copy link
ContributorAuthor

SpacePossum commentedSep 6, 2018
edited
Loading

sure thing@nicolas-grekas 👍
leaves a very small PR though, sorry for that

@fabpot
Copy link
Member

Thank you@SpacePossum.

SpacePossum reacted with thumbs up emoji

@fabpotfabpot merged commit6d155ed intosymfony:2.8Sep 7, 2018
fabpot added a commit that referenced this pull requestSep 7, 2018
This PR was merged into the 2.8 branch.Discussion----------fix fopen flags| Q             | A| ------------- | ---| Branch?       | 2.7| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets | none| License       | MIT| Doc PR        | none<!--Fixes the flags/mode used with `fopen`-->Commits-------6d155ed fix fopen calls
@SpacePossumSpacePossum deleted the 2_7_fopen_fixes branchSeptember 7, 2018 08:06
This was referencedSep 30, 2018
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

2.8

Development

Successfully merging this pull request may close these issues.

4 participants

@SpacePossum@nicolas-grekas@fabpot@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp