Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Composer: replace ninjify for contributte
- Loading branch information
Showing
4 changed files
with
58 additions
and
25 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
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,33 @@ | ||
includes: | ||
- vendor/contributte/phpstan/phpstan.neon | ||
|
||
parameters: | ||
level: 9 | ||
phpVersion: 80100 | ||
|
||
scanDirectories: | ||
- src | ||
|
||
fileExtensions: | ||
- php | ||
|
||
paths: | ||
- src | ||
- .docs | ||
|
||
ignoreErrors: | ||
- | ||
message: """ | ||
#^Fetching class constant class of deprecated class Doctrine\\\\Common\\\\Cache\\\\ApcuCache\\: | ||
Deprecated without replacement in doctrine/cache 1\\.11\\. This class will be dropped in 2\\.0$# | ||
""" | ||
count: 1 | ||
path: src/DI/CacheExtension.php | ||
|
||
- | ||
message: """ | ||
#^Fetching class constant class of deprecated class Doctrine\\\\Common\\\\Cache\\\\PhpFileCache\\: | ||
Deprecated without replacement in doctrine/cache 1\\.11\\. This class will be dropped in 2\\.0$# | ||
""" | ||
count: 1 | ||
path: src/DI/CacheExtension.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 |
---|---|---|
@@ -1,15 +1,18 @@ | ||
<?xml version="1.0"?> | ||
<ruleset> | ||
<!-- Contributte Coding Standard --> | ||
<rule ref="./vendor/ninjify/coding-standard/contributte.xml"/> | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ruleset name="Contributte" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="vendor/squizlabs/php_codesniffer/phpcs.xsd"> | ||
<!-- Rulesets --> | ||
<rule ref="./vendor/contributte/qa/ruleset-8.0.xml"/> | ||
|
||
<!-- Rules --> | ||
<rule ref="SlevomatCodingStandard.Files.TypeNameMatchesFileName"> | ||
<properties> | ||
<property name="rootNamespaces" type="array"> | ||
<element key="src" value="Nettrine\Cache"/> | ||
<element key="tests/cases" value="Tests\Cases"/> | ||
<element key="tests/toolkit" value="Tests\Toolkit"/> | ||
<element key="tests" value="Tests"/> | ||
</property> | ||
</properties> | ||
</rule> | ||
|
||
<!-- Excludes --> | ||
<exclude-pattern>/tests/tmp</exclude-pattern> | ||
</ruleset> |