-
Notifications
You must be signed in to change notification settings - Fork 141
Allow PHP 8 and Update PHPUnit #208
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
Conversation
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.
LGTM!
.travis.yml
Outdated
|
||
after_success: | ||
- travis_retry php vendor/bin/coveralls -v | ||
- travis_retry php vendor/bin/coveralls -v |
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.
nit: revert?
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.
I don't remember removing that. I will take a look.
// allow demos without expect files - we will just get a warning later | ||
// assert(file_exists($outputPath), "output does not exist $outputPath"); |
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.
Why does this need to be removed? Perhaps we can skip and print a warning for now if the output path does not exist?
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.
In PHP 7 this generated a warning and the tests still passed. With PHP 8 this generates a fatal error and stops.
A warning is still generated later when file_get_contents
is called, but the tests still work.
* @param callable $comparer Comparer to determine causality of events based on absolute time. | ||
*/ | ||
public function __construct(int $initialClock = 0, callable $comparer) | ||
public function __construct(int $initialClock, callable $comparer) |
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.
Interesting. I guess this went unnoticed before.
No description provided.