Skip to content

Commit

Permalink
[2.x] Improve template types
Browse files Browse the repository at this point in the history
  • Loading branch information
WyriHaximus committed Feb 1, 2025
1 parent 94cf9c8 commit 69bd406
Show file tree
Hide file tree
Showing 10 changed files with 3,677 additions and 2,221 deletions.
3 changes: 0 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ cs: ## Check the code for code style issues
stan: ## Run static analysis (PHPStan)
$(DOCKER_RUN) vendor/bin/phpstan analyse src tests --ansi -c ./etc/qa/phpstan.neon

psalm: ## Run static analysis (Psalm)
$(DOCKER_RUN) vendor/bin/psalm --threads=$(THREADS) --shepherd --stats --config=./etc/qa/psalm.xml

unit-testing: ## Run tests
$(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
$(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
Expand Down
21 changes: 11 additions & 10 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,22 @@
}
],
"require": {
"php": "^8.1",
"react-parallel/contracts": "^2@dev",
"php": "^8.2",
"react-parallel/contracts": "dev-ensure-void-returntype-translates-to-null",
"react/async": "^4.2",
"react/event-loop": "^1.5",
"react/promise": "^2 || ^3.1",
"wyrihaximus/pool-info": "^1.1 || ^2"
"react/promise": "^3.2",
"wyrihaximus/pool-info": "^2"
},
"require-dev": {
"ext-parallel": "*",
"moneyphp/money": "^3.2",
"react-parallel/event-loop": "^2@dev",
"react-parallel/infinite-pool": "^3@dev",
"react-parallel/pool-tests": "^4@dev",
"react-parallel/runtime": "^3@dev",
"wyrihaximus/async-test-utilities": "^5 || ^7.2"
"react-parallel/event-loop": "dev-2.x-ensure-void-returntype-translates-to-null",
"react-parallel/infinite-pool": "dev-3.x-template-types",
"react-parallel/pool-tests": "dev-4.x-ensure-void-returntype-translates-to-null",
"react-parallel/runtime": "dev-3.x-use-stubs-from-stubs-package",
"react-parallel/stubs": "^1.2",
"wyrihaximus/async-test-utilities": "^7.2"
},
"minimum-stability": "dev",
"prefer-stable": true,
Expand All @@ -47,7 +48,7 @@
"ocramius/package-versions": true
},
"platform": {
"php": "8.1.13"
"php": "8.2.13"
},
"sort-packages": true
},
Expand Down
Loading

0 comments on commit 69bd406

Please sign in to comment.