Skip to content

Commit

Permalink
Apply php-cs-fixer changes
Browse files Browse the repository at this point in the history
  • Loading branch information
isekep authored and github-actions[bot] committed Mar 31, 2023
1 parent 6e498fa commit 983830b
Show file tree
Hide file tree
Showing 14 changed files with 103 additions and 84 deletions.
13 changes: 5 additions & 8 deletions src/Controller/Web2printController.php
@@ -1,16 +1,13 @@
<?php

/**
* Pimcore
* Studio1 Kommunikation GmbH
*
* This source file is available under two different licenses:
* - GNU General Public License version 3 (GPLv3)
* - Pimcore Enterprise License (PEL)
* Full copyright and license information is available in
* LICENSE.md which is distributed with this source code.
* This source file is available under following license:
* - GNU General Public License v3.0 (GNU GPLv3)
*
* @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org)
* @license http://www.pimcore.org/license GPLv3 and PEL
* @copyright Copyright (c) Studio1 Kommunikation GmbH (http://www.studio1.de)
* @license https://www.gnu.org/licenses/gpl-3.0.txt
*/

namespace Studio1\Web2PrintBricksBundle\Controller;
Expand Down
10 changes: 10 additions & 0 deletions src/DependencyInjection/Configuration.php
@@ -1,5 +1,15 @@
<?php

/**
* Studio1 Kommunikation GmbH
*
* This source file is available under following license:
* - GNU General Public License v3.0 (GNU GPLv3)
*
* @copyright Copyright (c) Studio1 Kommunikation GmbH (http://www.studio1.de)
* @license https://www.gnu.org/licenses/gpl-3.0.txt
*/

namespace Studio1\Web2PrintBricksBundle\DependencyInjection;

use Symfony\Component\Config\Definition\Builder\TreeBuilder;
Expand Down
10 changes: 10 additions & 0 deletions src/DependencyInjection/Web2PrintBricksExtension.php
@@ -1,5 +1,15 @@
<?php

/**
* Studio1 Kommunikation GmbH
*
* This source file is available under following license:
* - GNU General Public License v3.0 (GNU GPLv3)
*
* @copyright Copyright (c) Studio1 Kommunikation GmbH (http://www.studio1.de)
* @license https://www.gnu.org/licenses/gpl-3.0.txt
*/

namespace Studio1\Web2PrintBricksBundle\DependencyInjection;

use Symfony\Component\Config\FileLocator;
Expand Down
13 changes: 5 additions & 8 deletions src/Document/Areabrick/AbstractAreabrick.php
@@ -1,16 +1,13 @@
<?php

/**
* Pimcore
* Studio1 Kommunikation GmbH
*
* This source file is available under two different licenses:
* - GNU General Public License version 3 (GPLv3)
* - Pimcore Enterprise License (PEL)
* Full copyright and license information is available in
* LICENSE.md which is distributed with this source code.
* This source file is available under following license:
* - GNU General Public License v3.0 (GNU GPLv3)
*
* @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org)
* @license http://www.pimcore.org/license GPLv3 and PEL
* @copyright Copyright (c) Studio1 Kommunikation GmbH (http://www.studio1.de)
* @license https://www.gnu.org/licenses/gpl-3.0.txt
*/

namespace Studio1\Web2PrintBricksBundle\Document\Areabrick;
Expand Down
13 changes: 5 additions & 8 deletions src/Document/Areabrick/PrintKeyVisual.php
@@ -1,16 +1,13 @@
<?php

/**
* Pimcore
* Studio1 Kommunikation GmbH
*
* This source file is available under two different licenses:
* - GNU General Public License version 3 (GPLv3)
* - Pimcore Enterprise License (PEL)
* Full copyright and license information is available in
* LICENSE.md which is distributed with this source code.
* This source file is available under following license:
* - GNU General Public License v3.0 (GNU GPLv3)
*
* @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org)
* @license http://www.pimcore.org/license GPLv3 and PEL
* @copyright Copyright (c) Studio1 Kommunikation GmbH (http://www.studio1.de)
* @license https://www.gnu.org/licenses/gpl-3.0.txt
*/

namespace Studio1\Web2PrintBricksBundle\Document\Areabrick;
Expand Down
13 changes: 5 additions & 8 deletions src/Document/Areabrick/PrintPageBreak.php
@@ -1,16 +1,13 @@
<?php

