Skip to content

Commit

Permalink
fix sniffs PSR12.Functions.ReturnTypeDeclaration:
Browse files Browse the repository at this point in the history
- SpaceBeforeColon
- SpaceBeforeReturnType
  • Loading branch information
gesinn-it-ilm committed Sep 27, 2024
1 parent e2cb8d4 commit b8da0c0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions .phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
<exclude name="MediaWiki.Classes.UnsortedUseStatements.UnsortedUse" />
<exclude name="MediaWiki.Commenting.MissingCovers.MissingCovers" />
<exclude name="PSR12.Functions.ReturnTypeDeclaration.SpaceBeforeColon" />
<exclude name="MediaWiki.PHPUnit.MockBoilerplate.returnValue" />
<exclude name="MediaWiki.PHPUnit.SetMethods.SetMethods" />
<exclude name="PSR12.Functions.ReturnTypeDeclaration.SpaceBeforeReturnType" />
<exclude name="Generic.Arrays.DisallowLongArraySyntax.Found" />
<exclude name="MediaWiki.PHPUnit.MockBoilerplate.ConstraintEqualTo" />
<exclude name="MediaWiki.WhiteSpace.SpaceyParenthesis.SingleSpaceAfterOpenParenthesis" />
Expand Down
2 changes: 1 addition & 1 deletion tests/phpunit/Integration/MwDBSQLStoreIntegrationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class MwDBSQLStoreIntegrationTest extends MwDBaseUnitTestCase {
/** @var RunnerFactory */
private $runnerFactory;

protected function setUp() :void {
protected function setUp(): void {
parent::setUp();

$this->pageCreator = UtilityFactory::getInstance()->newPageCreator();
Expand Down

0 comments on commit b8da0c0

Please sign in to comment.