Skip to content

Commit 3d7b6da

Browse files
authored
Merge pull request #279 from WyriHaximus/update-to-react-phpstan-extesion
Update ReactPHP PHPStan extension to upcoming v2
2 parents 33aed91 + 5b28eb3 commit 3d7b6da

File tree

4 files changed

+55
-34
lines changed

4 files changed

+55
-34
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ endif
3535
all: ## Runs everything ####
3636
@grep -E '^[a-zA-Z0-9_-]+:.*?## .*$$' $(MAKEFILE_LIST) | grep -v "####" | awk 'BEGIN {FS = ":.*?## "}; {printf "%s\n", $$1}' | xargs --open-tty $(MAKE)
3737

38+
3839
syntax-php: ## Lint PHP syntax
3940
$(DOCKER_RUN) vendor/bin/parallel-lint --exclude vendor .
4041

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"react/async": "^4.3.0",
1515
"react/event-loop": "^1.5.0",
1616
"react/promise": "^3.2.0",
17-
"wyrihaximus/phpstan-react": "^1",
17+
"wyrihaximus/phpstan-react": "dev-main as 2.0.0",
1818
"wyrihaximus/react-phpunit-run-tests-in-fiber": "dev-main as 3.0.0",
1919
"wyrihaximus/test-utilities": "dev-master as 7.0.0"
2020
},

composer.lock

Lines changed: 53 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

etc/qa/phpstan.neon

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,3 @@ parameters:
33
noExtends:
44
classesAllowedToBeExtended:
55
- WyriHaximus\AsyncTestUtilities\AsyncTestCase
6-
7-
includes:
8-
- ../../vendor/wyrihaximus/phpstan-react/phpstan-reactphp-rules.neon

0 commit comments

Comments
 (0)