Skip to content

Commit

Permalink
Upgrade to latest laminas/laminas-coding-standard version
Browse files Browse the repository at this point in the history
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
  • Loading branch information
boesing committed Oct 24, 2020
1 parent 1e82ed5 commit aee7cec
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
11 changes: 9 additions & 2 deletions composer.json
Expand Up @@ -37,7 +37,7 @@
"webmozart/assert": "^1.9"
},
"require-dev": {
"laminas/laminas-coding-standard": "^2.1",
"laminas/laminas-coding-standard": "dev-fix/generics as 2.1.1",
"phpspec/prophecy-phpunit": "^2.0",
"phpspec/prophecy": "^1.12",
"phpunit/phpunit": "^9.3",
Expand Down Expand Up @@ -77,5 +77,12 @@
},
"replace": {
"zendframework/zend-expressive-authentication": "^1.1.0"
}
},
"repositories": [
{
"type": "git",
"url": "git@github.com:geerteltink/laminas-coding-standard.git",
"no-api": true
}
]
}
6 changes: 1 addition & 5 deletions phpcs.xml
Expand Up @@ -17,9 +17,5 @@
<file>test</file>

<!-- Include all rules from Laminas Coding Standard -->
<rule ref="LaminasCodingStandard">
<exclude name="WebimpressCodingStandard.Namespaces.UnusedUseStatement" />
<exclude name="WebimpressCodingStandard.Commenting.TagWithType.InvalidTypeFormat" />
<exclude name="WebimpressCodingStandard.Commenting.TagWithType.InvalidParamName" />
</rule>
<rule ref="LaminasCodingStandard"/>
</ruleset>
1 change: 1 addition & 0 deletions test/UserRepository/PdoDatabaseFactoryTest.php
Expand Up @@ -132,6 +132,7 @@ public function getPdoInvalidConfig(): array
}

/**
* @param array<string,mixed> $pdoConfig
* @dataProvider getPdoInvalidConfig
*/
public function testInvokeWithInvalidConfig(array $pdoConfig): void
Expand Down

0 comments on commit aee7cec

Please sign in to comment.