Skip to content
This repository has been archived by the owner on Jan 11, 2024. It is now read-only.

Commit

Permalink
bump Symplify deps
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Aug 16, 2021
1 parent 4f4c9e7 commit 428ff36
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 29 deletions.
17 changes: 11 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,19 @@
"description": "PHPStan rules for Rector projects - with focus on static reflection, constant re-use and Rector design patterns",
"require": {
"php": ">=8.0",
"symplify/phpstan-rules": "^9.3.22",
"phpstan/phpstan": "^0.12.86",
"symplify/phpstan-rules": "^9.4.30",
"phpstan/phpstan": "^0.12.94",
"nette/utils": "^3.2"
},
"require-dev": {
"symplify/easy-coding-standard": "^9.3.22",
"symplify/phpstan-extensions": "^9.3.22",
"symplify/easy-coding-standard": "^9.4.30",
"symplify/phpstan-extensions": "^9.4.30",
"symplify/symfony-php-config": "^9.4.30",
"phpstan/extension-installer": "^1.1",
"phpunit/phpunit": "^9.5",
"rector/rector-src": "^0.11.7"
"rector/rector-src": "dev-main",
"symfony/console": "5.3.x-dev",
"symfony/dependency-injection": "5.3.x-dev"
},
"autoload": {
"psr-4": {
Expand All @@ -37,5 +40,7 @@
"check-cs": "vendor/bin/ecs check --ansi",
"fix-cs": "vendor/bin/ecs check --fix --ansi",
"phpstan": "vendor/bin/phpstan analyse --ansi --error-format symplify"
}
},
"minimum-stability": "dev",
"prefer-stable": true
}
23 changes: 0 additions & 23 deletions config/rules.neon
Original file line number Diff line number Diff line change
Expand Up @@ -44,29 +44,6 @@ services:
allowedChainTypes:
- Stringy\Stringy

-
class: Symplify\PHPStanRules\Rules\NoInheritanceRule
tags: [phpstan.rules.rule]
arguments:
allowedParentTypes:
# php-parser
- PhpParser\NodeAbstract

# phpdoc parser
- PHPStan\PhpDocParser\Parser\PhpDocParser

# phpstan
- PHPStan\Type\Type
- Symplify\PHPStanRules\Rules\AbstractSymplifyRule

- Rector\PostRector\Rector\AbstractPostRector
# value objects
- Rector\Defluent\ValueObject\AbstractRootExpr
allowedDirectParentTypes:
- Rector\Core\Rector\AbstractRector
- Rector\Core\Rector\AbstractTemporaryRector
- Rector\PhpSpecToPHPUnit\Rector\AbstractPhpSpecToPHPUnitRector

-
class: Symplify\PHPStanRules\Rules\ServiceAndValueObjectHaveSameStartsRule
tags: [phpstan.rules.rule]
Expand Down

0 comments on commit 428ff36

Please sign in to comment.