Skip to content

Commit a6bf109

Browse files
authored
Merge pull request #57 from reactphp-parallel/4.x-ensure-void-returntype-translates-to-null
Ensure void return type translates to null
2 parents c63cc86 + 4de9441 commit a6bf109

File tree

5 files changed

+3329
-2016
lines changed

5 files changed

+3329
-2016
lines changed

Makefile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,11 @@ cs: ## Check the code for code style issues
4646
stan: ## Run static analysis (PHPStan)
4747
$(DOCKER_RUN) vendor/bin/phpstan analyse src --ansi -c ./etc/qa/phpstan.neon
4848

49-
psalm: ## Run static analysis (Psalm)
50-
$(DOCKER_RUN) vendor/bin/psalm --threads=$(THREADS) --shepherd --stats --config=./etc/qa/psalm.xml
51-
5249
composer-require-checker: ## Ensure we require every package used in this package directly
5350
$(DOCKER_RUN) vendor/bin/composer-require-checker --ignore-parse-errors --ansi -vvv --config-file=./etc/qa/composer-require-checker.json
5451

5552
composer-unused: ## Ensure we don't require any package we don't use in this package directly
56-
$(DOCKER_RUN) vendor/bin/composer-unused --ansi
53+
$(DOCKER_RUN) vendor/bin/composer-unused --ansi --configuration=./etc/qa/composer-unused.php
5754

5855
composer-install: ## Install dependencies
5956
$(DOCKER_RUN) composer install --no-progress --ansi --no-interaction --prefer-dist -o

composer.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,13 @@
1313
"php": "^8.1",
1414
"ext-parallel": "*",
1515
"moneyphp/money": "^3.2.1 || ^4.0.0",
16-
"react-parallel/contracts": "^2@dev",
17-
"react-parallel/event-loop": "^2@dev",
16+
"react-parallel/contracts": "^2.0.0",
17+
"react-parallel/event-loop": "^2.0.0",
1818
"react/event-loop": "^1.5",
1919
"react/promise": "^2.9 || ^3.1",
2020
"wyrihaximus/async-test-utilities": "^5 || ^7.2",
2121
"wyrihaximus/pool-info": "^1.1 || ^2.0"
2222
},
23-
"require-dev": {},
2423
"autoload": {
2524
"psr-4": {
2625
"ReactParallel\\Tests\\": "src/"

0 commit comments

Comments
 (0)