Skip to content

Commit

Permalink
Use contributte/qa instead of ninjify/qa in an attempt to fix spaceIn…
Browse files Browse the repository at this point in the history
…dent does not exist

This is handled differently in the PHPCSStandards/PHP_CodeSniffer 3.8.0, the property seems to be tabIndent, and always was maybe.
  • Loading branch information
spaze committed Jan 16, 2024
1 parent cf6fc53 commit 3750937
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ vendor: composer.json composer.lock
qa: lint phpstan cs

lint: vendor
vendor/bin/linter src tests
vendor/bin/parallel-lint src tests

cs: vendor
vendor/bin/codesniffer src tests
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"symfony/config": "^6.0"
},
"require-dev": {
"contributte/qa": "^0.2.0",
"doctrine/orm": "^2.8",
"mockery/mockery": "^1.4",
"nette/application": "^3.1.0",
Expand All @@ -36,7 +37,7 @@
"nette/robot-loader": "^3.4.0|~4.0.0",
"nette/tester": "^2.3.1",
"ninjify/nunjuck": "^0.3.0",
"ninjify/qa": "^0.13",
"php-parallel-lint/php-parallel-lint": "^1.3",
"phpstan/phpstan": "^1.8",
"phpstan/phpstan-deprecation-rules": "^1.0",
"phpstan/phpstan-nette": "^1.0",
Expand Down
2 changes: 1 addition & 1 deletion ruleset.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<ruleset>
<rule ref="./vendor/ninjify/coding-standard/contributte.xml">
<rule ref="./vendor/contributte/qa/ruleset-8.0.xml">
<exclude name="SlevomatCodingStandard.Classes.SuperfluousAbstractClassNaming.SuperfluousSuffix" />
<exclude name="SlevomatCodingStandard.Classes.SuperfluousInterfaceNaming.SuperfluousSuffix" />
<exclude name="SlevomatCodingStandard.Classes.RequireMultiLineMethodSignature.RequiredMultiLineSignature" />
Expand Down

0 comments on commit 3750937

Please sign in to comment.