mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 17:58:41 +00:00
Fix spacing and line-breaks
This commit is contained in:
parent
f74c2e49c8
commit
243f87405a
|
|
@ -637,5 +637,4 @@ class Account implements ArrayableInterface, \JsonSerializable
|
|||
{
|
||||
return $this->toArray();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -133,5 +133,4 @@ class AccountManager implements \Countable
|
|||
{
|
||||
return count($this->accounts);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -113,5 +113,4 @@ class AssetManager implements \Countable
|
|||
{
|
||||
return count($this->assets);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -71,5 +71,4 @@ class Autoloader
|
|||
|
||||
return file_exists(__DIR__ . '/../' . $class . '.php');
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1403,5 +1403,4 @@ class FinanceFormulas
|
|||
{
|
||||
return $ownSales / $competitorSales;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -109,5 +109,4 @@ class ExponentialSmoothing
|
|||
public function getMMM()
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -120,5 +120,4 @@ class Loan
|
|||
{
|
||||
return $loan / $collateral;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -368,5 +368,4 @@ class StockBonds
|
|||
{
|
||||
return (float) pow($F / $PV, 1 / $n) - 1;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -76,5 +76,4 @@ trait OptionsTrait
|
|||
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -126,5 +126,4 @@ class CommandManager implements \Countable
|
|||
{
|
||||
return $this->count;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -174,5 +174,4 @@ class MemCache implements CacheInterface
|
|||
$this->memc = null;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -173,5 +173,4 @@ class MemCached implements CacheInterface
|
|||
$this->memc = null;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -200,5 +200,4 @@ abstract class ConnectionAbstract implements ConnectionInterface
|
|||
$this->con = null;
|
||||
$this->status = DatabaseStatus::CLOSED;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -78,5 +78,4 @@ class MysqlConnection extends ConnectionAbstract
|
|||
$this->dbdata['password'] = '****';
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -69,5 +69,4 @@ class SqliteConnection extends ConnectionAbstract
|
|||
$this->con = null;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -128,5 +128,4 @@ class DatabasePool
|
|||
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -61,5 +61,4 @@ class Column
|
|||
{
|
||||
$this->column = $column;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -97,5 +97,4 @@ class ConsoleSession implements SessionInterface
|
|||
public function lock()
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -228,5 +228,4 @@ class HttpSession implements SessionInterface
|
|||
{
|
||||
$this->save();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -97,5 +97,4 @@ class SocketSession implements SessionInterface
|
|||
public function lock()
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -206,5 +206,4 @@ class EventManager
|
|||
{
|
||||
return count($this->callbacks);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -752,5 +752,4 @@ class Matrix implements \ArrayAccess, \Iterator
|
|||
$row = (int) ($offset / $this->m);
|
||||
unset($this->matrix[$row][$offset - $row * $this->n]);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -192,5 +192,4 @@ class GA
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -57,5 +57,4 @@ class LevelLogRegression extends RegressionAbstract
|
|||
{
|
||||
return $b1 / $x;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -57,5 +57,4 @@ class LogLevelRegression extends RegressionAbstract
|
|||
{
|
||||
return $b1 * $x;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -58,5 +58,4 @@ class LogLogRegression extends RegressionAbstract
|
|||
{
|
||||
return $b1;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -236,5 +236,4 @@ class MeasureOfDispersion
|
|||
|
||||
return $sum / count($x);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -221,5 +221,4 @@ class Mail
|
|||
{
|
||||
$this->encoding = $encoding;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -202,5 +202,4 @@ class InstallerAbstract
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -97,5 +97,4 @@ abstract class EnumArray
|
|||
|
||||
return $constants[$key];
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -40,5 +40,4 @@ class InvalidEnumName extends \UnexpectedValueException
|
|||
{
|
||||
parent::__construct('The enum name "' . $message . '" is not valid.', $code, $previous);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -40,5 +40,4 @@ class InvalidEnumValue extends \UnexpectedValueException
|
|||
{
|
||||
parent::__construct('The enum value "' . $message . '" is not valid.', $code, $previous);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@
|
|||
|
||||
namespace phpOMS\tests;
|
||||
|
||||
|
||||
use phpOMS\AutoloadException;
|
||||
|
||||
class AutoloadExceptionTest extends \PHPUnit\Framework\TestCase
|
||||
|
|
|
|||
|
|
@ -71,5 +71,4 @@ class Autoloader
|
|||
|
||||
return file_exists(__DIR__ . '/../../' . $class . '.php');
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -24,4 +24,3 @@ class LorenzkurveTest extends \PHPUnit\Framework\TestCase
|
|||
self::assertTrue(abs(0.71 - LorenzKurve::getGiniCoefficient($arr)) < 0.01);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -33,4 +33,3 @@ class CacheFactoryTest extends \PHPUnit\Framework\TestCase
|
|||
CacheFactory::create(['type' => 'invalid', 'path' => 'Cache']);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,6 @@ use phpOMS\DataStorage\Database\DatabasePool;
|
|||
use phpOMS\tests\DataStorage\Database\TestModel\BaseModel;
|
||||
use phpOMS\tests\DataStorage\Database\TestModel\BaseModelMapper;
|
||||
|
||||
|
||||
class DataMapperAbstractTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
protected $model = null;
|
||||
|
|
@ -166,5 +165,4 @@ class DataMapperAbstractTest extends \PHPUnit\Framework\TestCase
|
|||
|
||||
// todo test if relations also deleted
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,7 +17,6 @@ use phpOMS\DataStorage\Database\Connection\MysqlConnection;
|
|||
use phpOMS\DataStorage\Database\DatabaseStatus;
|
||||
use phpOMS\DataStorage\Database\DatabasePool;
|
||||
|
||||
|
||||
class DatabasePoolTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
public function testBasicConnection()
|
||||
|
|
|
|||
|
|
@ -22,4 +22,3 @@ class MicrosoftGrammarTest extends \PHPUnit\Framework\TestCase
|
|||
self::assertInstanceOf('\phpOMS\DataStorage\Database\Query\Grammar\Grammar', new MicrosoftGrammar());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -23,4 +23,3 @@ class OracleGrammarTest extends \PHPUnit\Framework\TestCase
|
|||
self::assertInstanceOf('\phpOMS\DataStorage\Database\Query\Grammar\Grammar', new OracleGrammar());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -22,4 +22,3 @@ class WhereTest extends \PHPUnit\Framework\TestCase
|
|||
self::markTestIncomplete();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -24,4 +24,3 @@ class LockExceptionTest extends \PHPUnit\Framework\TestCase
|
|||
self::assertInstanceOf(\RuntimeException::class, new LockException(''));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -166,5 +166,4 @@ class FileLoggerTest extends \PHPUnit\Framework\TestCase
|
|||
unlink(__DIR__ . '/' . date('Y-m-d') . '.log');
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -22,4 +22,3 @@ class CubicSplineInterpolationTest extends \PHPUnit\Framework\TestCase
|
|||
self::markTestIncomplete();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -22,4 +22,3 @@ class LinearInterpolationTest extends \PHPUnit\Framework\TestCase
|
|||
self::markTestIncomplete();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -22,4 +22,3 @@ class PolynomialInterpolationTest extends \PHPUnit\Framework\TestCase
|
|||
self::markTestIncomplete();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -32,4 +32,3 @@ class RestTest extends \PHPUnit\Framework\TestCase
|
|||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -38,4 +38,3 @@ class StorageTest extends \PHPUnit\Framework\TestCase
|
|||
self::assertInstanceOf('\phpOMS\System\File\Local\LocalStorage', Storage::env('invalid'));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@
|
|||
|
||||
namespace phpOMS\tests;
|
||||
|
||||
|
||||
use phpOMS\UnhandledHandler;
|
||||
|
||||
class UnhandledHandlerTest extends \PHPUnit\Framework\TestCase
|
||||
|
|
@ -30,5 +29,4 @@ class UnhandledHandlerTest extends \PHPUnit\Framework\TestCase
|
|||
|
||||
self::assertFalse(UnhandledHandler::errorHandler(0, '', '', 0));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -35,4 +35,3 @@ class XorEncodingTest extends \PHPUnit\Framework\TestCase
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -29,4 +29,3 @@ class ImageUtilsTest extends \PHPUnit\Framework\TestCase
|
|||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -22,4 +22,3 @@ class MathFunctionTest extends \PHPUnit\Framework\TestCase
|
|||
self::markTestIncomplete();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -35,4 +35,3 @@ class MarkdownTest extends \PHPUnit\Framework\TestCase
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -22,4 +22,3 @@ class Barcode25Test extends \PHPUnit\Framework\TestCase
|
|||
self::markTestIncomplete();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user