Skip to content

Commit

Permalink
fixup! Init
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed May 26, 2024
1 parent 79c1569 commit 1507c8a
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 9 deletions.
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
# Type Perfect

[![Downloads](https://img.shields.io/packagist/dt/tomasvotruba/type-perfect.svg?style=flat-square)](https://packagist.org/packages/tomasvotruba/type-perfect/stats)
[![Downloads](https://img.shields.io/packagist/dt/rector/type-perfect.svg?style=flat-square)](https://packagist.org/packages/rector/type-perfect/stats)

Set of rules for PHPStan used by Symplify projects

- See [Rules Overview](docs/rules_overview.md)
Next level type declaration check PHPStan rules.

<br>

## Install

```bash
composer requiretomasvotruba/type-perfect --dev
composer require rector/type-perfect --dev
```

*Note: Make sure you use [`phpstan/extension-installer`](https://github.com/phpstan/extension-installer#usage) to load necessary service configs.*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ jobs:
- run: composer config --no-plugins allow-plugins.phpstan/extension-installer true

- run: composer require phpstan/phpstan phpstan/extension-installer --dev
- run: composer require tomasvotruba/type-perfect:dev-main --dev
- run: composer require rector/type-perfect:dev-main --dev


2 changes: 1 addition & 1 deletion build/target-repository/composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "tomasvotruba/type-perfect",
"name": "rector/type-perfect",
"type": "phpstan-extension",
"description": "Next level type declaration checks",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion build/target-repository/phpstan-for-tests.neon
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# this config is only for tests, it verifies all the rules are runnable
includes:
- vendor/tomasvotruba/type-perfect/config/rules.neon
- vendor/rector/type-perfect/config/rules.neon

parameters:
level: 4
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "tomasvotruba/type-perfect",
"name": "rector/type-perfect",
"type": "phpstan-extension",
"description": "Next level type declaration checks",
"license": "MIT",
Expand Down

0 comments on commit 1507c8a

Please sign in to comment.