spell checking

This commit is contained in:
Dennis Eichhorn 2019-12-22 09:37:49 +01:00
parent 6e5f5bb4d3
commit aefd1e8cc5
63 changed files with 229 additions and 229 deletions

View File

@ -25,7 +25,7 @@ namespace phpOMS\Algorithm\Sort;
final class TimSort implements SortInterface
{
/**
* Blocks the sorting is devided into
* Blocks the sorting is divided into
*
* @var int
* @since 1.0.0

View File

@ -124,7 +124,7 @@ final class Depreciation
}
/**
* Calculate the progressiv factor
* Calculate the progressive factor
*
* @param float $start Value to depreciate (reduced by residual value if required)
* @param float $residual Residual value

View File

@ -86,7 +86,7 @@ final class Dispatcher implements DispatcherInterface
/**
* Dispatch string.
*
* The disptacher can dispatch static functions.
* The dispatcher can dispatch static functions.
* String: `some/namespace/path::myStaticFunction`
*
* Additionally it's also possible to dispatch functions of modules.

View File

@ -150,7 +150,7 @@ final class EventManager implements \Countable
* @param string $id Sub-requirement for event
* @param mixed $data Data to pass to the callback
*
* @return bool returns true on sucessfully triggering the event, false if the event couldn't be triggered which also includes sub-requirements missing
* @return bool returns true on successfully triggering the event, false if the event couldn't be triggered which also includes sub-requirements missing
*
* @since 1.0.0
*/
@ -179,7 +179,7 @@ final class EventManager implements \Countable
* @param string $id Sub-requirement for event
* @param mixed $data Data to pass to the callback
*
* @return bool returns true on sucessfully triggering the event, false if the event couldn't be triggered which also includes sub-requirements missing
* @return bool returns true on successfully triggering the event, false if the event couldn't be triggered which also includes sub-requirements missing
*
* @since 1.0.0
*/

View File

@ -15,14 +15,14 @@ declare(strict_types=1);
namespace phpOMS\Math\Exception;
/**
* Zero devision exception.
* Zero division exception.
*
* @package phpOMS\Math\Exception
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
*/
final class ZeroDevisionException extends \UnexpectedValueException
final class ZeroDivisionException extends \UnexpectedValueException
{
/**
* Constructor.
@ -34,6 +34,6 @@ final class ZeroDevisionException extends \UnexpectedValueException
*/
public function __construct(int $code = 0, \Exception $previous = null)
{
parent::__construct('Devision by zero is not defined.', $code, $previous);
parent::__construct('Division by zero is not defined.', $code, $previous);
}
}

View File

@ -24,7 +24,7 @@ use phpOMS\Math\Number\Numbers;
* @link https://orange-management.org
* @since 1.0.0
*/
final class Fibunacci
final class Fibonacci
{
/**
* Constructor.
@ -38,7 +38,7 @@ final class Fibunacci
}
/**
* Is fibunacci number.
* Is Fibonacci number.
*
* @param int $n Integer
*
@ -46,13 +46,13 @@ final class Fibunacci
*
* @since 1.0.0
*/
public static function isFibunacci(int $n) : bool
public static function isFibonacci(int $n) : bool
{
return Numbers::isSquare(5 * $n ** 2 + 4) || Numbers::isSquare(5 * $n ** 2 - 4);
}
/**
* Get n-th fibunacci number.
* Get n-th Fibonacci number.
*
* @param int $n n-th number
* @param int $start Start value
@ -81,7 +81,7 @@ final class Fibunacci
}
/**
* Calculate n-th fibunacci with binets formula.
* Calculate n-th Fibonacci with binets formula.
*
* @param int $n n-th number
*

View File

@ -14,7 +14,7 @@ declare(strict_types=1);
namespace phpOMS\Math\Statistic;
use phpOMS\Math\Exception\ZeroDevisionException;
use phpOMS\Math\Exception\ZeroDivisionException;
use phpOMS\Math\Matrix\Exception\InvalidDimensionException;
/**
@ -167,7 +167,7 @@ final class Average
*
* @return float
*
* @throws ZeroDevisionException This exception is thrown if the values array is empty
* @throws ZeroDivisionException This exception is thrown if the values array is empty
*
* @since 1.0.0
*/
@ -176,7 +176,7 @@ final class Average
$count = \count($values);
if ($count === 0) {
throw new ZeroDevisionException();
throw new ZeroDivisionException();
}
return \array_sum($values) / $count;
@ -239,7 +239,7 @@ final class Average
*
* @return float
*
* @throws ZeroDevisionException This exception is thrown if the values array is empty
* @throws ZeroDivisionException This exception is thrown if the values array is empty
*
* @since 1.0.0
*/
@ -248,7 +248,7 @@ final class Average
$count = \count($values);
if ($count === 0) {
throw new ZeroDevisionException();
throw new ZeroDivisionException();
}
return \pow(\array_product($values), 1 / $count);
@ -264,7 +264,7 @@ final class Average
*
* @return float
*
* @throws ZeroDevisionException This exception is thrown if a value in the values array is 0 or if the values array is empty
* @throws ZeroDivisionException This exception is thrown if a value in the values array is 0 or if the values array is empty
*
* @since 1.0.0
*/
@ -280,12 +280,12 @@ final class Average
$sum = 0.0;
if ($count === 0) {
throw new ZeroDevisionException();
throw new ZeroDivisionException();
}
foreach ($values as $value) {
if ($value === 0) {
throw new ZeroDevisionException();
throw new ZeroDivisionException();
}
$sum += 1 / $value;

View File

@ -14,7 +14,7 @@ declare(strict_types=1);
namespace phpOMS\Math\Statistic;
use phpOMS\Math\Exception\ZeroDevisionException;
use phpOMS\Math\Exception\ZeroDivisionException;
use phpOMS\Math\Matrix\Exception\InvalidDimensionException;
/**
@ -68,7 +68,7 @@ final class MeasureOfDispersion
*
* @return float
*
* @throws ZeroDevisionException This exception is thrown if the mean is 0
* @throws ZeroDivisionException This exception is thrown if the mean is 0
*
* @since 1.0.0
*/
@ -77,7 +77,7 @@ final class MeasureOfDispersion
$mean = $mean !== null ? $mean : Average::arithmeticMean($values);
if ($mean === 0.0) {
throw new ZeroDevisionException();
throw new ZeroDivisionException();
}
return self::standardDeviation($values) / $mean;
@ -123,7 +123,7 @@ final class MeasureOfDispersion
*
* @return float
*
* @throws ZeroDevisionException This exception is thrown if the size of the values array is less than 2
* @throws ZeroDivisionException This exception is thrown if the size of the values array is less than 2
*
* @since 1.0.0
*/
@ -132,7 +132,7 @@ final class MeasureOfDispersion
$count = \count($values);
if ($count < 2) {
throw new ZeroDevisionException();
throw new ZeroDivisionException();
}
return self::empiricalVariance($values, [], $mean) * $count / ($count - 1);
@ -153,7 +153,7 @@ final class MeasureOfDispersion
*
* @return float
*
* @throws ZeroDevisionException This exception is thrown if the values array is empty
* @throws ZeroDivisionException This exception is thrown if the values array is empty
*
* @since 1.0.0
*/
@ -163,7 +163,7 @@ final class MeasureOfDispersion
$hasProbability = !empty($probabilities);
if ($count === 0) {
throw new ZeroDevisionException();
throw new ZeroDivisionException();
}
$mean = $hasProbability ? Average::weightedAverage($values, $probabilities) : ($mean !== null ? $mean : Average::arithmeticMean($values));
@ -190,7 +190,7 @@ final class MeasureOfDispersion
*
* @return float
*
* @throws ZeroDevisionException This exception is thrown if the size of the x array is less than 2
* @throws ZeroDivisionException This exception is thrown if the size of the x array is less than 2
* @throws InvalidDimensionException This exception is thrown if x and y have different dimensions
*
* @since 1.0.0
@ -200,7 +200,7 @@ final class MeasureOfDispersion
$count = \count($x);
if ($count < 2) {
throw new ZeroDevisionException();
throw new ZeroDivisionException();
}
if ($count !== \count($y)) {

View File

@ -96,7 +96,7 @@ class Client extends SocketAbstract
++$errorCounter;
}
// todo: create reset condition for errorCounter. Probably if a successfull read happened
// todo: create reset condition for errorCounter. Probably if a successful read happened
//if (socket_select($read, $write = null, $except = null, 0) < 1) {
// error

View File

@ -185,7 +185,7 @@ class PermissionAbstractTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox Invalid permissions are not validted
* @testdox Invalid permissions are not validated
* @covers phpOMS\Account\PermissionAbstract
* @group framework
*/

View File

@ -26,7 +26,7 @@ require_once __DIR__ . '/../../Autoloader.php';
class MinimumCoinProblemTest extends \PHPUnit\Framework\TestCase
{
/**
* @testdox A value is matched with the minimum quantity of avialable coins.
* @testdox A value is matched with the minimum quantity of available coins.
* @covers phpOMS\Algorithm\CoinMatching\MinimumCoinProblem
* @group framework
*/

View File

@ -102,7 +102,7 @@ class GridTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox All hoirzontal neighbors can be found correctly
* @testdox All horizontal neighbors can be found correctly
* @covers phpOMS\Algorithm\PathFinding\Grid::getNeighbors
* @group framework
*/

View File

@ -27,7 +27,7 @@ require_once __DIR__ . '/../../Autoloader.php';
class HeuristicTest extends \PHPUnit\Framework\TestCase
{
/**
* @testdox The heuristics return the corret metric results
* @testdox The heuristics return the correct metric results
* @covers phpOMS\Algorithm\PathFinding\Heuristic
* @group framework
*/

View File

@ -24,7 +24,7 @@ use phpOMS\Business\Finance\Depreciation;
class DepreciationTest extends \PHPUnit\Framework\TestCase
{
/**
* @testdox The straight line deprecition and reverse value calculations are correct
* @testdox The straight line depreciation and reverse value calculations are correct
* @group framework
*/
public function testStraightLine() : void
@ -38,7 +38,7 @@ class DepreciationTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox The arithmetic degressiv deprecition and reverse value calculations are correct
* @testdox The arithmetic degressive depreciation and reverse value calculations are correct
* @group framework
*/
public function testArithmeticDegressivDepreciation() : void
@ -54,7 +54,7 @@ class DepreciationTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox The arithmetic progressiv deprecition and reverse value calculations are correct
* @testdox The arithmetic progressive depreciation and reverse value calculations are correct
* @group framework
*/
public function testArithmeticProgressivDepreciation() : void
@ -70,7 +70,7 @@ class DepreciationTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox The geometric progressiv deprecition and reverse value calculations are correct
* @testdox The geometric progressive depreciation and reverse value calculations are correct
* @group framework
*/
public function testGeometricProgressivDepreciation() : void
@ -86,7 +86,7 @@ class DepreciationTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox The geometric degressiv deprecition and reverse value calculations are correct
* @testdox The geometric degressive depreciation and reverse value calculations are correct
* @group framework
*/
public function testGeometricDegressivDepreciation() : void

View File

@ -335,7 +335,7 @@ class FinanceFormulasTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox The descounted payback period is correct
* @testdox The discounted payback period is correct
* @group framework
*/
public function testDiscountedPaybackPeriod() : void
@ -548,7 +548,7 @@ class FinanceFormulasTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox No cash flows in the net prsent value calculation result in 0
* @testdox No cash flows in the net present value calculation result in 0
* @group framework
*/
public function testEmptyNetPresentValue() : void

View File

@ -24,7 +24,7 @@ use phpOMS\Business\Marketing\Metrics;
class MetricsTest extends \PHPUnit\Framework\TestCase
{
/**
* @testdox Test the correctnes of the customer retention calculation
* @testdox Test the correctness of the customer retention calculation
* @group framework
*/
public function testCustomerRetention() : void

View File

@ -35,7 +35,7 @@ class NetPromoterScoreTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox The net promotor score, detractors, passives and promotors are correct
* @testdox The net promoter score, detractors, passives and promoters are correct
* @group framework
*/
public function testScoreDetractorPassivePromotor() : void

View File

@ -19,7 +19,7 @@ use phpOMS\Config\OptionsTrait;
require_once __DIR__ . '/../Autoloader.php';
/**
* @testdox phpOMS\tests\Config\OptionsTrait: Helper for managing otpions
* @testdox phpOMS\tests\Config\OptionsTrait: Helper for managing options
*
* @internal
*/

View File

@ -70,7 +70,7 @@ class FileCacheTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox The connection to a dedicated cache directory can be established (none-exising directories get created)
* @testdox The connection to a dedicated cache directory can be established (none-existing directories get created)
* @covers phpOMS\DataStorage\Cache\Connection\FileCache<extended>
* @group framework
*/
@ -259,7 +259,7 @@ class FileCacheTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox Unexpired cache data connot be delete if lower expiration is defined
* @testdox Unexpired cache data cannot be delete if lower expiration is defined
* @covers phpOMS\DataStorage\Cache\Connection\FileCache<extended>
* @group framework
*/
@ -295,7 +295,7 @@ class FileCacheTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox Cach data can be flushed by expiration date
* @testdox Cache data can be flushed by expiration date
* @covers phpOMS\DataStorage\Cache\Connection\FileCache<extended>
* @group framework
*/

View File

@ -67,7 +67,7 @@ class MemCachedTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox The connection to a cache can be established (none-exising directories get created)
* @testdox The connection to a cache can be established (none-existing directories get created)
* @covers phpOMS\DataStorage\Cache\Connection\MemCached<extended>
* @group framework
*/

View File

@ -62,7 +62,7 @@ class RedisCacheTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox The connection to a cache can be established (none-exising directories get created)
* @testdox The connection to a cache can be established (none-existing directories get created)
* @covers phpOMS\DataStorage\Cache\Connection\RedisCache<extended>
* @group framework
*/

View File

@ -110,7 +110,7 @@ class CookieJarTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox A locked coockie cannot be saved and throws a LockException
* @testdox A locked cookie cannot be saved and throws a LockException
* @group framework
*/
public function testSaveLocked() : void

View File

@ -162,7 +162,7 @@ class DataMapperAbstractTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox The datamapper sucessfully creates a database entry of a model
* @testdox The datamapper successfully creates a database entry of a model
* @covers phpOMS\DataStorage\Database\DataMapperAbstract
* @group framework
*/
@ -173,7 +173,7 @@ class DataMapperAbstractTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox The datamapper sucessfully creates a database entry of array data
* @testdox The datamapper successfully creates a database entry of array data
* @covers phpOMS\DataStorage\Database\DataMapperAbstract
* @group framework
*/
@ -184,7 +184,7 @@ class DataMapperAbstractTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox The datamapper sucessfully returns a database entry as model
* @testdox The datamapper successfully returns a database entry as model
* @covers phpOMS\DataStorage\Database\DataMapperAbstract
* @group framework
*/
@ -221,7 +221,7 @@ class DataMapperAbstractTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox The datamapper sucessfully returns a database entry as array
* @testdox The datamapper successfully returns a database entry as array
* @covers phpOMS\DataStorage\Database\DataMapperAbstract
* @group framework
*/
@ -253,7 +253,7 @@ class DataMapperAbstractTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox The datamapper sucessfully updates a database entry from a model
* @testdox The datamapper successfully updates a database entry from a model
* @covers phpOMS\DataStorage\Database\DataMapperAbstract
* @group framework
*/
@ -285,7 +285,7 @@ class DataMapperAbstractTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox The datamapper sucessfully updates a database entry from an array
* @testdox The datamapper successfully updates a database entry from an array
* @covers phpOMS\DataStorage\Database\DataMapperAbstract
* @group framework
*/
@ -317,7 +317,7 @@ class DataMapperAbstractTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox The datamapper sucessfully deletes a database entry from a model
* @testdox The datamapper successfully deletes a database entry from a model
* @covers phpOMS\DataStorage\Database\DataMapperAbstract
* @group framework
*/

View File

@ -51,7 +51,7 @@ class DispatcherTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox The disptacher can dispatch a function/closure
* @testdox The dispatcher can dispatch a function/closure
* @covers phpOMS\Dispatcher\Dispatcher
* @group framework
*/
@ -79,7 +79,7 @@ class DispatcherTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox The disptacher can dispatch a method as string representation of a controller
* @testdox The dispatcher can dispatch a method as string representation of a controller
* @covers phpOMS\Dispatcher\Dispatcher
* @group framework
*/
@ -99,7 +99,7 @@ class DispatcherTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox The disptacher can dispatch a method as array representation of a controller
* @testdox The dispatcher can dispatch a method as array representation of a controller
* @covers phpOMS\Dispatcher\Dispatcher
* @group framework
*/
@ -127,7 +127,7 @@ class DispatcherTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox The disptacher can dispatch a static method as string representation
* @testdox The dispatcher can dispatch a static method as string representation
* @covers phpOMS\Dispatcher\Dispatcher
* @group framework
*/
@ -147,7 +147,7 @@ class DispatcherTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox The disptacher can dispatch multiple destinations after another
* @testdox The dispatcher can dispatch multiple destinations after another
* @covers phpOMS\Dispatcher\Dispatcher
* @group framework
*/
@ -183,7 +183,7 @@ class DispatcherTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox A invalid controller path thorws a PathException
* @testdox A invalid controller path throws a PathException
* @covers phpOMS\Dispatcher\Dispatcher
* @group framework
*/
@ -195,7 +195,7 @@ class DispatcherTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox A invalid function path thorws a Exception
* @testdox A invalid function path throws a Exception
* @covers phpOMS\Dispatcher\Dispatcher
* @group framework
*/
@ -207,7 +207,7 @@ class DispatcherTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox A malformed dispatch path thorws UnexpectedValueException
* @testdox A malformed dispatch path throws UnexpectedValueException
* @covers phpOMS\Dispatcher\Dispatcher
* @group framework
*/

View File

@ -148,7 +148,7 @@ class EventManagerTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox An event can be manually removed/detatched
* @testdox An event can be manually removed/detached
* @covers phpOMS\Event\EventManager
* @group framework
*/
@ -165,7 +165,7 @@ class EventManagerTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox None-existing events cannot be manually removed/detatched
* @testdox None-existing events cannot be manually removed/detached
* @covers phpOMS\Event\EventManager
* @group framework
*/

View File

@ -14,15 +14,15 @@ declare(strict_types=1);
namespace phpOMS\tests\Math\Exception;
use phpOMS\Math\Exception\ZeroDevisionException;
use phpOMS\Math\Exception\ZeroDivisionException;
/**
* @internal
*/
class ZeroDevisionExceptionTest extends \PHPUnit\Framework\TestCase
class ZeroDivisionExceptionTest extends \PHPUnit\Framework\TestCase
{
public function testException() : void
{
self::assertInstanceOf(\UnexpectedValueException::class, new ZeroDevisionException());
self::assertInstanceOf(\UnexpectedValueException::class, new ZeroDivisionException());
}
}

View File

@ -0,0 +1,71 @@
<?php
/**
* Orange Management
*
* PHP Version 7.4
*
* @package tests
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
*/
declare(strict_types=1);
namespace phpOMS\tests\Math\Functions;
use phpOMS\Math\Functions\Fibonacci;
/**
* @testdox phpOMS\tests\Math\Functions\FibonacciTest: Fibonacci functions
*
* @internal
*/
class FibonacciTest extends \PHPUnit\Framework\TestCase
{
/**
* @testdox A number can be checked if it is a fibonacci number
* @covers phpOMS\Math\Functions\Fibonacci
* @group framework
*/
public function testFibonacci() : void
{
self::assertTrue(Fibonacci::isFibonacci(13));
self::assertTrue(Fibonacci::isFibonacci(55));
self::assertTrue(Fibonacci::isFibonacci(89));
self::assertFalse(Fibonacci::isFibonacci(6));
self::assertFalse(Fibonacci::isFibonacci(87));
}
/**
* @testdox A fibonacci number can be returned by index
* @covers phpOMS\Math\Functions\Fibonacci
* @group framework
*/
public function testFibonacciByKey() : void
{
self::assertEquals(1, Fibonacci::fib(1));
}
/**
* @testdox The binet formula returns fibonacci numbers
* @covers phpOMS\Math\Functions\Fibonacci
* @group framework
*/
public function testBinet() : void
{
self::assertTrue(Fibonacci::isFibonacci(Fibonacci::binet(3)));
self::assertTrue(Fibonacci::isFibonacci(Fibonacci::binet(6)));
}
/**
* @testdox The binet formula and the fibonacci formula return the same results
* @covers phpOMS\Math\Functions\Fibonacci
* @group framework
*/
public function testBinetFib() : void
{
self::assertEquals(Fibonacci::binet(6), Fibonacci::fib(6));
self::assertEquals(Fibonacci::binet(8), Fibonacci::fib(8));
}
}

View File

@ -1,71 +0,0 @@
<?php
/**
* Orange Management
*
* PHP Version 7.4
*
* @package tests
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
*/
declare(strict_types=1);
namespace phpOMS\tests\Math\Functions;
use phpOMS\Math\Functions\Fibunacci;
/**
* @testdox phpOMS\tests\Math\Functions\FibunacciTest: Fibunacci functions
*
* @internal
*/
class FibunacciTest extends \PHPUnit\Framework\TestCase
{
/**
* @testdox A number can be checked if it is a fibunacci number
* @covers phpOMS\Math\Functions\Fibunacci
* @group framework
*/
public function testFibunacci() : void
{
self::assertTrue(Fibunacci::isFibunacci(13));
self::assertTrue(Fibunacci::isFibunacci(55));
self::assertTrue(Fibunacci::isFibunacci(89));
self::assertFalse(Fibunacci::isFibunacci(6));
self::assertFalse(Fibunacci::isFibunacci(87));
}
/**
* @testdox A fibunacci number can be returned by index
* @covers phpOMS\Math\Functions\Fibunacci
* @group framework
*/
public function testFibunacciByKey() : void
{
self::assertEquals(1, Fibunacci::fib(1));
}
/**
* @testdox The binet formula returns fibunacci numbers
* @covers phpOMS\Math\Functions\Fibunacci
* @group framework
*/
public function testBinet() : void
{
self::assertTrue(Fibunacci::isFibunacci(Fibunacci::binet(3)));
self::assertTrue(Fibunacci::isFibunacci(Fibunacci::binet(6)));
}
/**
* @testdox The binet formula and the fibunacci formula return the same results
* @covers phpOMS\Math\Functions\Fibunacci
* @group framework
*/
public function testBinetFib() : void
{
self::assertEquals(Fibunacci::binet(6), Fibunacci::fib(6));
self::assertEquals(Fibunacci::binet(8), Fibunacci::fib(8));
}
}

View File

@ -24,7 +24,7 @@ use phpOMS\Math\Geometry\ConvexHull\MonotoneChain;
class MonotoneChainTest extends \PHPUnit\Framework\TestCase
{
/**
* @testdox A convedx hull can be formed from multiple points on a plane
* @testdox A convex hull can be formed from multiple points on a plane
* @covers phpOMS\Math\Geometry\ConvexHull\MonotoneChain
* @group framework
*/

View File

@ -44,7 +44,7 @@ class CircleTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox The radius can be caluclated with the surface
* @testdox The radius can be calculated with the surface
* @covers phpOMS\Math\Geometry\Shape\D2\Circle
* @group framework
*/
@ -54,7 +54,7 @@ class CircleTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox The radius can be caluclated with the perimeter
* @testdox The radius can be calculated with the perimeter
* @covers phpOMS\Math\Geometry\Shape\D2\Circle
* @group framework
*/

View File

@ -58,7 +58,7 @@ class MatrixTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox A matrix can be right-hand multiplicated with a matrix
* @testdox A matrix can be right-hand multiplied with a matrix
* @covers phpOMS\Math\Matrix\Matrix
* @group framework
*/
@ -68,7 +68,7 @@ class MatrixTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox A matrix can be right-hand multiplicated with a scalar
* @testdox A matrix can be right-hand multiplied with a scalar
* @covers phpOMS\Math\Matrix\Matrix
* @group framework
*/
@ -465,7 +465,7 @@ class MatrixTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox Multiplicating a invalid data type from a matrix throws a InvalidArgumentException
* @testdox Multiplying a invalid data type from a matrix throws a InvalidArgumentException
* @covers phpOMS\Math\Matrix\Matrix
* @group framework
*/
@ -519,7 +519,7 @@ class MatrixTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox Multiplicating a matrix with a different n x m dimension to a matrix throws a InvalidDimensionException
* @testdox Multiplying a matrix with a different n x m dimension to a matrix throws a InvalidDimensionException
* @covers phpOMS\Math\Matrix\Matrix
* @group framework
*/

View File

@ -97,7 +97,7 @@ class ComplexTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox A complex number can be multiplicated with a complex number
* @testdox A complex number can be multiplied with a complex number
* @covers phpOMS\Math\Number\Complex
* @group framework
*/
@ -110,7 +110,7 @@ class ComplexTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox A real number can be multiplicated with a complex number
* @testdox A real number can be multiplied with a complex number
* @covers phpOMS\Math\Number\Complex
* @group framework
*/
@ -121,7 +121,7 @@ class ComplexTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox A complex number can be devided by a complex number number
* @testdox A complex number can be divided by a complex number number
* @covers phpOMS\Math\Number\Complex
* @group framework
*/
@ -134,7 +134,7 @@ class ComplexTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox A complex number can be devided by a real number
* @testdox A complex number can be divided by a real number
* @covers phpOMS\Math\Number\Complex
* @group framework
*/
@ -181,7 +181,7 @@ class ComplexTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox The real power of a complex number can be caluclated
* @testdox The real power of a complex number can be calculated
* @covers phpOMS\Math\Number\Complex
* @group framework
*/

View File

@ -24,7 +24,7 @@ use phpOMS\Math\Number\Integer;
class IntegerTest extends \PHPUnit\Framework\TestCase
{
/**
* @testdox A value can be checked to be an intager
* @testdox A value can be checked to be an integer
* @covers phpOMS\Math\Number\Integer
* @group framework
*/

View File

@ -36,7 +36,7 @@ class PrimeTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox A prime number can be generat3ed with the sieve of erathosthenes
* @testdox A prime number can be generated with the sieve of erathosthenes
* @covers phpOMS\Math\Number\Prime
* @group framework
*/

View File

@ -24,7 +24,7 @@ use phpOMS\Math\Parser\Evaluator;
class EvaluatorTest extends \PHPUnit\Framework\TestCase
{
/**
* @testdox Basic formulas using +, -, *, /, () and ^ can be avluated
* @testdox Basic formulas using +, -, *, /, () and ^ can be evaluated
* @covers phpOMS\Math\Parser\Evaluator
* @group framework
*/

View File

@ -112,12 +112,12 @@ class AverageTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox An empty dataset for the arithmetic mean throws a ZeroDevisionException
* @testdox An empty dataset for the arithmetic mean throws a ZeroDivisionException
* @group framework
*/
public function testInvalidArithmeticMeanZeroDevision() : void
public function testInvalidArithmeticMeanZeroDivision() : void
{
self::expectException(\phpOMS\Math\Exception\ZeroDevisionException::class);
self::expectException(\phpOMS\Math\Exception\ZeroDivisionException::class);
Average::arithmeticMean([]);
}
@ -126,7 +126,7 @@ class AverageTest extends \PHPUnit\Framework\TestCase
* @testdox An empty dataset for the moving average throws a Exception
* @group framework
*/
public function testInvalidMovingAverageZeroDevision() : void
public function testInvalidMovingAverageZeroDivision() : void
{
self::expectException(\Exception::class);
@ -134,34 +134,34 @@ class AverageTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox An empty dataset for the harmonic mean throws a ZeroDevisionException
* @testdox An empty dataset for the harmonic mean throws a ZeroDivisionException
* @group framework
*/
public function testInvalidHarmonicMeanZeroDevision() : void
public function testInvalidHarmonicMeanZeroDivision() : void
{
self::expectException(\phpOMS\Math\Exception\ZeroDevisionException::class);
self::expectException(\phpOMS\Math\Exception\ZeroDivisionException::class);
Average::harmonicMean([]);
}
/**
* @testdox An empty dataset for the geometric mean throws a ZeroDevisionException
* @testdox An empty dataset for the geometric mean throws a ZeroDivisionException
* @group framework
*/
public function testInvalidGeometricMean() : void
{
self::expectException(\phpOMS\Math\Exception\ZeroDevisionException::class);
self::expectException(\phpOMS\Math\Exception\ZeroDivisionException::class);
Average::geometricMean([]);
}
/**
* @testdox A dataset with a 0 element throws a ZeroDevisionException
* @testdox A dataset with a 0 element throws a ZeroDivisionException
* @group framework
*/
public function testInvalidHarmonicMean() : void
{
self::expectException(\phpOMS\Math\Exception\ZeroDevisionException::class);
self::expectException(\phpOMS\Math\Exception\ZeroDivisionException::class);
Average::harmonicMean([1, 2, 3, 0, 5, 6, 7]);
}

View File

@ -37,7 +37,7 @@ class LevelLevelRegressionTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox The regression parameters are calcualated correctly
* @testdox The regression parameters are calculated correctly
* @group framework
*/
public function testRegression() : void

View File

@ -35,7 +35,7 @@ class LevelLogRegressionTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox The regression parameters are calcualated correctly
* @testdox The regression parameters are calculated correctly
* @group framework
*/
public function testRegression() : void

View File

@ -35,7 +35,7 @@ class LogLevelRegressionTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox The regression parameters are calcualated correctly
* @testdox The regression parameters are calculated correctly
* @group framework
*/
public function testRegression() : void

View File

@ -35,7 +35,7 @@ class LogLogRegressionTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox The regression parameters are calcualated correctly
* @testdox The regression parameters are calculated correctly
* @group framework
*/
public function testRegression() : void

View File

@ -35,7 +35,7 @@ class PolynomialRegressionTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox The regression parameters are calcualated correctly
* @testdox The regression parameters are calculated correctly
* @group framework
*/
public function testRegression() : void

View File

@ -130,29 +130,29 @@ class MeasureOfDispersionTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox The empirical varation coefficient with a mean of 0 throws a ZeroDevisionException
* @testdox The empirical variation coefficient with a mean of 0 throws a ZeroDivisionException
* @group framework
*/
public function testInvalidEmpiricalVariationCoefficient() : void
{
self::expectException(\phpOMS\Math\Exception\ZeroDevisionException::class);
self::expectException(\phpOMS\Math\Exception\ZeroDivisionException::class);
MeasureOfDispersion::empiricalVariationCoefficient([1, 2, 3, 4, 5, 6, 7], 0);
}
/**
* @testdox An empty dataset in the empirical covariance throws a ZeroDevisionException
* @testdox An empty dataset in the empirical covariance throws a ZeroDivisionException
* @group framework
*/
public function testInvalidEmpiricalCovariance() : void
{
self::expectException(\phpOMS\Math\Exception\ZeroDevisionException::class);
self::expectException(\phpOMS\Math\Exception\ZeroDivisionException::class);
MeasureOfDispersion::empiricalCovariance([], []);
}
/**
* @testdox Different dataset saces in the empirical covariance throw a InvalidDimensionException
* @testdox Different dataset sizes in the empirical covariance throw a InvalidDimensionException
* @group framework
*/
public function testInvalidEmpiricalCovarianceDimension() : void
@ -163,23 +163,23 @@ class MeasureOfDispersionTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox An empty dataset in the sample variance throws a ZeroDevisionException
* @testdox An empty dataset in the sample variance throws a ZeroDivisionException
* @group framework
*/
public function testInvalidSampleVariance() : void
{
self::expectException(\phpOMS\Math\Exception\ZeroDevisionException::class);
self::expectException(\phpOMS\Math\Exception\ZeroDivisionException::class);
MeasureOfDispersion::sampleVariance([]);
}
/**
* @testdox An empty dataset in the empirical/population variance throws a ZeroDevisionException
* @testdox An empty dataset in the empirical/population variance throws a ZeroDivisionException
* @group framework
*/
public function testInvalidEmpiricalVariance() : void
{
self::expectException(\phpOMS\Math\Exception\ZeroDevisionException::class);
self::expectException(\phpOMS\Math\Exception\ZeroDivisionException::class);
MeasureOfDispersion::empiricalVariance([]);
}

View File

@ -75,7 +75,7 @@ class NaiveBayesClassifierTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox The classification of nimeric values is correct
* @testdox The classification of numeric values is correct
* @group framework
*/
public function testNumericClassifier() : void

View File

@ -105,7 +105,7 @@ class RequestTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox The route verb gets correctly infered from the request method
* @testdox The route verb gets correctly inferred from the request method
* @covers phpOMS\Message\Http\Request<extended>
* @group framework
*/
@ -124,7 +124,7 @@ class RequestTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox The request is correctly constracted
* @testdox The request is correctly constructed
* @covers phpOMS\Message\Http\Request<extended>
* @group framework
*/

View File

@ -46,7 +46,7 @@ class ResponseTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox Response data can be set and retruned
* @testdox Response data can be set and returned
* @covers phpOMS\Message\Http\Response<extended>
* @group framework
*/

View File

@ -81,7 +81,7 @@ class ModuleManagerTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox Unknown modules cannot get activested, deactivated
* @testdox Unknown modules cannot get activated, deactivated
* @covers phpOMS\Module\ModuleManager
* @group framework
*/

View File

@ -101,7 +101,7 @@ class PhpCodeTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox A file hash comparison is successfull if the file generates the same hash
* @testdox A file hash comparison is successful if the file generates the same hash
* @covers phpOMS\Security\PhpCode
* @group framework
*/
@ -111,7 +111,7 @@ class PhpCodeTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox A file hash comparison is unsuccessfull if the file generates a different hash
* @testdox A file hash comparison is unsuccessful if the file generates a different hash
* @covers phpOMS\Security\PhpCode
* @group framework
*/

View File

@ -85,7 +85,7 @@ class AddressTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox The recepient can be set and returned
* @testdox The recipient can be set and returned
* @covers phpOMS\Stdlib\Base\Address
* @group framework
*/

View File

@ -63,7 +63,7 @@ class EnumArrayTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox A valid enum value can be checked for existance
* @testdox A valid enum value can be checked for existence
* @covers phpOMS\Stdlib\Base\EnumArray<extended>
* @group framework
*/

View File

@ -52,7 +52,7 @@ class EnumTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox A valid enum value can be checked for existance
* @testdox A valid enum value can be checked for existence
* @covers phpOMS\Stdlib\Base\Enum<extended>
* @group framework
*/

View File

@ -196,7 +196,7 @@ class SmartDateTimeTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox The day of the week index can be retruned from a date
* @testdox The day of the week index can be returned from a date
* @covers phpOMS\Stdlib\Base\SmartDateTime
* @group framework
*/
@ -220,7 +220,7 @@ class SmartDateTimeTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox A calendar sheet is retunred containing all days of the month and some days of the previous and next month
* @testdox A calendar sheet is returned containing all days of the month and some days of the previous and next month
* @covers phpOMS\Stdlib\Base\SmartDateTime
* @group framework
*/

View File

@ -58,7 +58,7 @@ class FileUtilsTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox Permissions can be turned into ocal values
* @testdox Permissions can be turned into octal values
* @covers phpOMS\System\File\FileUtils
* @group framework
*/

View File

@ -142,7 +142,7 @@ class UriFactoryTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox Data whitch doesn't match the regular expression is not removed
* @testdox Data which doesn't match the regular expression is not removed
* @covers phpOMS\Uri\UriFactory
* @group framework
*/

View File

@ -213,7 +213,7 @@ class ArrayUtilsTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox All array values in an array can be exponentiated by an integer
* @testdox All array values in an array can be potentiated by an integer
* @covers phpOMS\Utils\ArrayUtils
* @group framework
*/
@ -224,7 +224,7 @@ class ArrayUtilsTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox All array values in an array can be exponentiated by a float
* @testdox All array values in an array can be potentiated by a float
* @covers phpOMS\Utils\ArrayUtils
*
* @todo combine with int as soon as union types exist

View File

@ -266,7 +266,7 @@ class MeasurementTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox Invalid convertion from unknown temperature throws a InvalidArgumentException
* @testdox Invalid conversion from unknown temperature throws a InvalidArgumentException
* @covers phpOMS\Utils\Converter\Measurement
* @group framework
*/
@ -278,7 +278,7 @@ class MeasurementTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox Invalid convertion to unknown temperature throws a InvalidArgumentException
* @testdox Invalid conversion to unknown temperature throws a InvalidArgumentException
* @covers phpOMS\Utils\Converter\Measurement
* @group framework
*/
@ -290,7 +290,7 @@ class MeasurementTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox Invalid convertion from unknown weight throws a InvalidArgumentException
* @testdox Invalid conversion from unknown weight throws a InvalidArgumentException
* @covers phpOMS\Utils\Converter\Measurement
* @group framework
*/
@ -302,7 +302,7 @@ class MeasurementTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox Invalid convertion to unknown weight throws a InvalidArgumentException
* @testdox Invalid conversion to unknown weight throws a InvalidArgumentException
* @covers phpOMS\Utils\Converter\Measurement
* @group framework
*/
@ -314,7 +314,7 @@ class MeasurementTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox Invalid convertion from unknown length throws a InvalidArgumentException
* @testdox Invalid conversion from unknown length throws a InvalidArgumentException
* @covers phpOMS\Utils\Converter\Measurement
* @group framework
*/
@ -326,7 +326,7 @@ class MeasurementTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox Invalid convertion to unknown length throws a InvalidArgumentException
* @testdox Invalid conversion to unknown length throws a InvalidArgumentException
* @covers phpOMS\Utils\Converter\Measurement
* @group framework
*/
@ -338,7 +338,7 @@ class MeasurementTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox Invalid convertion from unknown area throws a InvalidArgumentException
* @testdox Invalid conversion from unknown area throws a InvalidArgumentException
* @covers phpOMS\Utils\Converter\Measurement
* @group framework
*/
@ -350,7 +350,7 @@ class MeasurementTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox Invalid convertion to unknown area throws a InvalidArgumentException
* @testdox Invalid conversion to unknown area throws a InvalidArgumentException
* @covers phpOMS\Utils\Converter\Measurement
* @group framework
*/
@ -362,7 +362,7 @@ class MeasurementTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox Invalid convertion from unknown volume throws a InvalidArgumentException
* @testdox Invalid conversion from unknown volume throws a InvalidArgumentException
* @covers phpOMS\Utils\Converter\Measurement
* @group framework
*/
@ -374,7 +374,7 @@ class MeasurementTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox Invalid convertion to unknown volume throws a InvalidArgumentException
* @testdox Invalid conversion to unknown volume throws a InvalidArgumentException
* @covers phpOMS\Utils\Converter\Measurement
* @group framework
*/
@ -386,7 +386,7 @@ class MeasurementTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox Invalid convertion from unknown speed throws a InvalidArgumentException
* @testdox Invalid conversion from unknown speed throws a InvalidArgumentException
* @covers phpOMS\Utils\Converter\Measurement
* @group framework
*/
@ -398,7 +398,7 @@ class MeasurementTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox Invalid convertion to unknown speed throws a InvalidArgumentException
* @testdox Invalid conversion to unknown speed throws a InvalidArgumentException
* @covers phpOMS\Utils\Converter\Measurement
* @group framework
*/
@ -410,7 +410,7 @@ class MeasurementTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox Invalid convertion from unknown time throws a InvalidArgumentException
* @testdox Invalid conversion from unknown time throws a InvalidArgumentException
* @covers phpOMS\Utils\Converter\Measurement
* @group framework
*/
@ -422,7 +422,7 @@ class MeasurementTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox Invalid convertion to unknown time throws a InvalidArgumentException
* @testdox Invalid conversion to unknown time throws a InvalidArgumentException
* @covers phpOMS\Utils\Converter\Measurement
* @group framework
*/
@ -434,7 +434,7 @@ class MeasurementTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox Invalid convertion from unknown angle throws a InvalidArgumentException
* @testdox Invalid conversion from unknown angle throws a InvalidArgumentException
* @covers phpOMS\Utils\Converter\Measurement
* @group framework
*/
@ -446,7 +446,7 @@ class MeasurementTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox Invalid convertion to unknown angle throws a InvalidArgumentException
* @testdox Invalid conversion to unknown angle throws a InvalidArgumentException
* @covers phpOMS\Utils\Converter\Measurement
* @group framework
*/
@ -458,7 +458,7 @@ class MeasurementTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox Invalid convertion from unknown pressure throws a InvalidArgumentException
* @testdox Invalid conversion from unknown pressure throws a InvalidArgumentException
* @covers phpOMS\Utils\Converter\Measurement
* @group framework
*/
@ -470,7 +470,7 @@ class MeasurementTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox Invalid convertion to unknown pressure throws a InvalidArgumentException
* @testdox Invalid conversion to unknown pressure throws a InvalidArgumentException
* @covers phpOMS\Utils\Converter\Measurement
* @group framework
*/
@ -482,7 +482,7 @@ class MeasurementTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox Invalid convertion from unknown energy throws a InvalidArgumentException
* @testdox Invalid conversion from unknown energy throws a InvalidArgumentException
* @covers phpOMS\Utils\Converter\Measurement
* @group framework
*/
@ -494,7 +494,7 @@ class MeasurementTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox Invalid convertion to unknown energy throws a InvalidArgumentException
* @testdox Invalid conversion to unknown energy throws a InvalidArgumentException
* @covers phpOMS\Utils\Converter\Measurement
* @group framework
*/
@ -506,7 +506,7 @@ class MeasurementTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox Invalid convertion from unknown filesize throws a InvalidArgumentException
* @testdox Invalid conversion from unknown filesize throws a InvalidArgumentException
* @covers phpOMS\Utils\Converter\Measurement
* @group framework
*/
@ -518,7 +518,7 @@ class MeasurementTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox Invalid convertion to unknown filesize throws a InvalidArgumentException
* @testdox Invalid conversion to unknown filesize throws a InvalidArgumentException
* @covers phpOMS\Utils\Converter\Measurement
* @group framework
*/

View File

@ -50,7 +50,7 @@ class DictionaryTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox Only single chracters can be set in the dictionary. Multiple characters throw a InvalidArgumentException
* @testdox Only single characters can be set in the dictionary. Multiple characters throw a InvalidArgumentException
* @covers phpOMS\Utils\Encoding\Huffman\Dictionary
* @group framework
*/

View File

@ -17,7 +17,7 @@ namespace phpOMS\tests\Utils\Encoding\Huffman;
use phpOMS\Utils\Encoding\Huffman\Huffman;
/**
* @testdox phpOMS\tests\Utils\Encoding\Huffman\HuffmanTest: Data can be ecoded with huffman
* @testdox phpOMS\tests\Utils\Encoding\Huffman\HuffmanTest: Data can be encoded with huffman
*
* @internal
*/

View File

@ -24,7 +24,7 @@ use phpOMS\Utils\IO\Csv\CsvSettings;
class CsvSettingsTest extends \PHPUnit\Framework\TestCase
{
/**
* @testdox The delimitar in a csv file can be guessed
* @testdox The delimiter in a csv file can be guessed
* @covers phpOMS\Utils\IO\Csv\CsvSettings
* @group framework
*/

View File

@ -64,7 +64,7 @@ class PermutationTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox An array can be permutated with a permutation key
* @testdox An array can be permuted with a permutation key
* @covers phpOMS\Utils\Permutation
* @group framework
*/
@ -86,7 +86,7 @@ class PermutationTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox A none-existing permutation keye throws a OutOfBoundsException
* @testdox A none-existing permutation key throws a OutOfBoundsException
* @covers phpOMS\Utils\Permutation
* @group framework
*/

View File

@ -45,7 +45,7 @@ class CronTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox The cron brinary location path can be guessed
* @testdox The cron binary location path can be guessed
* @covers phpOMS\Utils\TaskSchedule\Cron<extended>
* @group framework
*/

View File

@ -34,7 +34,7 @@ class SchedulerAbstractTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox The scheduler brinary location path can be guessed
* @testdox The scheduler binary location path can be guessed
* @covers phpOMS\Utils\TaskSchedule\SchedulerAbstract
* @group framework
*/

View File

@ -26,7 +26,7 @@ use phpOMS\Utils\TaskSchedule\TaskScheduler;
class SchedulerFactoryTest extends \PHPUnit\Framework\TestCase
{
/**
* @testdox The correct schudeler is crated depending on the operating system
* @testdox The correct scheduler is crated depending on the operating system
* @covers phpOMS\Utils\TaskSchedule\SchedulerAbstract
* @group framework
*/

View File

@ -44,7 +44,7 @@ class TaskSchedulerTest extends \PHPUnit\Framework\TestCase
}
/**
* @testdox The task brinary location path can be guessed
* @testdox The task binary location path can be guessed
* @covers phpOMS\Utils\TaskSchedule\TaskScheduler<extended>
* @group framework
*/