Skip to content

Commit

Permalink
Apply php-cs-fixer changes
Browse files Browse the repository at this point in the history
  • Loading branch information
kingjia90 authored and github-actions[bot] committed Jan 13, 2023
1 parent a35ebca commit 0f6449f
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 8 deletions.
14 changes: 13 additions & 1 deletion bundles/SystemInfoBundle/src/Controller/SettingsController.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
<?php

/**
* Pimcore
*
* 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 GPLv3 and PCL
*/

namespace Pimcore\Bundle\SystemInfoBundle\Controller;

use Doctrine\DBAL\Connection;
Expand All @@ -17,7 +30,6 @@
*/
class SettingsController extends AdminController
{

/**
* @Route("/phpinfo", name="pimcore_bundle_systeminfo_settings_phpinfo", methods={"GET"})
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
<?php

/**
* Pimcore
*
* 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 GPLv3 and PCL
*/

namespace Pimcore\Bundle\SystemInfoBundle\DependencyInjection;

use Symfony\Component\Config\FileLocator;
Expand All @@ -17,5 +30,4 @@ public function load(array $configs, ContainerBuilder $container): void
);
$loader->load('services.yaml');
}

}
22 changes: 16 additions & 6 deletions bundles/SystemInfoBundle/src/PimcoreSystemInfoBundle.php
Original file line number Diff line number Diff line change
@@ -1,17 +1,28 @@
<?php

/**
* Pimcore
*
* 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 GPLv3 and PCL
*/

namespace Pimcore\Bundle\SystemInfoBundle;

use Pimcore\Bundle\SystemInfoBundle\DependencyInjection\PimcoreSystemInfoExtension;
use Pimcore\Extension\Bundle\AbstractPimcoreBundle;
use Pimcore\Extension\Bundle\Traits\PackageVersionTrait;
use Symfony\Component\DependencyInjection\Extension\ExtensionInterface;

class PimcoreSystemInfoBundle extends AbstractPimcoreBundle
{
use PackageVersionTrait;

// @TODO Enable when bundle move to own repo
// @TODO Enable when bundle move to own repo
//
// public function getComposerPackageName(): string
// {
Expand All @@ -21,20 +32,19 @@ class PimcoreSystemInfoBundle extends AbstractPimcoreBundle
public function getCssPaths(): array
{
return [
'/bundles/pimcoresysteminfo/css/icons.css'
'/bundles/pimcoresysteminfo/css/icons.css',
];
}

public function getJsPaths(): array
{
return [
'/bundles/pimcoresysteminfo/js/startup.js'
'/bundles/pimcoresysteminfo/js/startup.js',
];
}

public function getPath(): string
{
return \dirname(__DIR__);
}

}

0 comments on commit 0f6449f

Please sign in to comment.