migrate to php8

This commit is contained in:
ivan shalganov
2023-02-05 21:59:04 +01:00
parent 065ccaec23
commit 84dac62a85
11 changed files with 1630 additions and 1888 deletions

View File

@@ -1,11 +1,7 @@
<?php
require(__DIR__ . "/../src/Fenom.php");
Fenom::registerAutoload();
if(!class_exists('\PHPUnit_Framework_TestCase') && class_exists('\PHPUnit\Framework\TestCase')) {
class_alias('\PHPUnit\Framework\TestCase', '\PHPUnit_Framework_TestCase');
}
//Fenom::registerAutoload();
define('FENOM_RESOURCES', __DIR__ . "/resources");