1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-23 21:33:01 +02:00

Flextype Core and Plugins: Doctrine Coding Standard #200 #186

- next round of code improvements
This commit is contained in:
Awilum
2019-08-10 18:36:46 +03:00
parent 6da11ddb37
commit 525ec0345c
22 changed files with 3 additions and 46 deletions

View File

@@ -5,8 +5,6 @@ declare(strict_types=1);
/**
* Flextype (http://flextype.org)
* Founded by Sergey Romanenko and maintained Flextype Community.
*
* @license https://github.com/flextype/flextype/blob/master/LICENSE.txt (MIT License)
*/
namespace Flextype;

View File

@@ -5,8 +5,6 @@ declare(strict_types=1);
/**
* Flextype (http://flextype.org)
* Founded by Sergey Romanenko and maintained Flextype Community.
*
* @license https://github.com/flextype/flextype/blob/master/LICENSE.txt (MIT License)
*/
namespace Flextype;

View File

@@ -5,8 +5,6 @@ declare(strict_types=1);
/**
* Flextype (http://flextype.org)
* Founded by Sergey Romanenko and maintained Flextype Community.
*
* @license https://github.com/flextype/flextype/blob/master/LICENSE.txt (MIT License)
*/
namespace Flextype;

View File

@@ -5,8 +5,6 @@ declare(strict_types=1);
/**
* Flextype (http://flextype.org)
* Founded by Sergey Romanenko and maintained Flextype Community.
*
* @license https://github.com/flextype/flextype/blob/master/LICENSE.txt (MIT License)
*/
namespace Flextype;

View File

@@ -5,8 +5,6 @@ declare(strict_types=1);
/**
* Flextype (http://flextype.org)
* Founded by Sergey Romanenko and maintained Flextype Community.
*
* @license https://github.com/flextype/flextype/blob/master/LICENSE.txt (MIT License)
*/
namespace Flextype;

View File

@@ -5,8 +5,6 @@ declare(strict_types=1);
/**
* Flextype (http://flextype.org)
* Founded by Sergey Romanenko and maintained Flextype Community.
*
* @license https://github.com/flextype/flextype/blob/master/LICENSE.txt (MIT License)
*/
namespace Flextype;

View File

@@ -5,8 +5,6 @@ declare(strict_types=1);
/**
* Flextype (http://flextype.org)
* Founded by Sergey Romanenko and maintained Flextype Community.
*
* @license https://github.com/flextype/flextype/blob/master/LICENSE.txt (MIT License)
*/
namespace Flextype;

View File

@@ -5,8 +5,6 @@ declare(strict_types=1);
/**
* Flextype (http://flextype.org)
* Founded by Sergey Romanenko and maintained Flextype Community.
*
* @license https://github.com/flextype/flextype/blob/master/LICENSE.txt (MIT License)
*/
namespace Flextype;
@@ -21,7 +19,7 @@ use Psr\Http\Message\ServerRequestInterface as Request;
$app->get('/image/{path:.+}', function (Request $request, Response $response, array $args) use ($flextype) {
if (Filesystem::has(PATH['entries'] . '/' . $args['path'])) {
return $flextype['images']->getImageResponse($args['path'], $_GET);
} else {
return $response->withStatus(404);
}
return $response->withStatus(404);
});

View File

@@ -5,8 +5,6 @@ declare(strict_types=1);
/**
* Flextype (http://flextype.org)
* Founded by Sergey Romanenko and maintained Flextype Community.
*
* @license https://github.com/flextype/flextype/blob/master/LICENSE.txt (MIT License)
*/
namespace Flextype;

View File

@@ -5,8 +5,6 @@ declare(strict_types=1);
/**
* Flextype (http://flextype.org)
* Founded by Sergey Romanenko and maintained Flextype Community.
*
* @license https://github.com/flextype/flextype/blob/master/LICENSE.txt (MIT License)
*/
namespace Flextype;

View File

@@ -5,8 +5,6 @@ declare(strict_types=1);
/**
* Flextype (http://flextype.org)
* Founded by Sergey Romanenko and maintained Flextype Community.
*
* @license https://github.com/flextype/flextype/blob/master/LICENSE.txt (MIT License)
*/
namespace Flextype;

View File

@@ -5,8 +5,6 @@ declare(strict_types=1);
/**
* Flextype (http://flextype.org)
* Founded by Sergey Romanenko and maintained Flextype Community.
*
* @license https://github.com/flextype/flextype/blob/master/LICENSE.txt (MIT License)
*/
namespace Flextype;

View File

@@ -5,8 +5,6 @@ declare(strict_types=1);
/**
* Flextype (http://flextype.org)
* Founded by Sergey Romanenko and maintained Flextype Community.
*
* @license https://github.com/flextype/flextype/blob/master/LICENSE.txt (MIT License)
*/
namespace Flextype;

View File

@@ -5,8 +5,6 @@ declare(strict_types=1);
/**
* Flextype (http://flextype.org)
* Founded by Sergey Romanenko and maintained Flextype Community.
*
* @license https://github.com/flextype/flextype/blob/master/LICENSE.txt (MIT License)
*/
namespace Flextype;

View File

@@ -5,8 +5,6 @@ declare(strict_types=1);
/**
* Flextype (http://flextype.org)
* Founded by Sergey Romanenko and maintained Flextype Community.
*
* @license https://github.com/flextype/flextype/blob/master/LICENSE.txt (MIT License)
*/
namespace Flextype;

View File

@@ -5,8 +5,6 @@ declare(strict_types=1);
/**
* Flextype (http://flextype.org)
* Founded by Sergey Romanenko and maintained Flextype Community.
*
* @license https://github.com/flextype/flextype/blob/master/LICENSE.txt (MIT License)
*/
namespace Flextype;

View File

@@ -5,8 +5,6 @@ declare(strict_types=1);
/**
* Flextype (http://flextype.org)
* Founded by Sergey Romanenko and maintained Flextype Community.
*
* @license https://github.com/flextype/flextype/blob/master/LICENSE.txt (MIT License)
*/
namespace Flextype;

View File

@@ -5,8 +5,6 @@ declare(strict_types=1);
/**
* Flextype (http://flextype.org)
* Founded by Sergey Romanenko and maintained Flextype Community.
*
* @license https://github.com/flextype/flextype/blob/master/LICENSE.txt (MIT License)
*/
namespace Flextype;

View File

@@ -5,8 +5,6 @@ declare(strict_types=1);
/**
* Flextype (http://flextype.org)
* Founded by Sergey Romanenko and maintained Flextype Community.
*
* @license https://github.com/flextype/flextype/blob/master/LICENSE.txt (MIT License)
*/
namespace Flextype;

View File

@@ -5,8 +5,6 @@ declare(strict_types=1);
/**
* Flextype (http://flextype.org)
* Founded by Sergey Romanenko and maintained Flextype Community.
*
* @license https://github.com/flextype/flextype/blob/master/LICENSE.txt (MIT License)
*/
namespace Flextype;

View File

@@ -5,8 +5,6 @@ declare(strict_types=1);
/**
* Flextype (http://flextype.org)
* Founded by Sergey Romanenko and maintained Flextype Community.
*
* @license https://github.com/flextype/flextype/blob/master/LICENSE.txt (MIT License)
*/
namespace Flextype;

View File

@@ -5,9 +5,8 @@ declare(strict_types=1);
/**
* Flextype (http://flextype.org)
* Founded by Sergey Romanenko and maintained Flextype Community.
*
* @license https://github.com/flextype/flextype/blob/master/LICENSE.txt (MIT License)
*/
namespace Flextype;
use Twig_Extension;