-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update files notices and add ecs cache
- Loading branch information
Showing
110 changed files
with
121 additions
and
342 deletions.
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 |
---|---|---|
@@ -1,12 +1,10 @@ | ||
<?php | ||
|
||
/* | ||
* slim-routing (https://github.com/juliangut/slim-routing). | ||
* Slim framework routing. | ||
* (c) 2017-2023 Julián Gutiérrez <[email protected]> | ||
* | ||
* @license BSD-3-Clause | ||
* @link https://github.com/juliangut/slim-routing | ||
* @author Julián Gutiérrez <[email protected]> | ||
*/ | ||
|
||
declare(strict_types=1); | ||
|
@@ -17,21 +15,20 @@ | |
use PhpCsFixerCustomFixers\Fixer\NoNullableBooleanTypeFixer; | ||
use Symplify\EasyCodingStandard\Config\ECSConfig; | ||
|
||
$header = <<<'HEADER' | ||
slim-routing (https://github.com/juliangut/slim-routing). | ||
Slim framework routing. | ||
return static function (ECSConfig $ecsConfig): void { | ||
$header = <<<'HEADER' | ||
(c) 2017-{{year}} Julián Gutiérrez <[email protected]> | ||
@license BSD-3-Clause | ||
@link https://github.com/juliangut/slim-routing | ||
@author Julián Gutiérrez <[email protected]> | ||
HEADER; | ||
@license BSD-3-Clause | ||
@link https://github.com/juliangut/slim-routing | ||
HEADER; | ||
|
||
return static function (ECSConfig $ecsConfig) use ($header): void { | ||
$ecsConfig->paths([ | ||
__FILE__, | ||
__DIR__ . '/src', | ||
__DIR__ . '/tests', | ||
]); | ||
$ecsConfig->cacheDirectory('.ecs.cache'); | ||
|
||
$skips = [ | ||
NoSilencedErrorsSniff::class . '.Forbidden' => [ | ||
|
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,12 +1,10 @@ | ||
<?php | ||
|
||
/* | ||
* slim-routing (https://github.com/juliangut/slim-routing). | ||
* Slim framework routing. | ||
* (c) 2017-2023 Julián Gutiérrez <[email protected]> | ||
* | ||
* @license BSD-3-Clause | ||
* @link https://github.com/juliangut/slim-routing | ||
* @author Julián Gutiérrez <[email protected]> | ||
*/ | ||
|
||
declare(strict_types=1); | ||
|
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,12 +1,10 @@ | ||
<?php | ||
|
||
/* | ||
* slim-routing (https://github.com/juliangut/slim-routing). | ||
* Slim framework routing. | ||
* (c) 2017-2023 Julián Gutiérrez <[email protected]> | ||
* | ||
* @license BSD-3-Clause | ||
* @link https://github.com/juliangut/slim-routing | ||
* @author Julián Gutiérrez <[email protected]> | ||
*/ | ||
|
||
declare(strict_types=1); | ||
|
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,12 +1,10 @@ | ||
<?php | ||
|
||
/* | ||
* slim-routing (https://github.com/juliangut/slim-routing). | ||
* Slim framework routing. | ||
* (c) 2017-2023 Julián Gutiérrez <[email protected]> | ||
* | ||
* @license BSD-3-Clause | ||
* @link https://github.com/juliangut/slim-routing | ||
* @author Julián Gutiérrez <[email protected]> | ||
*/ | ||
|
||
declare(strict_types=1); | ||
|
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,12 +1,10 @@ | ||
<?php | ||
|
||
/* | ||
* slim-routing (https://github.com/juliangut/slim-routing). | ||
* Slim framework routing. | ||
* (c) 2017-2023 Julián Gutiérrez <[email protected]> | ||
* | ||
* @license BSD-3-Clause | ||
* @link https://github.com/juliangut/slim-routing | ||
* @author Julián Gutiérrez <[email protected]> | ||
*/ | ||
|
||
declare(strict_types=1); | ||
|
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,12 +1,10 @@ | ||
<?php | ||
|
||
/* | ||
* slim-routing (https://github.com/juliangut/slim-routing). | ||
* Slim framework routing. | ||
* (c) 2017-2023 Julián Gutiérrez <[email protected]> | ||
* | ||
* @license BSD-3-Clause | ||
* @link https://github.com/juliangut/slim-routing | ||
* @author Julián Gutiérrez <[email protected]> | ||
*/ | ||
|
||
declare(strict_types=1); | ||
|
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,12 +1,10 @@ | ||
<?php | ||
|
||
/* | ||
* slim-routing (https://github.com/juliangut/slim-routing). | ||
* Slim framework routing. | ||
* (c) 2017-2023 Julián Gutiérrez <[email protected]> | ||
* | ||
* @license BSD-3-Clause | ||
* @link https://github.com/juliangut/slim-routing | ||
* @author Julián Gutiérrez <[email protected]> | ||
*/ | ||
|
||
declare(strict_types=1); | ||
|
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,12 +1,10 @@ | ||
<?php | ||
|
||
/* | ||
* slim-routing (https://github.com/juliangut/slim-routing). | ||
* Slim framework routing. | ||
* (c) 2017-2023 Julián Gutiérrez <[email protected]> | ||
* | ||
* @license BSD-3-Clause | ||
* @link https://github.com/juliangut/slim-routing | ||
* @author Julián Gutiérrez <[email protected]> | ||
*/ | ||
|
||
declare(strict_types=1); | ||
|
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,12 +1,10 @@ | ||
<?php | ||
|
||
/* | ||
* slim-routing (https://github.com/juliangut/slim-routing). | ||
* Slim framework routing. | ||
* (c) 2017-2023 Julián Gutiérrez <[email protected]> | ||
* | ||
* @license BSD-3-Clause | ||
* @link https://github.com/juliangut/slim-routing | ||
* @author Julián Gutiérrez <[email protected]> | ||
*/ | ||
|
||
declare(strict_types=1); | ||
|
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,12 +1,10 @@ | ||
<?php | ||
|
||
/* | ||
* slim-routing (https://github.com/juliangut/slim-routing). | ||
* Slim framework routing. | ||
* (c) 2017-2023 Julián Gutiérrez <[email protected]> | ||
* | ||
* @license BSD-3-Clause | ||
* @link https://github.com/juliangut/slim-routing | ||
* @author Julián Gutiérrez <[email protected]> | ||
*/ | ||
|
||
declare(strict_types=1); | ||
|
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,12 +1,10 @@ | ||
<?php | ||
|
||
/* | ||
* slim-routing (https://github.com/juliangut/slim-routing). | ||
* Slim framework routing. | ||
* (c) 2017-2023 Julián Gutiérrez <[email protected]> | ||
* | ||
* @license BSD-3-Clause | ||
* @link https://github.com/juliangut/slim-routing | ||
* @author Julián Gutiérrez <[email protected]> | ||
*/ | ||
|
||
declare(strict_types=1); | ||
|
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,12 +1,10 @@ | ||
<?php | ||
|
||
/* | ||
* slim-routing (https://github.com/juliangut/slim-routing). | ||
* Slim framework routing. | ||
* (c) 2017-2023 Julián Gutiérrez <[email protected]> | ||
* | ||
* @license BSD-3-Clause | ||
* @link https://github.com/juliangut/slim-routing | ||
* @author Julián Gutiérrez <[email protected]> | ||
*/ | ||
|
||
declare(strict_types=1); | ||
|
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,12 +1,10 @@ | ||
<?php | ||
|
||
/* | ||
* slim-routing (https://github.com/juliangut/slim-routing). | ||
* Slim framework routing. | ||
* (c) 2017-2023 Julián Gutiérrez <[email protected]> | ||
* | ||
* @license BSD-3-Clause | ||
* @link https://github.com/juliangut/slim-routing | ||
* @author Julián Gutiérrez <[email protected]> | ||
*/ | ||
|
||
declare(strict_types=1); | ||
|
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,12 +1,10 @@ | ||
<?php | ||
|
||
/* | ||
* slim-routing (https://github.com/juliangut/slim-routing). | ||
* Slim framework routing. | ||
* (c) 2017-2023 Julián Gutiérrez <[email protected]> | ||
* | ||
* @license BSD-3-Clause | ||
* @link https://github.com/juliangut/slim-routing | ||
* @author Julián Gutiérrez <[email protected]> | ||
*/ | ||
|
||
declare(strict_types=1); | ||
|
@@ -24,10 +22,10 @@ public function __construct( | |
private ?string $pattern = null, | ||
/** | ||
* @var array<string, string> | ||
*/ private array $placeholders = [], | ||
*/ private array $placeholders = [], | ||
/** | ||
* @var array<string, string> | ||
*/ private array $arguments = [], | ||
*/ private array $arguments = [], | ||
) {} | ||
|
||
public function getPrefix(): ?string | ||
|
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,12 +1,10 @@ | ||
<?php | ||
|
||
/* | ||
* slim-routing (https://github.com/juliangut/slim-routing). | ||
* Slim framework routing. | ||
* (c) 2017-2023 Julián Gutiérrez <[email protected]> | ||
* | ||
* @license BSD-3-Clause | ||
* @link https://github.com/juliangut/slim-routing | ||
* @author Julián Gutiérrez <[email protected]> | ||
*/ | ||
|
||
declare(strict_types=1); | ||
|
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,12 +1,10 @@ | ||
<?php | ||
|
||
/* | ||
* slim-routing (https://github.com/juliangut/slim-routing). | ||
* Slim framework routing. | ||
* (c) 2017-2023 Julián Gutiérrez <[email protected]> | ||
* | ||
* @license BSD-3-Clause | ||
* @link https://github.com/juliangut/slim-routing | ||
* @author Julián Gutiérrez <[email protected]> | ||
*/ | ||
|
||
declare(strict_types=1); | ||
|
@@ -32,10 +30,10 @@ public function __construct( | |
private ?string $pattern = null, | ||
/** | ||
* @var array<string, string> | ||
*/ private array $placeholders = [], | ||
*/ private array $placeholders = [], | ||
/** | ||
* @var array<string, string> | ||
*/ private array $arguments = [], | ||
*/ private array $arguments = [], | ||
protected bool $xmlHttpRequest = false, | ||
protected int $priority = 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 |
---|---|---|
@@ -1,12 +1,10 @@ | ||
<?php | ||
|
||
/* | ||
* slim-routing (https://github.com/juliangut/slim-routing). | ||
* Slim framework routing. | ||
* (c) 2017-2023 Julián Gutiérrez <[email protected]> | ||
* | ||
* @license BSD-3-Clause | ||
* @link https://github.com/juliangut/slim-routing | ||
* @author Julián Gutiérrez <[email protected]> | ||
*/ | ||
|
||
declare(strict_types=1); | ||
|
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,12 +1,10 @@ | ||
<?php | ||
|
||
/* | ||
* slim-routing (https://github.com/juliangut/slim-routing). | ||
* Slim framework routing. | ||
* (c) 2017-2023 Julián Gutiérrez <[email protected]> | ||
* | ||
* @license BSD-3-Clause | ||
* @link https://github.com/juliangut/slim-routing | ||
* @author Julián Gutiérrez <[email protected]> | ||
*/ | ||
|
||
declare(strict_types=1); | ||
|
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,12 +1,10 @@ | ||
<?php | ||
|
||
/* | ||
* slim-routing (https://github.com/juliangut/slim-routing). | ||
* Slim framework routing. | ||
* (c) 2017-2023 Julián Gutiérrez <[email protected]> | ||
* | ||
* @license BSD-3-Clause | ||
* @link https://github.com/juliangut/slim-routing | ||
* @author Julián Gutiérrez <[email protected]> | ||
*/ | ||
|
||
declare(strict_types=1); | ||
|
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,12 +1,10 @@ | ||
<?php | ||
|
||
/* | ||
* slim-routing (https://github.com/juliangut/slim-routing). | ||
* Slim framework routing. | ||
* (c) 2017-2023 Julián Gutiérrez <[email protected]> | ||
* | ||
* @license BSD-3-Clause | ||
* @link https://github.com/juliangut/slim-routing | ||
* @author Julián Gutiérrez <[email protected]> | ||
*/ | ||
|
||
declare(strict_types=1); | ||
|
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,12 +1,10 @@ | ||
<?php | ||
|
||
/* | ||
* slim-routing (https://github.com/juliangut/slim-routing). | ||
* Slim framework routing. | ||
* (c) 2017-2023 Julián Gutiérrez <[email protected]> | ||
* | ||
* @license BSD-3-Clause | ||
* @link https://github.com/juliangut/slim-routing | ||
* @author Julián Gutiérrez <[email protected]> | ||
*/ | ||
|
||
declare(strict_types=1); | ||
|
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,12 +1,10 @@ | ||
<?php | ||
|
||
/* | ||
* slim-routing (https://github.com/juliangut/slim-routing). | ||
* Slim framework routing. | ||
* (c) 2017-2023 Julián Gutiérrez <[email protected]> | ||
* | ||
* @license BSD-3-Clause | ||
* @link https://github.com/juliangut/slim-routing | ||
* @author Julián Gutiérrez <[email protected]> | ||
*/ | ||
|
||
declare(strict_types=1); | ||
|
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,12 +1,10 @@ | ||
<?php | ||
|
||
/* | ||
* slim-routing (https://github.com/juliangut/slim-routing). | ||
* Slim framework routing. | ||
* (c) 2017-2023 Julián Gutiérrez <[email protected]> | ||
* | ||
* @license BSD-3-Clause | ||
* @link https://github.com/juliangut/slim-routing | ||
* @author Julián Gutiérrez <[email protected]> | ||
*/ | ||
|
||
declare(strict_types=1); | ||
|
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,12 +1,10 @@ | ||
<?php | ||
|
||
/* | ||
* slim-routing (https://github.com/juliangut/slim-routing). | ||
* Slim framework routing. | ||
* (c) 2017-2023 Julián Gutiérrez <[email protected]> | ||
* | ||
* @license BSD-3-Clause | ||
* @link https://github.com/juliangut/slim-routing | ||
* @author Julián Gutiérrez <[email protected]> | ||
*/ | ||
|
||
declare(strict_types=1); | ||
|
Oops, something went wrong.