PHP 8.0 compatibility update
continuous-integration/drone/push Build encountered an error
Details
continuous-integration/drone/push Build encountered an error
Details
This commit is contained in:
parent
3ebd91d2ef
commit
8ce3630714
|
@ -1,20 +1,16 @@
|
||||||
{
|
{
|
||||||
"name": "fuzeworks/core",
|
"name": "fuzeworks/core",
|
||||||
"description": "FuzeWorks Framework Core",
|
"description": "FuzeWorks Framework Core",
|
||||||
"homepage": "https://techfuze.net/fuzeworks",
|
"homepage": "https://i15.nl/fuzeworks",
|
||||||
"license": ["MIT"],
|
"license": ["MIT"],
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "TechFuze",
|
"name": "Abel Hoogeveen",
|
||||||
"homepage": "https://techfuze.net"
|
"homepage": "https://i15.nl"
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "FuzeWorks Community",
|
|
||||||
"homepage": "https://techfuze.net/fuzeworks/contributors"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=7.2.0"
|
"php": ">=7.4.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpunit/phpunit": "^9",
|
"phpunit/phpunit": "^9",
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
* @link http://techfuze.net/fuzeworks
|
* @link http://techfuze.net/fuzeworks
|
||||||
* @since Version 0.0.1
|
* @since Version 0.0.1
|
||||||
*
|
*
|
||||||
* @version Version 1.2.0
|
* @version Version 1.3.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace FuzeWorks;
|
namespace FuzeWorks;
|
||||||
|
@ -345,7 +345,7 @@ class Configurator
|
||||||
Core::$logDir = $this->parameters['logDir'];
|
Core::$logDir = $this->parameters['logDir'];
|
||||||
|
|
||||||
// Then prepare the debugger
|
// Then prepare the debugger
|
||||||
$debug = ($this->parameters['debugEnabled'] && $this->parameters['debugMatch'] ? true : false);
|
$debug = $this->parameters['debugEnabled'] && $this->parameters['debugMatch'];
|
||||||
|
|
||||||
// Then load the framework
|
// Then load the framework
|
||||||
$container = Core::init();
|
$container = Core::init();
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
* @link http://techfuze.net/fuzeworks
|
* @link http://techfuze.net/fuzeworks
|
||||||
* @since Version 0.0.1
|
* @since Version 0.0.1
|
||||||
*
|
*
|
||||||
* @version Version 1.2.0
|
* @version Version 1.3.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace FuzeWorks;
|
namespace FuzeWorks;
|
||||||
|
@ -173,6 +173,9 @@ class Factory
|
||||||
// Initialize all components
|
// Initialize all components
|
||||||
foreach ($this as $component)
|
foreach ($this as $component)
|
||||||
{
|
{
|
||||||
|
if (!is_object($component))
|
||||||
|
continue;
|
||||||
|
|
||||||
if (method_exists($component, 'init'))
|
if (method_exists($component, 'init'))
|
||||||
$component->init();
|
$component->init();
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,29 +1,19 @@
|
||||||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.5/phpunit.xsd"
|
<?xml version="1.0"?>
|
||||||
bootstrap="autoload.php"
|
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd" bootstrap="autoload.php" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" stopOnError="false" stopOnFailure="false" stopOnIncomplete="false" stopOnSkipped="false" colors="false">
|
||||||
convertErrorsToExceptions="true"
|
<coverage processUncoveredFiles="false">
|
||||||
convertNoticesToExceptions="true"
|
<include>
|
||||||
convertWarningsToExceptions="true"
|
<directory suffix=".php">../</directory>
|
||||||
stopOnError="false"
|
</include>
|
||||||
stopOnFailure="false"
|
<exclude>
|
||||||
stopOnIncomplete="false"
|
<directory suffix=".php">../vendor/</directory>
|
||||||
stopOnSkipped="false"
|
<directory suffix=".php">../test/</directory>
|
||||||
colors="false">
|
<directory suffix=".php">../src/Layout/</directory>
|
||||||
|
<directory suffix=".php">../src/Config/</directory>
|
||||||
|
</exclude>
|
||||||
|
</coverage>
|
||||||
<testsuites>
|
<testsuites>
|
||||||
<testsuite name="Core Functionality">
|
<testsuite name="Core Suite">
|
||||||
<directory>./</directory>
|
<directory>./</directory>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
</testsuites>
|
</testsuites>
|
||||||
|
|
||||||
<filter>
|
|
||||||
<whitelist processUncoveredFilesFromWhitelist="false">
|
|
||||||
<directory suffix=".php">../</directory>
|
|
||||||
<exclude>
|
|
||||||
<directory suffix=".php">../vendor/</directory>
|
|
||||||
<directory suffix=".php">../test/</directory>
|
|
||||||
<directory suffix=".php">../src/Layout/</directory>
|
|
||||||
<directory suffix=".php">../src/Config/</directory>
|
|
||||||
</exclude>
|
|
||||||
</whitelist>
|
|
||||||
</filter>
|
|
||||||
</phpunit>
|
</phpunit>
|
Loading…
Reference in New Issue