Skip to content

Commit

Permalink
Merge pull request #41 from reactphp-parallel/2.x-template-types
Browse files Browse the repository at this point in the history
[2.x] Template types
  • Loading branch information
WyriHaximus authored Feb 10, 2025
2 parents a00a968 + fd602a6 commit 7056d55
Show file tree
Hide file tree
Showing 9 changed files with 3,413 additions and 2,040 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2020 reactphp-parallel
Copyright (c) 2025 reactphp-parallel

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

## License ##

Copyright 2024 [Cees-Jan Kiewiet](http://wyrihaximus.net/)
Copyright 2025 [Cees-Jan Kiewiet](http://wyrihaximus.net/)

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
Expand Down
11 changes: 4 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,13 @@
"require": {
"php": "^8.1",
"ext-parallel": "*",
"react-parallel/event-loop": "^2@dev",
"react-parallel/event-loop": "^2.0.0",
"react/event-loop": "^1.5",
"react/promise": "^2.11 || ^3.1",
"reactivex/rxphp": "^2.0.12",
"wyrihaximus/constants": "^1.6",
"wyrihaximus/react-awaitable-observable": "^1",
"wyrihaximus/react-event-loop-rx-scheduler-hook-up": "^0.1.1"
"react/promise": "^2.11 || ^3.1"
},
"require-dev": {
"wyrihaximus/async-test-utilities": "^5 || ^7.2",
"react-parallel/stubs": "^1.2",
"wyrihaximus/async-test-utilities": "^5 || ^7.3",
"wyrihaximus/ticking-promise": "^3"
},
"autoload": {
Expand Down
Loading

0 comments on commit 7056d55

Please sign in to comment.