/**
* Pimcore
* Studio1 Kommunikation GmbH
*
* This source file is available under two different licenses:
* - GNU General Public License version 3 (GPLv3)
* - Pimcore Enterprise License (PEL)
* Full copyright and license information is available in
* LICENSE.md which is distributed with this source code.
* This source file is available under following license:
* - GNU General Public License v3.0 (GNU GPLv3)
*
* @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org)
* @license http://www.pimcore.org/license GPLv3 and PEL
* @copyright Copyright (c) Studio1 Kommunikation GmbH (http://www.studio1.de)
* @license https://www.gnu.org/licenses/gpl-3.0.txt
*/

namespace Studio1\Web2PrintBricksBundle\Document\Areabrick;
Expand Down
13 changes: 5 additions & 8 deletions src/Document/Areabrick/PrintProductTable.php
@@ -1,16 +1,13 @@
<?php

/**
* Pimcore
* Studio1 Kommunikation GmbH
*
* This source file is available under two different licenses:
* - GNU General Public License version 3 (GPLv3)
* - Pimcore Enterprise License (PEL)
* Full copyright and license information is available in
* LICENSE.md which is distributed with this source code.
* This source file is available under following license:
* - GNU General Public License v3.0 (GNU GPLv3)
*
* @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org)
* @license http://www.pimcore.org/license GPLv3 and PEL
* @copyright Copyright (c) Studio1 Kommunikation GmbH (http://www.studio1.de)
* @license https://www.gnu.org/licenses/gpl-3.0.txt
*/

namespace Studio1\Web2PrintBricksBundle\Document\Areabrick;
Expand Down
13 changes: 5 additions & 8 deletions src/Document/Areabrick/PrintTitlePage.php
@@ -1,16 +1,13 @@
<?php

/**
* Pimcore
* Studio1 Kommunikation GmbH
*
* This source file is available under two different licenses:
* - GNU General Public License version 3 (GPLv3)
* - Pimcore Enterprise License (PEL)
* Full copyright and license information is available in
* LICENSE.md which is distributed with this source code.
* This source file is available under following license:
* - GNU General Public License v3.0 (GNU GPLv3)
*
* @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org)
* @license http://www.pimcore.org/license GPLv3 and PEL
* @copyright Copyright (c) Studio1 Kommunikation GmbH (http://www.studio1.de)
* @license https://www.gnu.org/licenses/gpl-3.0.txt
*/

namespace Studio1\Web2PrintBricksBundle\Document\Areabrick;
Expand Down
13 changes: 5 additions & 8 deletions src/Document/Areabrick/PrintToc.php
@@ -1,16 +1,13 @@
<?php

/**
* Pimcore
* Studio1 Kommunikation GmbH
*
* This source file is available under two different licenses:
* - GNU General Public License version 3 (GPLv3)
* - Pimcore Enterprise License (PEL)
* Full copyright and license information is available in
* LICENSE.md which is distributed with this source code.
* This source file is available under following license:
* - GNU General Public License v3.0 (GNU GPLv3)
*
* @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org)
* @license http://www.pimcore.org/license GPLv3 and PEL
* @copyright Copyright (c) Studio1 Kommunikation GmbH (http://www.studio1.de)
* @license https://www.gnu.org/licenses/gpl-3.0.txt
*/

namespace Studio1\Web2PrintBricksBundle\Document\Areabrick;
Expand Down
13 changes: 5 additions & 8 deletions src/Document/Areabrick/PrintWysiwyg.php
@@ -1,16 +1,13 @@
<?php

/**
* Pimcore
* Studio1 Kommunikation GmbH
*
* This source file is available under two different licenses:
* - GNU General Public License version 3 (GPLv3)
* - Pimcore Enterprise License (PEL)
* Full copyright and license information is available in
* LICENSE.md which is distributed with this source code.
* This source file is available under following license:
* - GNU General Public License v3.0 (GNU GPLv3)
*
* @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org)
* @license http://www.pimcore.org/license GPLv3 and PEL
* @copyright Copyright (c) Studio1 Kommunikation GmbH (http://www.studio1.de)
* @license https://www.gnu.org/licenses/gpl-3.0.txt
*/

namespace Studio1\Web2PrintBricksBundle\Document\Areabrick;
Expand Down
20 changes: 13 additions & 7 deletions src/Installer.php
@@ -1,14 +1,17 @@
<?php

