Skip to content

Commit 8f6c9af

Browse files
authored
Merge pull request #152 from michalsn/license-info
add license info to the files
2 parents 51a7757 + 618695d commit 8f6c9af

30 files changed

Lines changed: 275 additions & 1 deletion

.php-cs-fixer.dist.php

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22

33
declare(strict_types=1);
44

5+
/**
6+
* This file is part of CodeIgniter Tasks.
7+
*
8+
* (c) CodeIgniter Foundation <admin@codeigniter.com>
9+
*
10+
* For the full copyright and license information, please view
11+
* the LICENSE file that was distributed with this source code.
12+
*/
13+
514
use CodeIgniter\CodingStandard\CodeIgniter4;
615
use Nexus\CsConfig\Factory;
716
use PhpCsFixer\Finder;
@@ -31,4 +40,8 @@
3140
'cacheFile' => 'build/.php-cs-fixer.cache',
3241
];
3342

34-
return Factory::create(new CodeIgniter4(), $overrides, $options)->forProjects();
43+
return Factory::create(new CodeIgniter4(), $overrides, $options)->forLibrary(
44+
'CodeIgniter Tasks',
45+
'CodeIgniter Foundation',
46+
'admin@codeigniter.com'
47+
);

rector.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22

33
declare(strict_types=1);
44

5+
/**
6+
* This file is part of CodeIgniter Tasks.
7+
*
8+
* (c) CodeIgniter Foundation <admin@codeigniter.com>
9+
*
10+
* For the full copyright and license information, please view
11+
* the LICENSE file that was distributed with this source code.
12+
*/
13+
514
use Rector\CodeQuality\Rector\BooleanAnd\SimplifyEmptyArrayCheckRector;
615
use Rector\CodeQuality\Rector\Expression\InlineIfToExplicitIfRector;
716
use Rector\CodeQuality\Rector\Foreach_\UnusedForeachValueToArrayKeysRector;

src/Commands/Disable.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22

33
declare(strict_types=1);
44

5+
/**
6+
* This file is part of CodeIgniter Tasks.
7+
*
8+
* (c) CodeIgniter Foundation <admin@codeigniter.com>
9+
*
10+
* For the full copyright and license information, please view
11+
* the LICENSE file that was distributed with this source code.
12+
*/
13+
514
namespace CodeIgniter\Tasks\Commands;
615

716
use CodeIgniter\CLI\CLI;

src/Commands/Enable.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22

33
declare(strict_types=1);
44

5+
/**
6+
* This file is part of CodeIgniter Tasks.
7+
*
8+
* (c) CodeIgniter Foundation <admin@codeigniter.com>
9+
*
10+
* For the full copyright and license information, please view
11+
* the LICENSE file that was distributed with this source code.
12+
*/
13+
514
namespace CodeIgniter\Tasks\Commands;
615

716
use CodeIgniter\CLI\CLI;

src/Commands/Lister.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22

33
declare(strict_types=1);
44

5+
/**
6+
* This file is part of CodeIgniter Tasks.
7+
*
8+
* (c) CodeIgniter Foundation <admin@codeigniter.com>
9+
*
10+
* For the full copyright and license information, please view
11+
* the LICENSE file that was distributed with this source code.
12+
*/
13+
514
namespace CodeIgniter\Tasks\Commands;
615

716
use CodeIgniter\CLI\CLI;

src/Commands/Publish.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22

33
declare(strict_types=1);
44

5+
/**
6+
* This file is part of CodeIgniter Tasks.
7+
*
8+
* (c) CodeIgniter Foundation <admin@codeigniter.com>
9+
*
10+
* For the full copyright and license information, please view
11+
* the LICENSE file that was distributed with this source code.
12+
*/
13+
514
namespace CodeIgniter\Tasks\Commands;
615

716
use CodeIgniter\CLI\CLI;

src/Commands/Run.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22

33
declare(strict_types=1);
44

5+
/**
6+
* This file is part of CodeIgniter Tasks.
7+
*
8+
* (c) CodeIgniter Foundation <admin@codeigniter.com>
9+
*
10+
* For the full copyright and license information, please view
11+
* the LICENSE file that was distributed with this source code.
12+
*/
13+
514
namespace CodeIgniter\Tasks\Commands;
615

716
use CodeIgniter\CLI\CLI;

src/Commands/TaskCommand.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22

33
declare(strict_types=1);
44

5+
/**
6+
* This file is part of CodeIgniter Tasks.
7+
*
8+
* (c) CodeIgniter Foundation <admin@codeigniter.com>
9+
*
10+
* For the full copyright and license information, please view
11+
* the LICENSE file that was distributed with this source code.
12+
*/
13+
514
namespace CodeIgniter\Tasks\Commands;
615

716
use CodeIgniter\CLI\BaseCommand;

src/Config/Services.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22

33
declare(strict_types=1);
44

5+
/**
6+
* This file is part of CodeIgniter Tasks.
7+
*
8+
* (c) CodeIgniter Foundation <admin@codeigniter.com>
9+
*
10+
* For the full copyright and license information, please view
11+
* the LICENSE file that was distributed with this source code.
12+
*/
13+
514
namespace CodeIgniter\Tasks\Config;
615

716
use CodeIgniter\Tasks\CronExpression;

src/Config/Tasks.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22

33
declare(strict_types=1);
44

5+
/**
6+
* This file is part of CodeIgniter Tasks.
7+
*
8+
* (c) CodeIgniter Foundation <admin@codeigniter.com>
9+
*
10+
* For the full copyright and license information, please view
11+
* the LICENSE file that was distributed with this source code.
12+
*/
13+
514
namespace CodeIgniter\Tasks\Config;
615

716
use CodeIgniter\Config\BaseConfig;

0 commit comments

Comments
 (0)