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

Error when run unit test #1

Open
khanhnv-2091 opened this issue Jun 15, 2020 · 0 comments
Open

Error when run unit test #1

khanhnv-2091 opened this issue Jun 15, 2020 · 0 comments

Comments

@khanhnv-2091
Copy link

Hi, I run a unit test give an error

sun@labs:~/git/phortress$ vendor/bin/phpunit
PHPUnit 4.2.6 by Sebastian Bergmann.

Configuration read from /home/sun/git/phortress/phpunit.xml.dist

The Xdebug extension is not loaded. No code coverage will be generated.

PHP Fatal error:  Declaration of SebastianBergmann\Comparator\DOMNodeComparator::assertEquals($expected, $actual, $delta = 0, $canonicalize = false, $ignoreCase = false) must be compatible with SebastianBergmann\Comparator\ObjectComparator::assertEquals($expected, $actual, $delta = 0, $canonicalize = false, $ignoreCase = false, array &$processed = Array) in /home/sun/git/phortress/vendor/sebastian/comparator/src/DOMNodeComparator.php on line 149
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

No branches or pull requests

1 participant