Skip to content

Comments

Catch PHP7 errors implementing Throwable#833

Merged
everzet merged 1 commit intoBehat:masterfrom
peterjmit:catch-throwable
Feb 15, 2016
Merged

Catch PHP7 errors implementing Throwable#833
everzet merged 1 commit intoBehat:masterfrom
peterjmit:catch-throwable

Conversation

@peterjmit
Copy link
Contributor

Resolves #831

Questions:

  • How to correctly handle the version differences? JUnit formatter/feature might be problematic
  • FatalThrowableError has been re-appropriated from Symfony, do I need to include licensing?

Copy link
Member

Choose a reason for hiding this comment

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

Please keep the @author annotation with the original author (i.e. @nicolas-grekas IIRC)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@stof not sure if this is what you meant, perhaps just php5.3 if it works as a "minimum version"

Copy link
Member

Choose a reason for hiding this comment

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

no need to put anything there, as 5.3 is the min version supported by Behat instead. And using it to exclude PHP 7 is wrong though. It has this behavior only because the code used on Travis actually treats PHP 7.0 as a 5.0 release (so excluding any test with a min version tag)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@stof this test fails on php 7 locally (imo is expected to fail), so do I remove the tags or not?

@peterjmit
Copy link
Contributor Author

@stof @everzet Scrutinizer timed out and I don't have access to restart, can one of you do the honors?

@kamazee
Copy link

kamazee commented Feb 5, 2016

@peterjmit you can simply amend a commit with nothing (just to change its hash) and push (with force), it should restart builds.

@peterjmit
Copy link
Contributor Author

This should be ready to merge unless there is more feedback/changes required for the PHP7 tag on the junit feature

everzet added a commit that referenced this pull request Feb 15, 2016
Catch PHP7 errors implementing Throwable
@everzet everzet merged commit e080d0b into Behat:master Feb 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants