PHPUnit 7 changed the signature of the TestCase methods to include the
return type.
class AddressDetailsTest extends \PHPUnit\Framework\TestCase
{
class AddressDetailsTest extends \PHPUnit\Framework\TestCase
{
- protected function setUp()
+ protected function setUp(): void
{
// How the fixture got created
//
{
// How the fixture got created
//
class DebugTest extends \PHPUnit\Framework\TestCase
{
class DebugTest extends \PHPUnit\Framework\TestCase
{
- protected function setUp()
+ protected function setUp(): void
{
$this->oWithDebuginfo = $this->getMockBuilder(\GeococdeMock::class)
->setMethods(array('debugInfo'))
{
$this->oWithDebuginfo = $this->getMockBuilder(\GeococdeMock::class)
->setMethods(array('debugInfo'))
- protected function setUp()
+ protected function setUp(): void
{
$this->oCtx = new SearchContext();
}
{
$this->oCtx = new SearchContext();
}
class TokenTest extends \PHPUnit\Framework\TestCase
{
class TokenTest extends \PHPUnit\Framework\TestCase
{
- protected function setUp()
+ protected function setUp(): void
{
$this->oNormalizer = $this->getMockBuilder(\MockNormalizer::class)
->setMethods(array('transliterate'))
{
$this->oNormalizer = $this->getMockBuilder(\MockNormalizer::class)
->setMethods(array('transliterate'))