Skip to content

Commit

Permalink
Merge pull request #57 from reactphp-parallel/4.x-ensure-void-returnt…
Browse files Browse the repository at this point in the history
…ype-translates-to-null

Ensure void return type translates to null
  • Loading branch information
WyriHaximus authored Feb 9, 2025
2 parents c63cc86 + 4de9441 commit a6bf109
Show file tree
Hide file tree
Showing 5 changed files with 3,329 additions and 2,016 deletions.
5 changes: 1 addition & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,11 @@ cs: ## Check the code for code style issues
stan: ## Run static analysis (PHPStan)
$(DOCKER_RUN) vendor/bin/phpstan analyse src --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

composer-require-checker: ## Ensure we require every package used in this package directly
$(DOCKER_RUN) vendor/bin/composer-require-checker --ignore-parse-errors --ansi -vvv --config-file=./etc/qa/composer-require-checker.json

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

composer-install: ## Install dependencies
$(DOCKER_RUN) composer install --no-progress --ansi --no-interaction --prefer-dist -o
Expand Down
5 changes: 2 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,13 @@
"php": "^8.1",
"ext-parallel": "*",
"moneyphp/money": "^3.2.1 || ^4.0.0",
"react-parallel/contracts": "^2@dev",
"react-parallel/event-loop": "^2@dev",
"react-parallel/contracts": "^2.0.0",
"react-parallel/event-loop": "^2.0.0",
"react/event-loop": "^1.5",
"react/promise": "^2.9 || ^3.1",
"wyrihaximus/async-test-utilities": "^5 || ^7.2",
"wyrihaximus/pool-info": "^1.1 || ^2.0"
},
"require-dev": {},
"autoload": {
"psr-4": {
"ReactParallel\\Tests\\": "src/"
Expand Down
Loading

0 comments on commit a6bf109

Please sign in to comment.