Skip to content

Commit 79db8a6

Browse files
committed
Ensure void return type translates to null
1 parent c63cc86 commit 79db8a6

File tree

5 files changed

+3520
-2163
lines changed

5 files changed

+3520
-2163
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: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,12 @@
1010
}
1111
],
1212
"require": {
13-
"php": "^8.1",
13+
"php": "^8.2",
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": "dev-ensure-void-returntype-translates-to-null",
17+
"react-parallel/event-loop": "dev-2.x-ensure-void-returntype-translates-to-null",
18+
"react-parallel/stubs": "^1.2",
1819
"react/event-loop": "^1.5",
1920
"react/promise": "^2.9 || ^3.1",
2021
"wyrihaximus/async-test-utilities": "^5 || ^7.2",
@@ -34,7 +35,7 @@
3435
"infection/extension-installer": true
3536
},
3637
"platform": {
37-
"php": "8.1.13"
38+
"php": "8.2.13"
3839
},
3940
"sort-packages": true
4041
},

0 commit comments

Comments
 (0)