update php version

This commit is contained in:
Dennis Eichhorn 2022-04-19 23:37:09 +02:00
parent b4f61f760a
commit d62475dc69
1026 changed files with 1373 additions and 1219 deletions

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Account
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Account
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Account
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Account
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Account
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Account
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Account
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Account
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Account
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Account
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Account
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Account
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Ai\NeuralNetwork
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Ai\Ocr
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Ai\Ocr\Tesseract
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Algorithm\Clustering
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Algorithm\Clustering
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Algorithm\Clustering
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Algorithm\CoinMatching
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Algorithm\Graph;
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Algorithm\JobScheduling
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Algorithm\JobScheduling
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Algorithm\JobScheduling
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Algorithm\Knapsack
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Algorithm\Knapsack
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Algorithm\Knapsack
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Algorithm\Knapsack
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Algorithm\Knapsack
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Algorithm\Knapsack
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Algorithm\Maze
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Algorithm\PathFinding
* @copyright Dennis Eichhorn
@ -54,7 +54,7 @@ final class AStar implements PathFinderInterface
$startNode->setF(0.0);
$startNode->setOpened(true);
$openList = new Heap(function(AStarNode $node1, AStarNode $node2) {
$openList = new Heap(function (AStarNode $node1, AStarNode $node2) {
return $node1->getF() - $node2->getF();
});
@ -63,6 +63,11 @@ final class AStar implements PathFinderInterface
while (!$openList->isEmpty()) {
$node = $openList->pop();
if ($node === null) {
break;
}
/** @var AStarNode $node */
$node->setClosed(true);
if ($node->isEqual($endNode)) {

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Algorithm\PathFinding
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Algorithm\PathFinding
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Algorithm\PathFinding
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Algorithm\PathFinding
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Algorithm\PathFinding
* @copyright Dennis Eichhorn
@ -14,6 +14,8 @@ declare(strict_types=1);
namespace phpOMS\Algorithm\PathFinding;
use phpOMS\Stdlib\Base\HeapItemInterface;
/**
* Node on grid.
*

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Algorithm\PathFinding
* @copyright Dennis Eichhorn
@ -63,6 +63,11 @@ final class JumpPointSearch implements PathFinderInterface
while (!$openList->isEmpty()) {
$node = $openList->pop();
if ($node === null) {
break;
}
/** @var JumpPointNode $node */
$node->setClosed(true);
if ($node->isEqual($endNode)) {

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Algorithm\PathFinding
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Algorithm\PathFinding
* @copyright Dennis Eichhorn
@ -14,6 +14,8 @@ declare(strict_types=1);
namespace phpOMS\Algorithm\PathFinding;
use phpOMS\Stdlib\Base\HeapItemInterface;
/**
* Node on grid.
*
@ -22,7 +24,7 @@ namespace phpOMS\Algorithm\PathFinding;
* @link https://karaka.app
* @since 1.0.0
*/
class Node
class Node implements HeapItemInterface
{
/**
* X-Coordinate.
@ -127,7 +129,7 @@ class Node
*
* @since 1.0.0
*/
public function isEqual(self $node) : bool
public function isEqual(HeapItemInterface $node) : bool
{
return $this->x === $node->getX() && $this->y === $node->getY();
}

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Algorithm\PathFinding
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Algorithm\PathFinding
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Algorithm\PathFinding
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Algorithm\PathFinding
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Algorithm\Sort;
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Algorithm\Sort;
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Algorithm\Sort;
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Algorithm\Sort;
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Algorithm\Sort;
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Algorithm\Sort;
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Algorithm\Sort;
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Algorithm\Sort;
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Algorithm\Sort;
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Algorithm\Sort;
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Algorithm\Sort;
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Algorithm\Sort;
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Algorithm\Sort;
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Algorithm\Sort;
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Algorithm\Sort;
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Algorithm\Sort;
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Algorithm\Sort;
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Algorithm\Sort
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Algorithm\Sort;
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Algorithm\Sort;
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Algorithm\Sort;
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Application
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Application
* @copyright Dennis Eichhorn

View File

@ -3,7 +3,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Application
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Application
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Application
* @copyright Dennis Eichhorn
@ -117,6 +117,10 @@ abstract class InstallerAbstract
}
$definitions = \json_decode($content, true);
if (!\is_array($definitions)) {
return;
}
foreach ($definitions as $definition) {
SchemaBuilder::createFromSchema($definition, $dbPool->get('schema'))->execute();
}

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Application
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Application
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Asset
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Asset
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Auth
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Auth
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Business\Finance
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Business\Finance
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Business\Finance
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Business\Finance
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Business\Finance
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Business\Marketing
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Business\Marketing
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Business\Marketing
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Business\Marketing
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Business\Marketing
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Business\Programming
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Business\Sales
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Config
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Config
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Config
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Contract
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Contract
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Contract
* @copyright Dennis Eichhorn
@ -39,11 +39,11 @@ interface SerializableInterface
/**
* Fill object with data
*
* @param mixed $data Date to unserialize
* @param null|int|float|string|bool $data Date to unserialize
*
* @return void
*
* @since 1.0.0
*/
public function unserialize($data) : void;
public function unserialize(mixed $data) : void;
}

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\Contract
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\DataStorage\Cache
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\DataStorage\Cache
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\DataStorage\Cache
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package phpOMS\DataStorage\Cache\Connection
* @copyright Dennis Eichhorn

Some files were not shown because too many files have changed in this diff Show More