-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add header comment for LICENSE
- Loading branch information
Showing
15 changed files
with
141 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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; | ||
|
@@ -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 | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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}".', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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; | ||
|