From 96f7c16b27e4c182c443d436d74bfd3ff0b50ff8 Mon Sep 17 00:00:00 2001 From: alexz707 Date: Fri, 26 Jan 2024 10:17:21 +0000 Subject: [PATCH] Apply php-cs-fixer changes --- src/DependencyInjection/Configuration.php | 7 ++----- .../PimcoreStudioApiExtension.php | 13 ++++++------- src/Dto/ResetPasswordRequest.php | 10 ++++++++++ src/PimcoreStudioApiBundle.php | 3 ++- src/Serializer/AssetNormalizer.php | 14 ++++++++++++-- src/State/AssetProvider.php | 12 +++++++++++- src/State/ResetPasswordProcessor.php | 12 +++++++++++- 7 files changed, 54 insertions(+), 17 deletions(-) diff --git a/src/DependencyInjection/Configuration.php b/src/DependencyInjection/Configuration.php index e42451cee..86dee49de 100644 --- a/src/DependencyInjection/Configuration.php +++ b/src/DependencyInjection/Configuration.php @@ -4,14 +4,11 @@ /** * Pimcore * - * This source file is available under two different licenses: - * - GNU General Public License version 3 (GPLv3) + * This source file is available under following license: * - 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 GPLv3 and PCL + * @license http://www.pimcore.org/license PCL */ namespace Pimcore\Bundle\StudioApiBundle\DependencyInjection; diff --git a/src/DependencyInjection/PimcoreStudioApiExtension.php b/src/DependencyInjection/PimcoreStudioApiExtension.php index bf642d874..85463ac08 100644 --- a/src/DependencyInjection/PimcoreStudioApiExtension.php +++ b/src/DependencyInjection/PimcoreStudioApiExtension.php @@ -20,7 +20,6 @@ use Symfony\Component\DependencyInjection\Loader\YamlFileLoader; use Symfony\Component\HttpKernel\DependencyInjection\Extension; - /** * This is the class that loads and manages your bundle configuration. * @@ -58,12 +57,12 @@ public function load(array $configs, ContainerBuilder $container): void public function prepend(ContainerBuilder $container): void { $apiPlatformConfig = [ - "mapping"=>[ - "paths"=> [ - __DIR__ . '/../../config/api_platform/' - ] - ] + 'mapping'=>[ + 'paths'=> [ + __DIR__ . '/../../config/api_platform/', + ], + ], ]; $container->prependExtensionConfig('api_platform', $apiPlatformConfig); } -} \ No newline at end of file +} diff --git a/src/Dto/ResetPasswordRequest.php b/src/Dto/ResetPasswordRequest.php index 9683b67d4..31b1cd9e2 100644 --- a/src/Dto/ResetPasswordRequest.php +++ b/src/Dto/ResetPasswordRequest.php @@ -1,6 +1,16 @@ setOffset(10 * $context['filters']['page']); } + return $assetListing; } // getting a single asset by id diff --git a/src/State/ResetPasswordProcessor.php b/src/State/ResetPasswordProcessor.php index 192f3635b..755c95501 100644 --- a/src/State/ResetPasswordProcessor.php +++ b/src/State/ResetPasswordProcessor.php @@ -1,6 +1,16 @@