From 8b12a975832caf2c2a7ece60c6de501f0d1dca52 Mon Sep 17 00:00:00 2001 From: Awilum Date: Thu, 7 Jul 2022 17:54:06 +0300 Subject: [PATCH] refactor(core): add missed copyrights headers --- src/flextype/bootstrap/after-plugins.php | 12 ++++++++++++ src/flextype/bootstrap/before-plugins.php | 12 ++++++++++++ src/flextype/helpers/collection.php | 12 ++++++++++++ src/flextype/helpers/finder.php | 12 ++++++++++++ src/flextype/helpers/helpers.php | 12 ++++++++++++ src/flextype/helpers/i18n.php | 12 ++++++++++++ src/flextype/helpers/image.php | 12 ++++++++++++ src/flextype/helpers/services.php | 12 ++++++++++++ src/flextype/helpers/tokens.php | 12 ++++++++++++ src/flextype/helpers/upload.php | 12 ++++++++++++ src/flextype/helpers/url.php | 12 ++++++++++++ src/flextype/macros/collection.php | 12 ++++++++++++ src/flextype/macros/macros.php | 12 ++++++++++++ src/flextype/routes/routes.php | 12 ++++++++++++ 14 files changed, 168 insertions(+) diff --git a/src/flextype/bootstrap/after-plugins.php b/src/flextype/bootstrap/after-plugins.php index 045da62f..ea18e8a3 100644 --- a/src/flextype/bootstrap/after-plugins.php +++ b/src/flextype/bootstrap/after-plugins.php @@ -2,6 +2,18 @@ declare(strict_types=1); + /** + * Flextype - Hybrid Content Management System with the freedom of a headless CMS + * and with the full functionality of a traditional CMS! + * + * Copyright (c) Sergey Romanenko (https://awilum.github.io) + * + * Licensed under The MIT License. + * + * For full copyright and license information, please see the LICENSE + * Redistributions of files must retain the above copyright notice. + */ + use function Glowy\Filesystem\filesystem; if (filesystem()->file(FLEXTYPE_PATH_PROJECT . '/bootstrap/after-plugins.php')->exists()) { diff --git a/src/flextype/bootstrap/before-plugins.php b/src/flextype/bootstrap/before-plugins.php index d52f678b..73c46684 100644 --- a/src/flextype/bootstrap/before-plugins.php +++ b/src/flextype/bootstrap/before-plugins.php @@ -2,6 +2,18 @@ declare(strict_types=1); + /** + * Flextype - Hybrid Content Management System with the freedom of a headless CMS + * and with the full functionality of a traditional CMS! + * + * Copyright (c) Sergey Romanenko (https://awilum.github.io) + * + * Licensed under The MIT License. + * + * For full copyright and license information, please see the LICENSE + * Redistributions of files must retain the above copyright notice. + */ + use function Glowy\Filesystem\filesystem; if (filesystem()->file(FLEXTYPE_PATH_PROJECT . '/bootstrap/before-plugins.php')->exists()) { diff --git a/src/flextype/helpers/collection.php b/src/flextype/helpers/collection.php index 8a9e0f9b..fea862d3 100644 --- a/src/flextype/helpers/collection.php +++ b/src/flextype/helpers/collection.php @@ -2,6 +2,18 @@ declare(strict_types=1); + /** + * Flextype - Hybrid Content Management System with the freedom of a headless CMS + * and with the full functionality of a traditional CMS! + * + * Copyright (c) Sergey Romanenko (https://awilum.github.io) + * + * Licensed under The MIT License. + * + * For full copyright and license information, please see the LICENSE + * Redistributions of files must retain the above copyright notice. + */ + namespace Flextype; use Glowy\Arrays\Arrays as Collection; diff --git a/src/flextype/helpers/finder.php b/src/flextype/helpers/finder.php index 7a96d864..8d684266 100644 --- a/src/flextype/helpers/finder.php +++ b/src/flextype/helpers/finder.php @@ -2,6 +2,18 @@ declare(strict_types=1); + /** + * Flextype - Hybrid Content Management System with the freedom of a headless CMS + * and with the full functionality of a traditional CMS! + * + * Copyright (c) Sergey Romanenko (https://awilum.github.io) + * + * Licensed under The MIT License. + * + * For full copyright and license information, please see the LICENSE + * Redistributions of files must retain the above copyright notice. + */ + namespace Flextype; use Symfony\Component\Finder\Finder; diff --git a/src/flextype/helpers/helpers.php b/src/flextype/helpers/helpers.php index b50954d7..cdf9a4f6 100644 --- a/src/flextype/helpers/helpers.php +++ b/src/flextype/helpers/helpers.php @@ -2,6 +2,18 @@ declare(strict_types=1); + /** + * Flextype - Hybrid Content Management System with the freedom of a headless CMS + * and with the full functionality of a traditional CMS! + * + * Copyright (c) Sergey Romanenko (https://awilum.github.io) + * + * Licensed under The MIT License. + * + * For full copyright and license information, please see the LICENSE + * Redistributions of files must retain the above copyright notice. + */ + namespace Flextype; require_once __DIR__ . '/i18n.php'; diff --git a/src/flextype/helpers/i18n.php b/src/flextype/helpers/i18n.php index a519b9b5..6cb2e2d5 100644 --- a/src/flextype/helpers/i18n.php +++ b/src/flextype/helpers/i18n.php @@ -2,6 +2,18 @@ declare(strict_types=1); + /** + * Flextype - Hybrid Content Management System with the freedom of a headless CMS + * and with the full functionality of a traditional CMS! + * + * Copyright (c) Sergey Romanenko (https://awilum.github.io) + * + * Licensed under The MIT License. + * + * For full copyright and license information, please see the LICENSE + * Redistributions of files must retain the above copyright notice. + */ + namespace Flextype; use function function_exists; diff --git a/src/flextype/helpers/image.php b/src/flextype/helpers/image.php index e12d1fd4..524c8b34 100644 --- a/src/flextype/helpers/image.php +++ b/src/flextype/helpers/image.php @@ -2,6 +2,18 @@ declare(strict_types=1); + /** + * Flextype - Hybrid Content Management System with the freedom of a headless CMS + * and with the full functionality of a traditional CMS! + * + * Copyright (c) Sergey Romanenko (https://awilum.github.io) + * + * Licensed under The MIT License. + * + * For full copyright and license information, please see the LICENSE + * Redistributions of files must retain the above copyright notice. + */ + namespace Flextype; use Closure; diff --git a/src/flextype/helpers/services.php b/src/flextype/helpers/services.php index bca97368..9f1b610f 100644 --- a/src/flextype/helpers/services.php +++ b/src/flextype/helpers/services.php @@ -2,6 +2,18 @@ declare(strict_types=1); + /** + * Flextype - Hybrid Content Management System with the freedom of a headless CMS + * and with the full functionality of a traditional CMS! + * + * Copyright (c) Sergey Romanenko (https://awilum.github.io) + * + * Licensed under The MIT License. + * + * For full copyright and license information, please see the LICENSE + * Redistributions of files must retain the above copyright notice. + */ + namespace Flextype; use function function_exists; diff --git a/src/flextype/helpers/tokens.php b/src/flextype/helpers/tokens.php index b05962e3..bc895d36 100644 --- a/src/flextype/helpers/tokens.php +++ b/src/flextype/helpers/tokens.php @@ -2,6 +2,18 @@ declare(strict_types=1); + /** + * Flextype - Hybrid Content Management System with the freedom of a headless CMS + * and with the full functionality of a traditional CMS! + * + * Copyright (c) Sergey Romanenko (https://awilum.github.io) + * + * Licensed under The MIT License. + * + * For full copyright and license information, please see the LICENSE + * Redistributions of files must retain the above copyright notice. + */ + namespace Flextype; use function bin2hex; diff --git a/src/flextype/helpers/upload.php b/src/flextype/helpers/upload.php index 4d82261e..6c50791a 100644 --- a/src/flextype/helpers/upload.php +++ b/src/flextype/helpers/upload.php @@ -2,6 +2,18 @@ declare(strict_types=1); + /** + * Flextype - Hybrid Content Management System with the freedom of a headless CMS + * and with the full functionality of a traditional CMS! + * + * Copyright (c) Sergey Romanenko (https://awilum.github.io) + * + * Licensed under The MIT License. + * + * For full copyright and license information, please see the LICENSE + * Redistributions of files must retain the above copyright notice. + */ + namespace Flextype; use Sirius\Upload\Handler as UploadHandler; diff --git a/src/flextype/helpers/url.php b/src/flextype/helpers/url.php index 9877d6d9..a9451839 100644 --- a/src/flextype/helpers/url.php +++ b/src/flextype/helpers/url.php @@ -2,6 +2,18 @@ declare(strict_types=1); + /** + * Flextype - Hybrid Content Management System with the freedom of a headless CMS + * and with the full functionality of a traditional CMS! + * + * Copyright (c) Sergey Romanenko (https://awilum.github.io) + * + * Licensed under The MIT License. + * + * For full copyright and license information, please see the LICENSE + * Redistributions of files must retain the above copyright notice. + */ + namespace Flextype; use Psr\Http\Message\ServerRequestInterface; diff --git a/src/flextype/macros/collection.php b/src/flextype/macros/collection.php index 85e6320a..d39b07d5 100644 --- a/src/flextype/macros/collection.php +++ b/src/flextype/macros/collection.php @@ -2,6 +2,18 @@ declare(strict_types=1); + /** + * Flextype - Hybrid Content Management System with the freedom of a headless CMS + * and with the full functionality of a traditional CMS! + * + * Copyright (c) Sergey Romanenko (https://awilum.github.io) + * + * Licensed under The MIT License. + * + * For full copyright and license information, please see the LICENSE + * Redistributions of files must retain the above copyright notice. + */ + namespace Flextype; use Glowy\Arrays\Arrays as Collection; diff --git a/src/flextype/macros/macros.php b/src/flextype/macros/macros.php index 5128a23c..8a0ba000 100644 --- a/src/flextype/macros/macros.php +++ b/src/flextype/macros/macros.php @@ -2,6 +2,18 @@ declare(strict_types=1); + /** + * Flextype - Hybrid Content Management System with the freedom of a headless CMS + * and with the full functionality of a traditional CMS! + * + * Copyright (c) Sergey Romanenko (https://awilum.github.io) + * + * Licensed under The MIT License. + * + * For full copyright and license information, please see the LICENSE + * Redistributions of files must retain the above copyright notice. + */ + namespace Flextype; require_once __DIR__ . '/collection.php'; diff --git a/src/flextype/routes/routes.php b/src/flextype/routes/routes.php index d53a1901..a1743e3f 100644 --- a/src/flextype/routes/routes.php +++ b/src/flextype/routes/routes.php @@ -2,6 +2,18 @@ declare(strict_types=1); + /** + * Flextype - Hybrid Content Management System with the freedom of a headless CMS + * and with the full functionality of a traditional CMS! + * + * Copyright (c) Sergey Romanenko (https://awilum.github.io) + * + * Licensed under The MIT License. + * + * For full copyright and license information, please see the LICENSE + * Redistributions of files must retain the above copyright notice. + */ + namespace Flextype; use function Glowy\Filesystem\filesystem;