Update from PSR-2 to PSR-12

- Tabs are indent
- Warning at 120, Error at 240 char length
This commit is contained in:
Clemens Schwaighofer
2021-07-14 10:00:56 +09:00
parent 11daac6d23
commit 6722468bdb
96 changed files with 2855 additions and 1677 deletions

View File

@@ -1,4 +1,5 @@
<?php declare(strict_types=1);
<?php
/********************************************************************
* AUTHOR: Clemens Schwaighofer
* CREATED: 2019/10/28
@@ -7,6 +8,8 @@
* HISTORY:
*********************************************************************/
declare(strict_types=1);
// DEFINE('SOME_ID', <SOME VALUE>);
/************* CONVERT *******************/
@@ -18,9 +21,9 @@ $paths = [
];
// find convert
foreach ($paths as $path) {
if (file_exists($path.DS.'convert') && is_file($path.DS.'convert')) {
if (file_exists($path . DS . 'convert') && is_file($path . DS . 'convert')) {
// image magick convert location
define('CONVERT', $path.DS.'convert');
define('CONVERT', $path . DS . 'convert');
}
}
unset($paths);