Skip to content

Commit

Permalink
Use stubs from stubs package
Browse files Browse the repository at this point in the history
  • Loading branch information
WyriHaximus committed Jan 10, 2025
1 parent e970d8c commit 4925aca
Show file tree
Hide file tree
Showing 10 changed files with 1,302 additions and 1,532 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
9 changes: 5 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,16 @@
}
],
"require": {
"php": "^8.1",
"php": "^8.2",
"ext-parallel": "*",
"react-parallel/event-loop": "^2@dev",
"react/event-loop": "^1.5",
"react/promise": "^2.9 || ^3.1",
"react/promise": "^3.1",
"wyrihaximus/constants": "^1.6"
},
"require-dev": {
"wyrihaximus/async-test-utilities": "^5 || ^7.2",
"react-parallel/stubs": "^1.2",
"wyrihaximus/async-test-utilities": "^7.2",
"wyrihaximus/ticking-promise": "^3"
},
"autoload": {
Expand All @@ -42,7 +43,7 @@
"infection/extension-installer": true
},
"platform": {
"php": "8.1.13"
"php": "8.2.13"
},
"sort-packages": true
},
Expand Down
Loading

0 comments on commit 4925aca

Please sign in to comment.