diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index 37a001f61..e0ad6469b 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -23,11 +23,14 @@ 'header_comment' => [ 'comment_type' => 'PHPDoc', 'header' => 'Pimcore' . PHP_EOL . PHP_EOL . - 'This source file is available under following license:' . PHP_EOL . + 'This source file is available under two different licenses:' . PHP_EOL . + '- GNU General Public License version 3 (GPLv3)' . PHP_EOL . '- Pimcore Commercial License (PCL)' . PHP_EOL . + 'Full copyright and license information is available in' . PHP_EOL . + 'LICENSE.md which is distributed with this source code.' . PHP_EOL . PHP_EOL . ' @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org)' . PHP_EOL . - ' @license http://www.pimcore.org/license PCL' + ' @license http://www.pimcore.org/license GPLv3 and PCL' ], 'blank_line_before_statement' => true, diff --git a/LICENSE.md b/LICENSE.md index bd095c511..4dd4db4df 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,11 +1,36 @@ # License Copyright (C) Pimcore GmbH -This software is available under following license: +This software is available under two different licenses: +* GNU General Public License version 3 (GPLv3) as Pimcore Community Edition * Pimcore Commercial License (PCL) +The default Pimcore license, without a valid Pimcore Commercial License agreement, is the Open-Source GPLv3 license. + +## GNU General Public License version 3 (GPLv3) +If you decide to choose the GPLv3 license, you must comply with the following terms: + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . + ## Pimcore Commercial License (PCL) -Commercial and supported versions of the program - also known as +Alternatively, commercial and supported versions of the program - also known as Commercial Distributions - must be used in accordance with the terms and conditions contained in a separate written agreement between you and Pimcore GmbH. -For more information about the Pimcore Commercial License (PCL) please contact info@pimcore.com. \ No newline at end of file +For more information about the Pimcore Commercial License (PCL) please contact info@pimcore.com. + + + +Please see also (files in this directory): +- [Licensing FAQ - license-faq.md](https://github.com/pimcore/pimcore/blob/master/license-faq.md) +- [GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 - gpl-3.0.txt](gpl-3.0.txt) \ No newline at end of file diff --git a/src/Controller/DefaultController.php b/src/Controller/DefaultController.php index 04188c368..2dce06d4d 100644 --- a/src/Controller/DefaultController.php +++ b/src/Controller/DefaultController.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Controller; diff --git a/src/DependencyInjection/Configuration.php b/src/DependencyInjection/Configuration.php index 24e62f4f1..7abedefd0 100644 --- a/src/DependencyInjection/Configuration.php +++ b/src/DependencyInjection/Configuration.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\DependencyInjection; diff --git a/src/DependencyInjection/PimcoreStudioApiExtension.php b/src/DependencyInjection/PimcoreStudioApiExtension.php index 2b82d6ec1..9d6246b87 100644 --- a/src/DependencyInjection/PimcoreStudioApiExtension.php +++ b/src/DependencyInjection/PimcoreStudioApiExtension.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\DependencyInjection; diff --git a/src/Dto/Asset.php b/src/Dto/Asset.php index 08a715063..3f69a8fac 100644 --- a/src/Dto/Asset.php +++ b/src/Dto/Asset.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Dto; diff --git a/src/Dto/Asset/Archive.php b/src/Dto/Asset/Archive.php index aca89abce..e48d69760 100644 --- a/src/Dto/Asset/Archive.php +++ b/src/Dto/Asset/Archive.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Dto\Asset; diff --git a/src/Dto/Asset/Audio.php b/src/Dto/Asset/Audio.php index 2faf69b3d..aa5785219 100644 --- a/src/Dto/Asset/Audio.php +++ b/src/Dto/Asset/Audio.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Dto\Asset; diff --git a/src/Dto/Asset/Document.php b/src/Dto/Asset/Document.php index 3dc55b67a..26cba5710 100644 --- a/src/Dto/Asset/Document.php +++ b/src/Dto/Asset/Document.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Dto\Asset; diff --git a/src/Dto/Asset/Folder.php b/src/Dto/Asset/Folder.php index 79b603f32..dd35eb80e 100644 --- a/src/Dto/Asset/Folder.php +++ b/src/Dto/Asset/Folder.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Dto\Asset; diff --git a/src/Dto/Asset/Image.php b/src/Dto/Asset/Image.php index 517a60a09..a3d0f6ff9 100644 --- a/src/Dto/Asset/Image.php +++ b/src/Dto/Asset/Image.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Dto\Asset; diff --git a/src/Dto/Asset/MetaData.php b/src/Dto/Asset/MetaData.php index 7113b0073..85c803959 100644 --- a/src/Dto/Asset/MetaData.php +++ b/src/Dto/Asset/MetaData.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Dto\Asset; diff --git a/src/Dto/Asset/Permissions.php b/src/Dto/Asset/Permissions.php index af9f165e8..ad6929901 100644 --- a/src/Dto/Asset/Permissions.php +++ b/src/Dto/Asset/Permissions.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Dto\Asset; diff --git a/src/Dto/Asset/Text.php b/src/Dto/Asset/Text.php index 6cdd125cb..5c3e35ef5 100644 --- a/src/Dto/Asset/Text.php +++ b/src/Dto/Asset/Text.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Dto\Asset; diff --git a/src/Dto/Asset/Unknown.php b/src/Dto/Asset/Unknown.php index 3162e5a90..b962864b3 100644 --- a/src/Dto/Asset/Unknown.php +++ b/src/Dto/Asset/Unknown.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Dto\Asset; diff --git a/src/Dto/Asset/Video.php b/src/Dto/Asset/Video.php index 46490c337..d4294a4c2 100644 --- a/src/Dto/Asset/Video.php +++ b/src/Dto/Asset/Video.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Dto\Asset; diff --git a/src/Dto/Dependency.php b/src/Dto/Dependency.php index 2412fa06a..2cd3674d5 100644 --- a/src/Dto/Dependency.php +++ b/src/Dto/Dependency.php @@ -4,18 +4,21 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Dto; -class Dependency +readonly class Dependency { - public function __construct(private readonly \Pimcore\Model\Dependency $dependency) + public function __construct(private \Pimcore\Model\Dependency $dependency) { } diff --git a/src/Dto/Element.php b/src/Dto/Element.php index ab265c9d2..3a5d30092 100644 --- a/src/Dto/Element.php +++ b/src/Dto/Element.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Dto; diff --git a/src/Dto/Property.php b/src/Dto/Property.php index 4b29a0afc..17bd472cb 100644 --- a/src/Dto/Property.php +++ b/src/Dto/Property.php @@ -4,18 +4,21 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Dto; -class Property +readonly class Property { - public function __construct(private readonly \Pimcore\Model\Property $property) + public function __construct(private \Pimcore\Model\Property $property) { } diff --git a/src/Dto/ResetPasswordRequest.php b/src/Dto/ResetPasswordRequest.php index 31b1cd9e2..771edf479 100644 --- a/src/Dto/ResetPasswordRequest.php +++ b/src/Dto/ResetPasswordRequest.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Dto; diff --git a/src/Dto/Task.php b/src/Dto/Task.php index 8daf7cde3..3fe86c3d0 100644 --- a/src/Dto/Task.php +++ b/src/Dto/Task.php @@ -4,18 +4,21 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Dto; -class Task +readonly class Task { - public function __construct(private readonly \Pimcore\Model\Schedule\Task $task) + public function __construct(private \Pimcore\Model\Schedule\Task $task) { } diff --git a/src/Dto/User.php b/src/Dto/User.php index 060872485..ea177610b 100644 --- a/src/Dto/User.php +++ b/src/Dto/User.php @@ -4,20 +4,23 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Dto; use Pimcore\Model\User as ModelUser; -class User +readonly class User { - public function __construct(private readonly ModelUser $user) + public function __construct(private ModelUser $user) { } diff --git a/src/Dto/Version.php b/src/Dto/Version.php index 508df2c13..513fd316a 100644 --- a/src/Dto/Version.php +++ b/src/Dto/Version.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Dto; @@ -16,9 +19,9 @@ use Pimcore\Model\User; use Pimcore\Model\Version as ModelVersion; -class Version +readonly class Version { - public function __construct(private readonly ModelVersion $version) + public function __construct(private ModelVersion $version) { } diff --git a/src/Filter/AssetExcludeFolderFilter.php b/src/Filter/AssetExcludeFolderFilter.php index 3eb36391a..35a27d256 100644 --- a/src/Filter/AssetExcludeFolderFilter.php +++ b/src/Filter/AssetExcludeFolderFilter.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Filter; diff --git a/src/Filter/AssetIdSearchFilter.php b/src/Filter/AssetIdSearchFilter.php index fadb13c5d..b2391a7b9 100644 --- a/src/Filter/AssetIdSearchFilter.php +++ b/src/Filter/AssetIdSearchFilter.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Filter; diff --git a/src/Filter/AssetParentIdFilter.php b/src/Filter/AssetParentIdFilter.php index 924caf091..91b3cbdd6 100644 --- a/src/Filter/AssetParentIdFilter.php +++ b/src/Filter/AssetParentIdFilter.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Filter; diff --git a/src/Filter/AssetPathFilter.php b/src/Filter/AssetPathFilter.php index c551725d1..4bff1f794 100644 --- a/src/Filter/AssetPathFilter.php +++ b/src/Filter/AssetPathFilter.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Filter; @@ -23,11 +26,11 @@ final class AssetPathFilter implements FilterInterface { use AssetQueryContextTrait; - private const ASSET_PATH_QUERY_PARAM = 'assetPath'; + private const AP_QUERY_PARAM = 'assetPath'; - private const ASSET_PATH_INCLUDE_PARENT_PARAM = 'assetPathIncludeParent'; + private const AP_INCLUDE_PARENT_PARAM = 'assetPathIncludeParent'; - private const ASSET_PATH_INCLUDE_DESCENDANTS_PARAM = 'assetPathIncludeDescendants'; + private const AP_INCLUDE_DESCENDANTS_PARAM = 'assetPathIncludeDescendants'; public function __construct(AssetQueryProviderInterface $assetQueryProvider) { @@ -36,7 +39,7 @@ public function __construct(AssetQueryProviderInterface $assetQueryProvider) public function apply(Request $request, bool $normalization, array $attributes, array &$context): void { - $path = $request->query->get(self::ASSET_PATH_QUERY_PARAM); + $path = $request->query->get(self::AP_QUERY_PARAM); if (!$path) { return; @@ -44,13 +47,13 @@ public function apply(Request $request, bool $normalization, array $attributes, $includeDescendants = $this->getBooleanValueFromQuery( $request, - self::ASSET_PATH_INCLUDE_DESCENDANTS_PARAM, + self::AP_INCLUDE_DESCENDANTS_PARAM, false ); $includeParent = $this->getBooleanValueFromQuery( $request, - self::ASSET_PATH_INCLUDE_PARENT_PARAM, + self::AP_INCLUDE_PARENT_PARAM, false ); @@ -61,7 +64,7 @@ public function apply(Request $request, bool $normalization, array $attributes, public function getDescription(string $resourceClass): array { return [ - self::ASSET_PATH_QUERY_PARAM => [ + self::AP_QUERY_PARAM => [ 'property' => Asset::class, 'type' => 'string', 'required' => false, @@ -71,7 +74,7 @@ public function getDescription(string $resourceClass): array 'description' => 'Filter assets by path.', ], ], - self::ASSET_PATH_INCLUDE_PARENT_PARAM => [ + self::AP_INCLUDE_PARENT_PARAM => [ 'property' => Asset::class, 'type' => 'bool', 'required' => false, @@ -81,7 +84,7 @@ public function getDescription(string $resourceClass): array 'description' => 'Include the parent item in the result.', ], ], - self::ASSET_PATH_INCLUDE_DESCENDANTS_PARAM => [ + self::AP_INCLUDE_DESCENDANTS_PARAM => [ 'property' => Asset::class, 'type' => 'bool', 'required' => false, diff --git a/src/Installer.php b/src/Installer.php index ea5a77483..41b9a11b4 100644 --- a/src/Installer.php +++ b/src/Installer.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle; diff --git a/src/PimcoreStudioApiBundle.php b/src/PimcoreStudioApiBundle.php index afe2e2ba5..7b31faf9b 100644 --- a/src/PimcoreStudioApiBundle.php +++ b/src/PimcoreStudioApiBundle.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle; diff --git a/src/Service/AssetSearchResult.php b/src/Service/AssetSearchResult.php index 7d171e172..e9c8b3457 100644 --- a/src/Service/AssetSearchResult.php +++ b/src/Service/AssetSearchResult.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Service; diff --git a/src/Service/AssetSearchService.php b/src/Service/AssetSearchService.php index e57c9afeb..d503fded3 100644 --- a/src/Service/AssetSearchService.php +++ b/src/Service/AssetSearchService.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Service; diff --git a/src/Service/AssetSearchServiceInterface.php b/src/Service/AssetSearchServiceInterface.php index b8d6f35c2..8876a10a2 100644 --- a/src/Service/AssetSearchServiceInterface.php +++ b/src/Service/AssetSearchServiceInterface.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Service; diff --git a/src/Service/GenericData/AssetSearchAdapterInterface.php b/src/Service/GenericData/AssetSearchAdapterInterface.php index 56b4e3068..4cedea369 100644 --- a/src/Service/GenericData/AssetSearchAdapterInterface.php +++ b/src/Service/GenericData/AssetSearchAdapterInterface.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Service\GenericData; diff --git a/src/Service/GenericData/V1/AssetQuery.php b/src/Service/GenericData/V1/AssetQuery.php index f712cbf7a..c8290ca04 100644 --- a/src/Service/GenericData/V1/AssetQuery.php +++ b/src/Service/GenericData/V1/AssetQuery.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Service\GenericData\V1; diff --git a/src/Service/GenericData/V1/AssetQueryContextTrait.php b/src/Service/GenericData/V1/AssetQueryContextTrait.php index f58d1dc46..fd6042991 100644 --- a/src/Service/GenericData/V1/AssetQueryContextTrait.php +++ b/src/Service/GenericData/V1/AssetQueryContextTrait.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Service\GenericData\V1; diff --git a/src/Service/GenericData/V1/AssetQueryProvider.php b/src/Service/GenericData/V1/AssetQueryProvider.php index ba903eb1c..297a6b8c8 100644 --- a/src/Service/GenericData/V1/AssetQueryProvider.php +++ b/src/Service/GenericData/V1/AssetQueryProvider.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Service\GenericData\V1; diff --git a/src/Service/GenericData/V1/AssetQueryProviderInterface.php b/src/Service/GenericData/V1/AssetQueryProviderInterface.php index 69ca303ca..b0428781a 100644 --- a/src/Service/GenericData/V1/AssetQueryProviderInterface.php +++ b/src/Service/GenericData/V1/AssetQueryProviderInterface.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Service\GenericData\V1; diff --git a/src/Service/GenericData/V1/AssetSearchAdapter.php b/src/Service/GenericData/V1/AssetSearchAdapter.php index ba31b0654..670eb02a7 100644 --- a/src/Service/GenericData/V1/AssetSearchAdapter.php +++ b/src/Service/GenericData/V1/AssetSearchAdapter.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Service\GenericData\V1; diff --git a/src/Service/GenericData/V1/Hydrator/Asset/ArchiveHydrator.php b/src/Service/GenericData/V1/Hydrator/Asset/ArchiveHydrator.php index b6f8285fc..9ad94618b 100644 --- a/src/Service/GenericData/V1/Hydrator/Asset/ArchiveHydrator.php +++ b/src/Service/GenericData/V1/Hydrator/Asset/ArchiveHydrator.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Service\GenericData\V1\Hydrator\Asset; diff --git a/src/Service/GenericData/V1/Hydrator/Asset/ArchiveHydratorInterface.php b/src/Service/GenericData/V1/Hydrator/Asset/ArchiveHydratorInterface.php index 09ae181ca..c3676c0bc 100644 --- a/src/Service/GenericData/V1/Hydrator/Asset/ArchiveHydratorInterface.php +++ b/src/Service/GenericData/V1/Hydrator/Asset/ArchiveHydratorInterface.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Service\GenericData\V1\Hydrator\Asset; diff --git a/src/Service/GenericData/V1/Hydrator/Asset/AudioHydrator.php b/src/Service/GenericData/V1/Hydrator/Asset/AudioHydrator.php index 66e912fe4..ebf096236 100644 --- a/src/Service/GenericData/V1/Hydrator/Asset/AudioHydrator.php +++ b/src/Service/GenericData/V1/Hydrator/Asset/AudioHydrator.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Service\GenericData\V1\Hydrator\Asset; diff --git a/src/Service/GenericData/V1/Hydrator/Asset/AudioHydratorInterface.php b/src/Service/GenericData/V1/Hydrator/Asset/AudioHydratorInterface.php index 839c0bb09..88e34406c 100644 --- a/src/Service/GenericData/V1/Hydrator/Asset/AudioHydratorInterface.php +++ b/src/Service/GenericData/V1/Hydrator/Asset/AudioHydratorInterface.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Service\GenericData\V1\Hydrator\Asset; diff --git a/src/Service/GenericData/V1/Hydrator/Asset/DocumentHydrator.php b/src/Service/GenericData/V1/Hydrator/Asset/DocumentHydrator.php index abf798e0d..e34e3c207 100644 --- a/src/Service/GenericData/V1/Hydrator/Asset/DocumentHydrator.php +++ b/src/Service/GenericData/V1/Hydrator/Asset/DocumentHydrator.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Service\GenericData\V1\Hydrator\Asset; diff --git a/src/Service/GenericData/V1/Hydrator/Asset/DocumentHydratorInterface.php b/src/Service/GenericData/V1/Hydrator/Asset/DocumentHydratorInterface.php index c7353d247..2e4731032 100644 --- a/src/Service/GenericData/V1/Hydrator/Asset/DocumentHydratorInterface.php +++ b/src/Service/GenericData/V1/Hydrator/Asset/DocumentHydratorInterface.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Service\GenericData\V1\Hydrator\Asset; diff --git a/src/Service/GenericData/V1/Hydrator/Asset/FolderHydrator.php b/src/Service/GenericData/V1/Hydrator/Asset/FolderHydrator.php index 1aa818b10..55a64ad40 100644 --- a/src/Service/GenericData/V1/Hydrator/Asset/FolderHydrator.php +++ b/src/Service/GenericData/V1/Hydrator/Asset/FolderHydrator.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Service\GenericData\V1\Hydrator\Asset; diff --git a/src/Service/GenericData/V1/Hydrator/Asset/FolderHydratorInterface.php b/src/Service/GenericData/V1/Hydrator/Asset/FolderHydratorInterface.php index 83327347f..c60855302 100644 --- a/src/Service/GenericData/V1/Hydrator/Asset/FolderHydratorInterface.php +++ b/src/Service/GenericData/V1/Hydrator/Asset/FolderHydratorInterface.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Service\GenericData\V1\Hydrator\Asset; diff --git a/src/Service/GenericData/V1/Hydrator/Asset/ImageHydrator.php b/src/Service/GenericData/V1/Hydrator/Asset/ImageHydrator.php index 1f906c117..992d08471 100644 --- a/src/Service/GenericData/V1/Hydrator/Asset/ImageHydrator.php +++ b/src/Service/GenericData/V1/Hydrator/Asset/ImageHydrator.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Service\GenericData\V1\Hydrator\Asset; diff --git a/src/Service/GenericData/V1/Hydrator/Asset/ImageHydratorInterface.php b/src/Service/GenericData/V1/Hydrator/Asset/ImageHydratorInterface.php index 553aa5190..4777e31d2 100644 --- a/src/Service/GenericData/V1/Hydrator/Asset/ImageHydratorInterface.php +++ b/src/Service/GenericData/V1/Hydrator/Asset/ImageHydratorInterface.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Service\GenericData\V1\Hydrator\Asset; diff --git a/src/Service/GenericData/V1/Hydrator/Asset/MetaDataHydrator.php b/src/Service/GenericData/V1/Hydrator/Asset/MetaDataHydrator.php index d0f5e0398..1702ec023 100644 --- a/src/Service/GenericData/V1/Hydrator/Asset/MetaDataHydrator.php +++ b/src/Service/GenericData/V1/Hydrator/Asset/MetaDataHydrator.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Service\GenericData\V1\Hydrator\Asset; diff --git a/src/Service/GenericData/V1/Hydrator/Asset/MetaDataHydratorInterface.php b/src/Service/GenericData/V1/Hydrator/Asset/MetaDataHydratorInterface.php index e05e6d4db..7f4d80722 100644 --- a/src/Service/GenericData/V1/Hydrator/Asset/MetaDataHydratorInterface.php +++ b/src/Service/GenericData/V1/Hydrator/Asset/MetaDataHydratorInterface.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Service\GenericData\V1\Hydrator\Asset; diff --git a/src/Service/GenericData/V1/Hydrator/Asset/TextHydrator.php b/src/Service/GenericData/V1/Hydrator/Asset/TextHydrator.php index 7db68720c..f9e9143d1 100644 --- a/src/Service/GenericData/V1/Hydrator/Asset/TextHydrator.php +++ b/src/Service/GenericData/V1/Hydrator/Asset/TextHydrator.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Service\GenericData\V1\Hydrator\Asset; diff --git a/src/Service/GenericData/V1/Hydrator/Asset/TextHydratorInterface.php b/src/Service/GenericData/V1/Hydrator/Asset/TextHydratorInterface.php index 5205064c0..899c71e07 100644 --- a/src/Service/GenericData/V1/Hydrator/Asset/TextHydratorInterface.php +++ b/src/Service/GenericData/V1/Hydrator/Asset/TextHydratorInterface.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Service\GenericData\V1\Hydrator\Asset; diff --git a/src/Service/GenericData/V1/Hydrator/Asset/UnknownHydrator.php b/src/Service/GenericData/V1/Hydrator/Asset/UnknownHydrator.php index 93dff972f..973699784 100644 --- a/src/Service/GenericData/V1/Hydrator/Asset/UnknownHydrator.php +++ b/src/Service/GenericData/V1/Hydrator/Asset/UnknownHydrator.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Service\GenericData\V1\Hydrator\Asset; diff --git a/src/Service/GenericData/V1/Hydrator/Asset/UnknownHydratorInterface.php b/src/Service/GenericData/V1/Hydrator/Asset/UnknownHydratorInterface.php index e5cb50613..a1e12b87a 100644 --- a/src/Service/GenericData/V1/Hydrator/Asset/UnknownHydratorInterface.php +++ b/src/Service/GenericData/V1/Hydrator/Asset/UnknownHydratorInterface.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Service\GenericData\V1\Hydrator\Asset; diff --git a/src/Service/GenericData/V1/Hydrator/Asset/VideoHydrator.php b/src/Service/GenericData/V1/Hydrator/Asset/VideoHydrator.php index 384fab146..fcdaaae25 100644 --- a/src/Service/GenericData/V1/Hydrator/Asset/VideoHydrator.php +++ b/src/Service/GenericData/V1/Hydrator/Asset/VideoHydrator.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Service\GenericData\V1\Hydrator\Asset; diff --git a/src/Service/GenericData/V1/Hydrator/Asset/VideoHydratorInterface.php b/src/Service/GenericData/V1/Hydrator/Asset/VideoHydratorInterface.php index 301c6d1a4..2c19cd3b4 100644 --- a/src/Service/GenericData/V1/Hydrator/Asset/VideoHydratorInterface.php +++ b/src/Service/GenericData/V1/Hydrator/Asset/VideoHydratorInterface.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Service\GenericData\V1\Hydrator\Asset; diff --git a/src/Service/GenericData/V1/Hydrator/AssetHydrator.php b/src/Service/GenericData/V1/Hydrator/AssetHydrator.php index 447896492..8b5fe5230 100644 --- a/src/Service/GenericData/V1/Hydrator/AssetHydrator.php +++ b/src/Service/GenericData/V1/Hydrator/AssetHydrator.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Service\GenericData\V1\Hydrator; diff --git a/src/Service/GenericData/V1/Hydrator/AssetHydratorInterface.php b/src/Service/GenericData/V1/Hydrator/AssetHydratorInterface.php index 7945d1f3d..1d3cb76fa 100644 --- a/src/Service/GenericData/V1/Hydrator/AssetHydratorInterface.php +++ b/src/Service/GenericData/V1/Hydrator/AssetHydratorInterface.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Service\GenericData\V1\Hydrator; diff --git a/src/Service/GenericData/V1/Hydrator/AssetHydratorService.php b/src/Service/GenericData/V1/Hydrator/AssetHydratorService.php index 670fa46d4..7b84e4045 100644 --- a/src/Service/GenericData/V1/Hydrator/AssetHydratorService.php +++ b/src/Service/GenericData/V1/Hydrator/AssetHydratorService.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Service\GenericData\V1\Hydrator; diff --git a/src/Service/GenericData/V1/Hydrator/AssetHydratorServiceInterface.php b/src/Service/GenericData/V1/Hydrator/AssetHydratorServiceInterface.php index 51faaf16d..289d75a27 100644 --- a/src/Service/GenericData/V1/Hydrator/AssetHydratorServiceInterface.php +++ b/src/Service/GenericData/V1/Hydrator/AssetHydratorServiceInterface.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Service\GenericData\V1\Hydrator; diff --git a/src/Service/GenericData/V1/Hydrator/PermissionsHydrator.php b/src/Service/GenericData/V1/Hydrator/PermissionsHydrator.php index ee081e8d5..1c1a90e00 100644 --- a/src/Service/GenericData/V1/Hydrator/PermissionsHydrator.php +++ b/src/Service/GenericData/V1/Hydrator/PermissionsHydrator.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Service\GenericData\V1\Hydrator; diff --git a/src/Service/GenericData/V1/Hydrator/PermissionsHydratorInterface.php b/src/Service/GenericData/V1/Hydrator/PermissionsHydratorInterface.php index 7438ea371..dc14c2dce 100644 --- a/src/Service/GenericData/V1/Hydrator/PermissionsHydratorInterface.php +++ b/src/Service/GenericData/V1/Hydrator/PermissionsHydratorInterface.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Service\GenericData\V1\Hydrator; diff --git a/src/Service/IconService.php b/src/Service/IconService.php index 7af982efb..b0856c27b 100644 --- a/src/Service/IconService.php +++ b/src/Service/IconService.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Service; diff --git a/src/Service/IconServiceInterface.php b/src/Service/IconServiceInterface.php index fc5582704..43997b850 100644 --- a/src/Service/IconServiceInterface.php +++ b/src/Service/IconServiceInterface.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Service; diff --git a/src/State/AssetProvider.php b/src/State/AssetProvider.php index dbd1189b4..41d0f751d 100644 --- a/src/State/AssetProvider.php +++ b/src/State/AssetProvider.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\State; diff --git a/src/State/ResetPasswordProcessor.php b/src/State/ResetPasswordProcessor.php index c26316ccd..63ffeba1d 100644 --- a/src/State/ResetPasswordProcessor.php +++ b/src/State/ResetPasswordProcessor.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\State; diff --git a/src/State/ScheduledTaskProvider.php b/src/State/ScheduledTaskProvider.php index 8812c4646..313bdf69f 100644 --- a/src/State/ScheduledTaskProvider.php +++ b/src/State/ScheduledTaskProvider.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\State; diff --git a/src/State/UserProvider.php b/src/State/UserProvider.php index 97cd714b5..cf2742b51 100644 --- a/src/State/UserProvider.php +++ b/src/State/UserProvider.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\State; diff --git a/src/State/VersionProvider.php b/src/State/VersionProvider.php index ed603094d..0f9e9c1a7 100644 --- a/src/State/VersionProvider.php +++ b/src/State/VersionProvider.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\State; diff --git a/tests/Unit/DefaultTest.php b/tests/Unit/DefaultTest.php index 446f94ed6..770c038e7 100644 --- a/tests/Unit/DefaultTest.php +++ b/tests/Unit/DefaultTest.php @@ -4,11 +4,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ namespace Pimcore\Bundle\StudioApiBundle\Tests\Unit; diff --git a/tests/_bootstrap.php b/tests/_bootstrap.php index a497fadb0..360fdc5e8 100644 --- a/tests/_bootstrap.php +++ b/tests/_bootstrap.php @@ -3,11 +3,14 @@ /** * Pimcore * - * This source file is available under following license: + * This source file is available under two different licenses: + * - GNU General Public License version 3 (GPLv3) * - Pimcore Commercial License (PCL) + * Full copyright and license information is available in + * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) - * @license http://www.pimcore.org/license PCL + * @license http://www.pimcore.org/license GPLv3 and PCL */ define('PIMCORE_PROJECT_ROOT', dirname(__DIR__));