Skip to content

Fatal error: Declaration of Magium\Util\Log\Logger::addError() #8

Description

@Jignesh001

Hi,

I am very new to magiumlib and I have followed the instruction here to begin with first magento test: https://magiumlib.com/blog/how-to-start-selenium-testing-on-magento-or-succeeding-at-selenium-in-under-10-minutes/

It works perfect if there are no error or warning on test but its through fatal error(see below for exact msg) when there are failure in test.
Fatal error: Declaration of Magium\Util\Log\Logger::addError() must be compatible with PHPUnit_Framework_TestListener::addError(PHPUnit_Framework_Test $test, Exception $e, $time) in /MagiumMagentoExample/vendor/magium/magium/lib/Util/Log/Logger.php on line 17

Can you please help me to fix it?

Kind Regards,
Jignesh

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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