Skip to content

Commit

Permalink
Merge pull request #645 from Ocramius/renovate/doctrine-coding-standa…
Browse files Browse the repository at this point in the history
…rd-11.x

Update dependency doctrine/coding-standard to v11
  • Loading branch information
Ocramius committed Dec 13, 2022
2 parents 48befae + d89fd3a commit 8d43e63
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 30 deletions.
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -25,7 +25,7 @@
"laminas/laminas-hydrator": "^4.10.0"
},
"require-dev": {
"doctrine/coding-standard": "^10.0.0",
"doctrine/coding-standard": "^11.0.0",
"phpbench/phpbench": "^1.2.7",
"phpunit/phpunit": "^9.5.27",
"psalm/plugin-phpunit": "^0.18.4",
Expand Down
51 changes: 26 additions & 25 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions tests/GeneratedHydratorTestAsset/BaseClass.php
Expand Up @@ -15,9 +15,7 @@ class BaseClass implements Base

protected string $protectedProperty = 'protectedPropertyDefault';

//phpcs:disable SlevomatCodingStandard.Classes.UnusedPrivateElements.UnusedProperty
private string $privateProperty = 'privatePropertyDefault';
//phpcs:enable

public function publicMethod(): string
{
Expand Down
2 changes: 0 additions & 2 deletions tests/GeneratedHydratorTestAsset/HydratedObject.php
Expand Up @@ -13,9 +13,7 @@ class HydratedObject

protected mixed $bar = 2;

//phpcs:disable SlevomatCodingStandard.Classes.UnusedPrivateElements.UnusedProperty
private mixed $baz = 3;
//phpcs:enable

/**
* Method to be disabled
Expand Down

0 comments on commit 8d43e63

Please sign in to comment.