Skip to content

Commit

Permalink
Fix and lock php-cs-fixer minor version
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosas committed Jan 4, 2024
1 parent 4954eeb commit b97f8e6
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 11 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"phpstan/phpstan": "^1.3"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.0",
"kubawerlos/php-cs-fixer-custom-fixers": "^3.16",
"friendsofphp/php-cs-fixer": "3.46",
"kubawerlos/php-cs-fixer-custom-fixers": "3.18",
"phpunit/phpunit": "^9.0",
"vimeo/psalm": "^4.0 || ^5.0"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
use PhpParser\Node;
use PHPStan\Analyser\Scope;
use PHPStan\Node\InClassNode;
use PHPStan\ShouldNotHappenException;

trait MethodTagExtractor
{
Expand All @@ -15,7 +16,7 @@ public function getNodeType(): string

/**
* @return array<int, mixed>
* @throws \PHPStan\ShouldNotHappenException
* @throws ShouldNotHappenException
*/
protected function extractNodeClassNames(Node $node, Scope $scope): array
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
use PhpParser\Node;
use PHPStan\Analyser\Scope;
use PHPStan\Node\InClassNode;
use PHPStan\ShouldNotHappenException;

trait MixinTagExtractor
{
Expand All @@ -15,7 +16,7 @@ public function getNodeType(): string

/**
* @return array<int, mixed>
* @throws \PHPStan\ShouldNotHappenException
* @throws ShouldNotHappenException
*/
protected function extractNodeClassNames(Node $node, Scope $scope): array
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
use PhpParser\Node;
use PHPStan\Analyser\Scope;
use PHPStan\Node\InClassNode;
use PHPStan\ShouldNotHappenException;

trait PropertyTagExtractor
{
Expand All @@ -15,7 +16,7 @@ public function getNodeType(): string

/**
* @return array<int, mixed>
* @throws \PHPStan\ShouldNotHappenException
* @throws ShouldNotHappenException
*/
protected function extractNodeClassNames(Node $node, Scope $scope): array
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
use PhpParser\Node;
use PHPStan\Analyser\Scope;
use PHPStan\Node\InClassMethodNode;
use PHPStan\ShouldNotHappenException;

trait ParamTagExtractor
{
Expand All @@ -14,9 +15,9 @@ public function getNodeType(): string
}

/**
* @param InClassMethodNode $node
* @param InClassMethodNode $node
* @return array<int, mixed>
* @throws \PHPStan\ShouldNotHappenException
* @throws ShouldNotHappenException
*/
protected function extractNodeClassNames(Node $node, Scope $scope): array
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
use PHPStan\Analyser\Scope;
use PHPStan\Node\InClassMethodNode;
use PHPStan\PhpDoc\Tag\ReturnTag;
use PHPStan\ShouldNotHappenException;

trait ReturnTagExtractor
{
Expand All @@ -15,9 +16,9 @@ public function getNodeType(): string
}

/**
* @param InClassMethodNode $node
* @param InClassMethodNode $node
* @return array<int, mixed>
* @throws \PHPStan\ShouldNotHappenException
* @throws ShouldNotHappenException
*/
protected function extractNodeClassNames(Node $node, Scope $scope): array
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
use PhpParser\Node;
use PHPStan\Analyser\Scope;
use PHPStan\PhpDoc\Tag\ThrowsTag;
use PHPStan\ShouldNotHappenException;

trait ThrowsTagExtractor
{
Expand All @@ -15,7 +16,7 @@ public function getNodeType(): string

/**
* @return array<int, mixed>
* @throws \PHPStan\ShouldNotHappenException
* @throws ShouldNotHappenException
*/
protected function extractNodeClassNames(Node $node, Scope $scope): array
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use PhpParser\Node;
use PHPStan\Analyser\Scope;
use PHPStan\ShouldNotHappenException;

trait VarTagExtractor
{
Expand All @@ -14,7 +15,7 @@ public function getNodeType(): string

/**
* @return array<int, mixed>
* @throws \PHPStan\ShouldNotHappenException
* @throws ShouldNotHappenException
*/
protected function extractNodeClassNames(Node $node, Scope $scope): array
{
Expand Down

0 comments on commit b97f8e6

Please sign in to comment.