blackfireio / php-sdk

The Blackfire PHP SDK
https://blackfire.io
MIT License
150 stars 22 forks source link

PHPUnit 7 Compatibility #33

Closed slashsbin closed 6 years ago

slashsbin commented 6 years ago

Running SDK on PHP7.1 with PHPUnit 7 will fail with Fatal Error:

PHP Fatal error:  Declaration of Blackfire\Bridge\PhpUnit\TestConstraint::matches($profile) must be compatible with PHPUnit\Framework\Constraint\Constraint::matches($other): bool in /Users/mohammad/workspace/3sootjobs/api/vendor/blackfire/php-sdk/src/Blackfire/Bridge/PhpUnit/TestConstraint.php on line 72
romainneutron commented 6 years ago

Hello,

Thanks for reporting this. It should have been fixed in https://github.com/blackfireio/php-sdk/releases/tag/v1.13.0