Skip to content
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

Add missing group to DDC2660Test.php #6251

Merged
merged 1 commit into from
Jan 24, 2017

Conversation

mbeccati
Copy link
Contributor

With the current PHPUnit version and PHP 7.2/master, the test fails with:

  1. Doctrine\Tests\ORM\Functional\Ticket\DDC2660Test::testIssueWithExtraColumn
    array_flip(): Can only flip STRING and INTEGER values!

  2. Doctrine\Tests\ORM\Functional\Ticket\DDC2660Test::testIssueWithoutExtraColumn
    array_flip(): Can only flip STRING and INTEGER values!

Due to the group being NULL vs "" on older PHP versions.

I will also file a bug report or fix to PHPUnit and/or PHP itself, but it sounds
like the missing group was just a typo.

With the current PHPUnit version and PHP 7.2/master, the test fails with:

1) Doctrine\Tests\ORM\Functional\Ticket\DDC2660Test::testIssueWithExtraColumn
array_flip(): Can only flip STRING and INTEGER values!

2) Doctrine\Tests\ORM\Functional\Ticket\DDC2660Test::testIssueWithoutExtraColumn
array_flip(): Can only flip STRING and INTEGER values!

Due to the group being NULL vs "" on older PHP versions.

I will also file a bug report or fix to PHPUnit and/or PHP itself, but it sounds
like the missing group was just a typo.
@Ocramius Ocramius self-assigned this Jan 24, 2017
@Ocramius Ocramius added the Bug label Jan 24, 2017
@Ocramius Ocramius added this to the 2.6.0 milestone Jan 24, 2017
@Ocramius
Copy link
Member

@mbeccati nice find!

@Ocramius Ocramius merged commit 9c76c37 into doctrine:master Jan 24, 2017
@mbeccati mbeccati deleted the ddc2660-test-fix branch January 24, 2017 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants