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

[Process] Fix broken tests for PHP 7.2#24516

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

Closed
sroze wants to merge2 commits intosymfony:masterfromsroze:process-and-php72

Conversation

@sroze
Copy link
Contributor

@srozesroze commentedOct 11, 2017
edited
Loading

QA
Branch?master
Bug fix?no
New feature?no
BC breaks?no
Deprecations?no
Tests pass?no
Fixed tickets#24524,#24515
LicenseMIT
Doc PRø

Following#24515, trying to fix Process tests with PHP 7.2

@sroze
Copy link
ContributorAuthor

Status: needs work
Reason: tests are not actually running and it's only running PHP 7.2 for now

env:deps=high
-php:7.1
env:deps=low
-php:7.2

Choose a reason for hiding this comment

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

can you add another line:

- php: 7.2- php: 7.2  env: deps=low

sroze reacted with thumbs up emoji
@srozesrozeforce-pushed theprocess-and-php72 branch 3 times, most recently from5be2f4c to1677777CompareOctober 11, 2017 13:12
@srozesroze changed the titlePHP 7.2 Process testsProcess & HttpFoundation tests for PHP 7.2Oct 11, 2017
@stof
Copy link
Member

you should avoid it being marked as an intermediary version though. You don't want it to be skipped.

sroze reacted with thumbs up emoji

@sroze
Copy link
ContributorAuthor

@stof do you think we should prevent 7.2 to be marked as intermediate for all the PRs or it was just in the context of my debugging?

@sroze
Copy link
ContributorAuthor

Status: Needs Review


if (\PHP_SESSION_ACTIVE ===session_status()) {
if (!empty($options) ||null !==$handler) {
thrownew \LogicException('Cannot change options or handler of an active session');
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we really to throw here ? maybe a test should be added to test this behaviour ?

-php:7.1
env:deps=high
-php:7.1
-php:7.2
Copy link
Contributor

Choose a reason for hiding this comment

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

maybe we could add without deps=low too

Choose a reason for hiding this comment

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

nope: the matrix is optimized to test the maximum of cases with the minimum number of jobs

Simperfit reacted with thumbs up emoji
@srozesroze changed the titleProcess & HttpFoundation tests for PHP 7.2[Process] Fix broken tests for PHP 7.2Oct 12, 2017
@sroze
Copy link
ContributorAuthor

@nicolas-grekas as discussed, kept here only the process test change and travis configuration and moved the native session storage PR to#24531 to target 2.7.

@sroze
Copy link
ContributorAuthor

sroze commentedOct 12, 2017
edited
Loading

And rebased. Tests are logically still failing because of the HttpFoundation bug fixed in#24531.

@sroze
Copy link
ContributorAuthor

Rebased and now 💚.

/cc@xabbuh

@nicolas-grekas
Copy link
Member

Thank you@sroze.

nicolas-grekas added a commit that referenced this pull requestNov 6, 2017
This PR was squashed before being merged into the 4.0-dev branch (closes#24516).Discussion----------[Process] Fix broken tests for PHP 7.2| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | no| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | no| Fixed tickets |#24524,#24515| License       | MIT| Doc PR        | øFollowing#24515, trying to fix Process tests with PHP 7.2Commits-------b410a36 [Process] Fix broken tests for PHP 7.2
@srozesroze deleted the process-and-php72 branchNovember 6, 2017 15:08
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@nicolas-grekasnicolas-grekasnicolas-grekas left review comments

@xabbuhxabbuhxabbuh approved these changes

@chalasrchalasrchalasr approved these changes

+1 more reviewer

@SimperfitSimperfitSimperfit left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

4.0

Development

Successfully merging this pull request may close these issues.

7 participants

@sroze@stof@nicolas-grekas@xabbuh@Simperfit@chalasr@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp