Skip to content

Commit

Permalink
feat: add header comment for LICENSE
Browse files Browse the repository at this point in the history
  • Loading branch information
ddevsr committed Apr 4, 2023
1 parent b4ef054 commit 300988d
Show file tree
Hide file tree
Showing 15 changed files with 141 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

declare(strict_types=1);

/**
* This file is part of PHPDevsr/Minifyku.
*
* (c) 2023 Denny Septian Panggabean <[email protected]>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/

use CodeIgniter\CodingStandard\CodeIgniter4;
use Nexus\CsConfig\Factory;
use PhpCsFixer\Finder;
Expand All @@ -25,4 +34,9 @@
'cacheFile' => 'build/.php-cs-fixer.cache',
];

return Factory::create(new CodeIgniter4(), $overrides, $options)->forProjects();
return Factory::create(new CodeIgniter4(), $overrides, $options)->forLibrary(
'PHPDevsr/Minifyku',
'Denny Septian Panggabean',
'[email protected]',
2023
);
9 changes: 9 additions & 0 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

declare(strict_types=1);

/**
* This file is part of PHPDevsr/Minifyku.
*
* (c) 2023 Denny Septian Panggabean <[email protected]>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/

use Rector\CodeQuality\Rector\BooleanAnd\SimplifyEmptyArrayCheckRector;
use Rector\CodeQuality\Rector\Class_\CompleteDynamicPropertiesRector;
use Rector\CodeQuality\Rector\Expression\InlineIfToExplicitIfRector;
Expand Down
9 changes: 9 additions & 0 deletions src/Adapters/AdapterInterface.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/**
* This file is part of PHPDevsr/Minifyku.
*
* (c) 2023 Denny Septian Panggabean <[email protected]>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/

namespace PHPDevsr\Minifyku\Adapters;

interface AdapterInterface
Expand Down
9 changes: 9 additions & 0 deletions src/Adapters/MinifykuCSSAdapter.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/**
* This file is part of PHPDevsr/Minifyku.
*
* (c) 2023 Denny Septian Panggabean <[email protected]>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/

namespace PHPDevsr\Minifyku\Adapters;

use MatthiasMullie\Minify\CSS as MinifyCSS;
Expand Down
9 changes: 9 additions & 0 deletions src/Adapters/MinifykuJSAdapter.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/**
* This file is part of PHPDevsr/Minifyku.
*
* (c) 2023 Denny Septian Panggabean <[email protected]>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/

namespace PHPDevsr\Minifyku\Adapters;

use MatthiasMullie\Minify\JS as MinifyJS;
Expand Down
9 changes: 9 additions & 0 deletions src/Commands/MinifyAll.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/**
* This file is part of PHPDevsr/Minifyku.
*
* (c) 2023 Denny Septian Panggabean <[email protected]>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/

namespace PHPDevsr\Minifyku\Commands;

use CodeIgniter\CLI\BaseCommand;
Expand Down
9 changes: 9 additions & 0 deletions src/Commands/PublishConfig.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/**
* This file is part of PHPDevsr/Minifyku.
*
* (c) 2023 Denny Septian Panggabean <[email protected]>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/

namespace PHPDevsr\Minifyku\Commands;

use CodeIgniter\CLI\BaseCommand;
Expand Down
9 changes: 9 additions & 0 deletions src/Config/Minifyku.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/**
* This file is part of PHPDevsr/Minifyku.
*
* (c) 2023 Denny Septian Panggabean <[email protected]>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/

namespace PHPDevsr\Minifyku\Config;

use CodeIgniter\Config\BaseConfig;
Expand Down
9 changes: 9 additions & 0 deletions src/Config/Services.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

declare(strict_types=1);

/**
* This file is part of PHPDevsr/Minifyku.
*
* (c) 2023 Denny Septian Panggabean <[email protected]>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/

namespace PHPDevsr\Minifyku\Config;

use CodeIgniter\Config\BaseService;
Expand Down
9 changes: 9 additions & 0 deletions src/Exceptions/ExceptionInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

declare(strict_types=1);

/**
* This file is part of PHPDevsr/Minifyku.
*
* (c) 2023 Denny Septian Panggabean <[email protected]>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/

namespace PHPDevsr\Minifyku\Exceptions;

interface ExceptionInterface
Expand Down
9 changes: 9 additions & 0 deletions src/Exceptions/MinifykuException.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

declare(strict_types=1);

/**
* This file is part of PHPDevsr/Minifyku.
*
* (c) 2023 Denny Septian Panggabean <[email protected]>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/

namespace PHPDevsr\Minifyku\Exceptions;

use RuntimeException;
Expand Down
9 changes: 9 additions & 0 deletions src/Helpers/minifyku_helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

declare(strict_types=1);

/**
* This file is part of PHPDevsr/Minifyku.
*
* (c) 2023 Denny Septian Panggabean <[email protected]>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/

if (! function_exists('minifyku')) {
/**
* Load Asset File
Expand Down
9 changes: 9 additions & 0 deletions src/Language/en/Minifyku.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

declare(strict_types=1);

/**
* This file is part of PHPDevsr/Minifyku.
*
* (c) 2023 Denny Septian Panggabean <[email protected]>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/

return [
// Exceptions
'wrongFileExtension' => 'Wrong file extension: ".{0}".',
Expand Down
9 changes: 9 additions & 0 deletions src/Minifyku.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

declare(strict_types=1);

/**
* This file is part of PHPDevsr/Minifyku.
*
* (c) 2023 Denny Septian Panggabean <[email protected]>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/

namespace PHPDevsr\Minifyku;

use PHPDevsr\Minifyku\Adapters\MinifykuCSSAdapter;
Expand Down
9 changes: 9 additions & 0 deletions tests/unit/MinifykuTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

declare(strict_types=1);

/**
* This file is part of PHPDevsr/Minifyku.
*
* (c) 2023 Denny Septian Panggabean <[email protected]>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/

namespace Tests\unit;

use CodeIgniter\Test\CIUnitTestCase;
Expand Down

0 comments on commit 300988d

Please sign in to comment.