Skip to content

Commit 519b20d

Browse files
committed
phpcsfixed
1 parent a292a67 commit 519b20d

File tree

5 files changed

+40
-4
lines changed

5 files changed

+40
-4
lines changed

src/controllers/DoController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313

1414
use Composer\Factory;
1515
use Composer\IO\NullIO;
16+
use hiqdev\assetpackagist\registry\RegistryFactory;
1617
use Yii;
1718
use yii\helpers\Json;
18-
use hiqdev\assetpackagist\registry\RegistryFactory;
1919

2020
class DoController extends \yii\console\Controller
2121
{

src/registry/BowerRegistry.php

+9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
<?php
22

3+
/*
4+
* asset-packagist.hiqdev.com
5+
*
6+
* @link http://asset-packagist.hiqdev.com/
7+
* @package asset-packagist.hiqdev.com
8+
* @license BSD-3-Clause
9+
* @copyright Copyright (c) 2016, HiQDev (http://hiqdev.com/)
10+
*/
11+
312
namespace hiqdev\assetpackagist\registry;
413

514
class BowerRegistry extends \Fxp\Composer\AssetPlugin\Repository\BowerRepository

src/registry/NpmRegistry.php

+9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
<?php
22

3+
/*
4+
* asset-packagist.hiqdev.com
5+
*
6+
* @link http://asset-packagist.hiqdev.com/
7+
* @package asset-packagist.hiqdev.com
8+
* @license BSD-3-Clause
9+
* @copyright Copyright (c) 2016, HiQDev (http://hiqdev.com/)
10+
*/
11+
312
namespace hiqdev\assetpackagist\registry;
413

514
class NpmRegistry extends \Fxp\Composer\AssetPlugin\Repository\NpmRepository

src/registry/RegistryFactory.php

+12-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
<?php
22

3+
/*
4+
* asset-packagist.hiqdev.com
5+
*
6+
* @link http://asset-packagist.hiqdev.com/
7+
* @package asset-packagist.hiqdev.com
8+
* @license BSD-3-Clause
9+
* @copyright Copyright (c) 2016, HiQDev (http://hiqdev.com/)
10+
*/
11+
312
namespace hiqdev\assetpackagist\registry;
413

514
class RegistryFactory
@@ -9,9 +18,9 @@ class RegistryFactory
918
'npm' => NpmRegistry::class,
1019
];
1120

12-
static $registries = [];
21+
public static $registries = [];
1322

14-
static public function getRegistry($type, $rm)
23+
public static function getRegistry($type, $rm)
1524
{
1625
if (!isset(static::$registries[$type])) {
1726
static::$registries[$type] = static::buildRegistry($type, $rm);
@@ -20,7 +29,7 @@ static public function getRegistry($type, $rm)
2029
return static::$registries[$type];
2130
}
2231

23-
static protected function buildRegistry($type, $rm)
32+
protected static function buildRegistry($type, $rm)
2433
{
2534
$config = [
2635
'repository-manager' => $rm,

src/registry/RegistryTrait.php

+9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
<?php
22

3+
/*
4+
* asset-packagist.hiqdev.com
5+
*
6+
* @link http://asset-packagist.hiqdev.com/
7+
* @package asset-packagist.hiqdev.com
8+
* @license BSD-3-Clause
9+
* @copyright Copyright (c) 2016, HiQDev (http://hiqdev.com/)
10+
*/
11+
312
namespace hiqdev\assetpackagist\registry;
413

514
/**

0 commit comments

Comments
 (0)