Skip to content

Commit 0641e9c

Browse files
authored
Merge pull request #56 from reactphp-parallel/2.x-improve-template-types
[2.x] Improve template types
2 parents 94cf9c8 + c0cc530 commit 0641e9c

File tree

10 files changed

+3444
-1973
lines changed

10 files changed

+3444
-1973
lines changed

Makefile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,6 @@ cs: ## Check the code for code style issues
4646
stan: ## Run static analysis (PHPStan)
4747
$(DOCKER_RUN) vendor/bin/phpstan analyse src tests --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
unit-testing: ## Run tests
5350
$(DOCKER_RUN) vendor/bin/phpunit --colors=always -c ./etc/qa/phpunit.xml --coverage-text --coverage-html ./var/tests-unit-coverage-html --coverage-clover ./var/tests-unit-clover-coverage.xml
5451
$(DOCKER_RUN) test -n "$(COVERALLS_REPO_TOKEN)" && test -n "$(COVERALLS_RUN_LOCALLY)" && test -f ./var/tests-unit-clover-coverage.xml && vendor/bin/php-coveralls -v --coverage_clover ./build/logs/clover.xml --json_path ./var/tests-unit-clover-coverage-upload.json || true

composer.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
],
1212
"require": {
1313
"php": "^8.1",
14-
"react-parallel/contracts": "^2@dev",
14+
"react-parallel/contracts": "^2.0.0",
1515
"react/async": "^4.2",
1616
"react/event-loop": "^1.5",
1717
"react/promise": "^2 || ^3.1",
@@ -20,10 +20,11 @@
2020
"require-dev": {
2121
"ext-parallel": "*",
2222
"moneyphp/money": "^3.2",
23-
"react-parallel/event-loop": "^2@dev",
24-
"react-parallel/infinite-pool": "^3@dev",
25-
"react-parallel/pool-tests": "^4@dev",
26-
"react-parallel/runtime": "^3@dev",
23+
"react-parallel/event-loop": "^2.0.0",
24+
"react-parallel/infinite-pool": "^3.0.0",
25+
"react-parallel/pool-tests": "^4.0.0",
26+
"react-parallel/runtime": "^3.0.0",
27+
"react-parallel/stubs": "^1.2",
2728
"wyrihaximus/async-test-utilities": "^5 || ^7.2"
2829
},
2930
"minimum-stability": "dev",

0 commit comments

Comments
 (0)