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

Make Travis green again on PHP 8! #782

Merged
merged 2 commits into from
Jul 1, 2020
Merged

Make Travis green again on PHP 8! #782

merged 2 commits into from
Jul 1, 2020

Conversation

IonBazan
Copy link
Contributor

Q A
Branch master
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Documented? no
Fixed tickets comma-separated list of tickets fixed by the PR, if any

New Task Checklist:

  • Are all CI services returning green?

@@ -22,7 +22,7 @@ matrix:
- php: nightly

before_install:
- phpenv config-rm xdebug.ini
- phpenv config-rm xdebug.ini || true
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you point me to a failure? I can't seem to find one related to this change?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The thing is Xdebug is not available for PHP 8 yet so travis build was failing here. Suppressing it with || true allows script to continue if Xdebug was not installed. I added --ignore-platform-reqs flag to composer to let it install the dependencies on upcoming PHP version but the build is still failing because of the deprecation errors. At least we are able to see the errors so we can work on fixing them 😉 .

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Failures are related to phpspec/phpspec#1313

Copy link
Contributor

Choose a reason for hiding this comment

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

ok, do you want to keep this PR open untill phpspec is fixed or do you want me to merge it in as-is?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Merging now shouldn't hurt. We can just keep an eye on nightly CI sometimes to see if it's green because it's most likely only phpspec's problem and should be resolved soon without any changes to this repo.

@IonBazan IonBazan changed the title Make Travis green again! Make Travis green again on PHP 8! Jun 30, 2020
@veewee veewee added this to the 0.19.2 milestone Jul 1, 2020
@veewee
Copy link
Contributor

veewee commented Jul 1, 2020

Thanks for the PR!

@veewee veewee merged commit 936e2b3 into phpro:master Jul 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants