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 left-associative ternary deprecation warnings for PHP 7.4#31252

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

Conversation

@thib92
Copy link
Contributor

QA
Branch?master
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets#31246
LicenseMIT
Doc PRnone

All the context is explained in issue#31246. Only two files (three occurrences in total) used a chained ternary operator in the Symfony codebase, which will be deprecated in PHP 7.4 (removed in PHP 8), followingthis RFC.

@nicolas-grekasnicolas-grekas changed the base branch frommaster to4.2April 26, 2019 07:24
@nicolas-grekasnicolas-grekasforce-pushed thefix/left-associative-ternary branch from29c23cd to3022a36CompareApril 26, 2019 07:24
@nicolas-grekas
Copy link
Member

Thank you@thib92.

@nicolas-grekasnicolas-grekas merged commit3022a36 intosymfony:4.2Apr 26, 2019
nicolas-grekas added a commit that referenced this pull requestApr 26, 2019
…P 7.4 (thib92)This PR was submitted for the master branch but it was merged into the 4.2 branch instead (closes#31252).Discussion----------Fix left-associative ternary deprecation warnings for PHP 7.4| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#31246| License       | MIT| Doc PR        | noneAll the context is explained in issue#31246. Only two files (three occurrences in total) used a chained ternary operator in the Symfony codebase, which will be deprecated in PHP 7.4 (removed in PHP 8), following [this RFC](https://wiki.php.net/rfc/ternary_associativity).Commits-------3022a36 Fix left-associative ternary deprecation warnings for PHP 7.4
@thib92thib92 deleted the fix/left-associative-ternary branchApril 26, 2019 16:19
@xabbuhxabbuh added this to the4.2 milestoneApr 29, 2019
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

1 more reviewer

@SimperfitSimperfitSimperfit approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

4.2

Development

Successfully merging this pull request may close these issues.

5 participants

@thib92@nicolas-grekas@Simperfit@xabbuh@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp