You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a property is defined on a class that extends PHPUnit\Framework\TestCase I get first a PropertyNotSetInConstructor error, and then when I create a constructor to set it, I get a The method PHPUnit\Framework\TestCase::__construct is internal to PHPUnit. So we have two ways here:
The text was updated successfully, but these errors were encountered:
antonioribeiro
changed the title
InternalMethod conflicts with
InternalMethod conflicts with PropertyNotSetInConstructor
Oct 20, 2024
antonioribeiro
changed the title
InternalMethod conflicts with PropertyNotSetInConstructor
InternalMethod error conflicts with PropertyNotSetInConstructor
Oct 20, 2024
If a property is defined on a class that extends
PHPUnit\Framework\TestCase
I get first aPropertyNotSetInConstructor
error, and then when I create a constructor to set it, I get aThe method PHPUnit\Framework\TestCase::__construct is internal to PHPUnit
. So we have two ways here:The text was updated successfully, but these errors were encountered: