Skip to content

Commit 883499e

Browse files
authored
Merge pull request #88 from fschmtt/phpstan-deprecation-rules
Require phpstan/phpstan-deprecation-rules
2 parents f6870d6 + d707f1e commit 883499e

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

composer.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"phpstan/phpstan": "^1.10",
1414
"symplify/easy-coding-standard": "^11.1",
1515
"ramsey/uuid": "^4.7",
16-
"phpunit/phpunit": "^10"
16+
"phpunit/phpunit": "^10",
17+
"phpstan/phpstan-deprecation-rules": "^1.1"
1718
},
1819
"autoload": {
1920
"psr-4": {

phpstan.neon

+4-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,7 @@ parameters:
44
paths:
55
- src
66
- tests
7-
- examples
7+
- examples
8+
9+
includes:
10+
- vendor/phpstan/phpstan-deprecation-rules/rules.neon

src/Resource/Resource.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@
66

77
use Fschmtt\Keycloak\Http\CommandExecutor;
88
use Fschmtt\Keycloak\Http\QueryExecutor;
9-
use PHPUnit\Framework\Attributes\IgnoreClassForCodeCoverage;
109

11-
#[IgnoreClassForCodeCoverage(self::class)]
10+
/**
11+
* @codeCoverageIgnore
12+
*/
1213
abstract class Resource
1314
{
1415
public function __construct(

0 commit comments

Comments
 (0)