Add php-7.2, php-7.3 and php-7.4 version tests during Travis CI build.
Since the php-7.x versions are released, the hhvm support should be removed.
To support future PHPUnit versions, it's good to use PHPUnit\Framework\TestCase namespace.
The PSR-0 autoloading is deprecated and using PSR-4 autoloading instead.
Let all class instances use use syntax to define class with namespace on the head of PHP files.
Removing additional whitesapces.
The get_magic_quotes_gpc function is deprecated since php-7.4 version. And it should use the function_exists to check get_magic_quotes_gpc is existed inside if condition.
Changed log
php-7.2
,php-7.3
andphp-7.4
version tests during Travis CI build.php-7.x
versions are released, thehhvm
support should be removed.PHPUnit\Framework\TestCase
namespace.PSR-0
autoloading is deprecated and usingPSR-4
autoloading instead.use
syntax to define class with namespace on the head of PHP files.get_magic_quotes_gpc
function is deprecated sincephp-7.4
version. And it should use thefunction_exists
to checkget_magic_quotes_gpc
is existed insideif
condition.