generated from chillerlan/php-library-template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
da3ecc7
commit 77d1d76
Showing
12 changed files
with
177 additions
and
104 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,21 +1,23 @@ | ||
/.build export-ignore | ||
/.config export-ignore | ||
/.github export-ignore | ||
/.idea export-ignore | ||
/.phan export-ignore | ||
/.phpdoc export-ignore | ||
/docs export-ignore | ||
/examples export-ignore | ||
/public export-ignore | ||
/tests export-ignore | ||
/.editorconfig export-ignore | ||
/.gitattributes export-ignore | ||
/.gitignore export-ignore | ||
/.readthedocs.yml export-ignore | ||
/composer.lock export-ignore | ||
/phpcs.xml.dist export-ignore | ||
/phpdoc.xml.dist export-ignore | ||
/phpmd.xml.dist export-ignore | ||
/phpunit.xml.dist export-ignore | ||
/.build export-ignore | ||
/.config export-ignore | ||
/.github export-ignore | ||
/.idea export-ignore | ||
/.phan export-ignore | ||
/.phpdoc export-ignore | ||
/docs export-ignore | ||
/examples export-ignore | ||
/public export-ignore | ||
/tests export-ignore | ||
/.editorconfig export-ignore | ||
/.gitattributes export-ignore | ||
/.gitignore export-ignore | ||
/.readthedocs.yml export-ignore | ||
/composer.lock export-ignore | ||
/phpcs.xml.dist export-ignore | ||
/phpdoc.xml.dist export-ignore | ||
/phpmd.xml.dist export-ignore | ||
/phpunit.xml.dist export-ignore | ||
/phpstan.dist.neon export-ignore | ||
/phpstan-baseline.neon export-ignore | ||
|
||
*.php diff=php |
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
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 |
---|---|---|
|
@@ -18,3 +18,4 @@ phpcs.xml | |
phpdoc.xml | ||
phpmd.xml | ||
phpunit.xml | ||
phpstan.neon |
This file was deleted.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -0,0 +1,71 @@ | ||
parameters: | ||
ignoreErrors: | ||
- | ||
message: "#^Property chillerlan\\\\HTTP\\\\Psr7\\\\DummyStream\\:\\:\\$override \\(array\\<string, Closure\\>\\) does not accept non\\-empty\\-array\\<int\\|string, Closure\\>\\.$#" | ||
count: 1 | ||
path: src/DummyStream.php | ||
|
||
- | ||
message: "#^Property chillerlan\\\\HTTP\\\\Psr7\\\\ServerRequest\\:\\:\\$uploadedFiles \\(array\\{tmp_name\\: array\\<string\\>, size\\: array\\<int\\>, error\\: array\\<int\\>, name\\: array\\<string\\>, type\\: array\\<string\\>\\}\\) does not accept default value of type array\\{\\}\\.$#" | ||
count: 1 | ||
path: src/ServerRequest.php | ||
|
||
- | ||
message: "#^Parameter \\#1 \\$content of method Psr\\\\Http\\\\Message\\\\StreamFactoryInterface\\:\\:createStream\\(\\) expects string, string\\|null given\\.$#" | ||
count: 1 | ||
path: src/UploadedFile.php | ||
|
||
- | ||
message: "#^Parameter \\#1 \\$filename of function is_file expects string, string\\|null given\\.$#" | ||
count: 1 | ||
path: src/UploadedFile.php | ||
|
||
- | ||
message: "#^Parameter \\#1 \\$filename of method Psr\\\\Http\\\\Message\\\\StreamFactoryInterface\\:\\:createStreamFromFile\\(\\) expects string, string\\|null given\\.$#" | ||
count: 1 | ||
path: src/UploadedFile.php | ||
|
||
- | ||
message: "#^Match expression does not handle remaining value\\: string$#" | ||
count: 1 | ||
path: src/Uri.php | ||
|
||
- | ||
message: "#^Parameter \\#1 \\$host of method chillerlan\\\\HTTP\\\\Psr7\\\\Uri\\:\\:filterHost\\(\\) expects string, int\\|string given\\.$#" | ||
count: 1 | ||
path: src/Uri.php | ||
|
||
- | ||
message: "#^Parameter \\#1 \\$parts of method chillerlan\\\\HTTP\\\\Psr7\\\\Uri\\:\\:parseUriParts\\(\\) expects array\\{scheme\\?\\: string, host\\?\\: string, port\\?\\: int\\|string, user\\?\\: string, pass\\?\\: string, path\\?\\: string, query\\?\\: string, fragment\\?\\: string\\}, array\\{port\\: int\\|null\\} given\\.$#" | ||
count: 1 | ||
path: src/Uri.php | ||
|
||
- | ||
message: "#^Parameter \\#1 \\$parts of method chillerlan\\\\HTTP\\\\Psr7\\\\Uri\\:\\:parseUriParts\\(\\) expects array\\{scheme\\?\\: string, host\\?\\: string, port\\?\\: int\\|string, user\\?\\: string, pass\\?\\: string, path\\?\\: string, query\\?\\: string, fragment\\?\\: string\\}, array\\{scheme\\?\\: string, host\\?\\: int\\|string, port\\?\\: int\\|string, user\\?\\: string, pass\\?\\: string, path\\?\\: string, query\\?\\: string, fragment\\?\\: string\\} given\\.$#" | ||
count: 1 | ||
path: src/Uri.php | ||
|
||
- | ||
message: "#^Parameter \\#1 \\$path of method chillerlan\\\\HTTP\\\\Psr7\\\\Uri\\:\\:filterPath\\(\\) expects string, int\\|string given\\.$#" | ||
count: 1 | ||
path: src/Uri.php | ||
|
||
- | ||
message: "#^Parameter \\#1 \\$port of method chillerlan\\\\HTTP\\\\Psr7\\\\Uri\\:\\:filterPort\\(\\) expects int\\|null, int\\|string given\\.$#" | ||
count: 1 | ||
path: src/Uri.php | ||
|
||
- | ||
message: "#^Parameter \\#1 \\$queryOrFragment of method chillerlan\\\\HTTP\\\\Psr7\\\\Uri\\:\\:filterQueryOrFragment\\(\\) expects string, int\\|string given\\.$#" | ||
count: 1 | ||
path: src/Uri.php | ||
|
||
- | ||
message: "#^Parameter \\#1 \\$scheme of method chillerlan\\\\HTTP\\\\Psr7\\\\Uri\\:\\:filterScheme\\(\\) expects string, int\\|string given\\.$#" | ||
count: 1 | ||
path: src/Uri.php | ||
|
||
- | ||
message: "#^Parameter \\#1 \\$userOrPass of method chillerlan\\\\HTTP\\\\Psr7\\\\Uri\\:\\:filterUserInfo\\(\\) expects string, int\\|string given\\.$#" | ||
count: 1 | ||
path: src/Uri.php |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# https://phpstan.org/config-reference | ||
|
||
parameters: | ||
level: 8 | ||
tmpDir: .build/phpstan-cache | ||
paths: | ||
# - examples | ||
- src | ||
# - tests | ||
|
||
treatPhpDocTypesAsCertain: false | ||
|
||
|
||
includes: | ||
- phpstan-baseline.neon | ||
- vendor/phpstan/phpstan/conf/bleedingEdge.neon | ||
- vendor/phpstan/phpstan-deprecation-rules/rules.neon |
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
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
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
Oops, something went wrong.