The php-7.1.33 version is latest stable php-7.1 version now.
Remove trusty dist and these php-7.x versions are enabled on xenial dist by default.
Upgrade the PHPUnit version to be ^7.0||^8.0.
To be compatible with PHPUnit 7.x and PHPUnit 8.x versions, it should add :void to be compatible with PHPUnit\Framework\TestCase::setUp method.
Using the assertTrue and assertFalse assertions to assert expected value is true or false.
Changed log
php-7.1.33
version is latest stablephp-7.1
version now.trusty
dist and thesephp-7.x
versions are enabled onxenial
dist by default.PHPUnit
version to be^7.0||^8.0
. To be compatible withPHPUnit 7.x
andPHPUnit 8.x
versions, it should add:void
to be compatible withPHPUnit\Framework\TestCase::setUp
method.assertTrue
andassertFalse
assertions to assert expected value istrue
orfalse
.