Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit af34b8d

Browse files
committedDec 2, 2023
Add support template types
1 parent eee8eb2 commit af34b8d

File tree

115 files changed

+1679
-381
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

115 files changed

+1679
-381
lines changed
 

‎.github/workflows/ci.yml

+26
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
- ubuntu-20.04
1616
- windows-2019
1717
php:
18+
- 8.3
1819
- 8.2
1920
- 8.1
2021
- 8.0
@@ -29,3 +30,28 @@ jobs:
2930
coverage: xdebug
3031
- run: composer install
3132
- run: vendor/bin/phpunit --coverage-text
33+
PHPStan:
34+
name: PHPStan (PHP ${{ matrix.php }} on ${{ matrix.os }})
35+
runs-on: ${{ matrix.os }}
36+
strategy:
37+
fail-fast: false
38+
matrix:
39+
os:
40+
- ubuntu-20.04
41+
- windows-2019
42+
php:
43+
- 8.3
44+
- 8.2
45+
- 8.1
46+
- 8.0
47+
- 7.4
48+
- 7.3
49+
- 7.2
50+
steps:
51+
- uses: actions/checkout@v3
52+
- uses: shivammathur/setup-php@v2
53+
with:
54+
php-version: ${{ matrix.php }}
55+
coverage: none
56+
- run: composer install
57+
- run: vendor/bin/phpstan

‎composer.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,13 @@
2121
],
2222
"require": {
2323
"php": ">=7.0.0",
24-
"react/promise": "^3 || ~2.2"
24+
"react/promise": "^3"
2525
},
2626
"require-dev": {
2727
"satooshi/php-coveralls": "~1.0",
2828
"phpunit/phpunit": "^8.5 || ^9",
29-
"react/event-loop": "^1.0 || ^0.5 || ^0.4.2"
29+
"react/event-loop": "^1.0 || ^0.5 || ^0.4.2",
30+
"phpstan/phpstan": "^1.10"
3031
},
3132
"suggest": {
3233
"react/event-loop": "Used for scheduling async operations"

0 commit comments

Comments
 (0)
Please sign in to comment.