-
Notifications
You must be signed in to change notification settings - Fork 132
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
Disallow build failures on PHP 7.2 #392
Conversation
Hmm, Travis uses PHP 7.1.1 but the bug in SoapClient is fixed in 7.1.2 :( |
@kukulich Hmm, what's the
|
@asgrim It caused by this: https://github.com/php/php-src/blob/PHP-7.1/NEWS#L170 Travis still runs PHP 7.1.11 unfortunately :( I can add |
Ah sorry, your comment suggested it was fixed in 7.1.2 ;) Gotcha. Then yes indeed, we're going to need to hack it to support both versions unfortunately as someone may be trying to reflect |
@asgrim Solved :) |
@@ -397,7 +397,12 @@ private function assertSameParameterAttributes( | |||
} | |||
//self::assertSame($original->allowsNull(), $stubbed->allowsNull()); @TODO WTF? | |||
self::assertSame($original->canBePassedByValue(), $stubbed->canBePassedByValue(), $parameterName); | |||
self::assertSame($original->isOptional(), $stubbed->isOptional(), $parameterName); | |||
|
|||
if (! ($parameterName === 'SoapClient#__setSoapHeaders.soapheaders' && PHP_VERSION_ID < 70112)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Disgusting, but works 👍
No description provided.