Skip to content

Commit edbe659

Browse files
committed
style: add copyright to all files with linter
1 parent 92b5755 commit edbe659

File tree

185 files changed

+1542
-17
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

185 files changed

+1542
-17
lines changed

.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 Shield.
7+
*
8+
* (c) CodeIgniter Foundation <[email protected]>
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;
@@ -28,4 +37,8 @@
2837
'cacheFile' => 'build/.php-cs-fixer.cache',
2938
];
3039

31-
return Factory::create(new CodeIgniter4(), $overrides, $options)->forProjects();
40+
return Factory::create(new CodeIgniter4(), $overrides, $options)->forLibrary(
41+
'CodeIgniter Shield',
42+
'CodeIgniter Foundation',
43+
44+
);

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 Shield.
7+
*
8+
* (c) CodeIgniter Foundation <[email protected]>
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\Class_\CompleteDynamicPropertiesRector;
716
use Rector\CodeQuality\Rector\Expression\InlineIfToExplicitIfRector;

src/Auth.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 Shield.
7+
*
8+
* (c) CodeIgniter Foundation <[email protected]>
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\Shield;
615

716
use CodeIgniter\Router\RouteCollection;

src/Authentication/Actions/ActionInterface.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 Shield.
7+
*
8+
* (c) CodeIgniter Foundation <[email protected]>
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\Shield\Authentication\Actions;
615

716
use CodeIgniter\HTTP\IncomingRequest;

src/Authentication/Actions/Email2FA.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 Shield.
7+
*
8+
* (c) CodeIgniter Foundation <[email protected]>
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\Shield\Authentication\Actions;
615

716
use CodeIgniter\HTTP\IncomingRequest;

src/Authentication/Actions/EmailActivator.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 Shield.
7+
*
8+
* (c) CodeIgniter Foundation <[email protected]>
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\Shield\Authentication\Actions;
615

716
use CodeIgniter\Exceptions\PageNotFoundException;

src/Authentication/Authentication.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 Shield.
7+
*
8+
* (c) CodeIgniter Foundation <[email protected]>
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\Shield\Authentication;
615

716
use CodeIgniter\Shield\Config\Auth as AuthConfig;

src/Authentication/AuthenticationException.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 Shield.
7+
*
8+
* (c) CodeIgniter Foundation <[email protected]>
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\Shield\Authentication;
615

716
use CodeIgniter\HTTP\Exceptions\HTTPException;

src/Authentication/AuthenticatorInterface.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 Shield.
7+
*
8+
* (c) CodeIgniter Foundation <[email protected]>
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\Shield\Authentication;
615

716
use CodeIgniter\Shield\Entities\User;

src/Authentication/Authenticators/AccessTokens.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 Shield.
7+
*
8+
* (c) CodeIgniter Foundation <[email protected]>
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\Shield\Authentication\Authenticators;
615

716
use CodeIgniter\HTTP\IncomingRequest;

0 commit comments

Comments
 (0)