/**
* Created by PhpStorm.
* User: piseke
* Date: 23.03.23
* Time: 12:28
* Studio1 Kommunikation GmbH
*
* This source file is available under following license:
* - GNU General Public License v3.0 (GNU GPLv3)
*
* @copyright Copyright (c) Studio1 Kommunikation GmbH (http://www.studio1.de)
* @license https://www.gnu.org/licenses/gpl-3.0.txt
*/

namespace Studio1\Web2PrintBricksBundle;

use DirectoryIterator;
use Exception;
use Pimcore\Extension\Bundle\Installer\SettingsStoreAwareInstaller;
use Pimcore\Model\Asset\Image\Thumbnail\Config;
Expand All @@ -17,6 +20,7 @@

/**
* Installer
*
* @see \Pimcore\Bundle\PortalEngineBundle\Installer
*/
class Installer extends SettingsStoreAwareInstaller
Expand All @@ -36,7 +40,9 @@ public function install()

/**
* Install pre-defined properties
*
* @return self
*
* @see \Pimcore\Bundle\PortalEngineBundle\Installer::installPredefinedProperties()
*/
protected function installPredefinedProperties(): self
Expand Down Expand Up @@ -98,6 +104,7 @@ protected function installPredefinedProperties(): self

/**
* Install thumbnail configurations
*
* @return self
* @noinspection PhpReturnValueOfMethodIsNeverUsedInspection
*/
Expand Down Expand Up @@ -137,7 +144,7 @@ private function installThumbnailConfigurations(): self
'positioning' => 'center',
'forceResize' => false,
],
],[
], [
'method' => 'roundCorners',
'arguments' => [
'width' => 2,
Expand Down Expand Up @@ -204,5 +211,4 @@ private function installThumbnailConfigurations(): self

return $this;
}

}
18 changes: 14 additions & 4 deletions src/Resources/config/pimcore/outputdataconfig/config.php
@@ -1,8 +1,18 @@
<?php

/**
* Studio1 Kommunikation GmbH
*
* This source file is available under following license:
* - GNU General Public License v3.0 (GNU GPLv3)
*
* @copyright Copyright (c) Studio1 Kommunikation GmbH (http://www.studio1.de)
* @license https://www.gnu.org/licenses/gpl-3.0.txt
*/

return [
"channels" => [
"channel1",
"channel2"
'channels' => [
'channel1',
'channel2'
]
];
];
15 changes: 6 additions & 9 deletions src/Twig/Extension/PrintCatalogExtension.php
@@ -1,21 +1,17 @@
<?php

/**
* Pimcore
* Studio1 Kommunikation GmbH
*
* This source file is available under two different licenses:
* - GNU General Public License version 3 (GPLv3)
* - Pimcore Enterprise License (PEL)
* Full copyright and license information is available in
* LICENSE.md which is distributed with this source code.
* This source file is available under following license:
* - GNU General Public License v3.0 (GNU GPLv3)
*
* @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org)
* @license http://www.pimcore.org/license GPLv3 and PEL
* @copyright Copyright (c) Studio1 Kommunikation GmbH (http://www.studio1.de)
* @license https://www.gnu.org/licenses/gpl-3.0.txt
*/

namespace Studio1\Web2PrintBricksBundle\Twig\Extension;

use Studio1\UtilityBundle\Utility\String\StringUtils;
use Pimcore\Model\Asset\Image;
use Pimcore\Model\DataObject\ClassDefinition\Data\Hotspotimage;
use Pimcore\Model\DataObject\ClassDefinition\Data\ImageGallery;
Expand All @@ -26,6 +22,7 @@
use Pimcore\Model\Element\AbstractElement;
use Pimcore\Translation\Translator;
use Pimcore\Twig\Extension\Templating\Placeholder;
use Studio1\UtilityBundle\Utility\String\StringUtils;
use Twig\Extension\AbstractExtension;
use Twig\TwigFunction;

Expand Down
10 changes: 10 additions & 0 deletions src/Web2PrintBricksBundle.php
@@ -1,5 +1,15 @@
<?php

/**
* Studio1 Kommunikation GmbH
*
* This source file is available under following license:
* - GNU General Public License v3.0 (GNU GPLv3)
*
* @copyright Copyright (c) Studio1 Kommunikation GmbH (http://www.studio1.de)
* @license https://www.gnu.org/licenses/gpl-3.0.txt
*/

namespace Studio1\Web2PrintBricksBundle;

use Pimcore\Extension\Bundle\AbstractPimcoreBundle;
Expand Down

0 comments on commit 983830b

Please sign in to comment.