Skip to content

Unit tests won't run #3

@timhunt

Description

@timhunt

I just cloned this repo, to do a bug fix.

After running php composer.phar install, vendor/bin/phpunit started working, but then it hit the error

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 C:\Users\tjh238\workspace\rtlcss-php\vendor\sebastian\comparator\src\DOMNodeComparator.php on line 48

Which is a pain. Means I cannot add tests to my new fix (but, the fix works to fix processing of the OU Moodle theme, and makes logical sense, so I think it is good.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions