File tree Expand file tree Collapse file tree 8 files changed +2687
-17
lines changed Expand file tree Collapse file tree 8 files changed +2687
-17
lines changed Original file line number Diff line number Diff line change 1212 strategy :
1313 matrix :
1414 php-versions :
15- - ' 8.1'
1615 - ' 8.2'
1716 - ' 8.3'
17+ - ' 8.4'
1818
1919 steps :
2020 - uses : actions/checkout@v3
@@ -30,17 +30,44 @@ jobs:
3030 - name : Install dependencies
3131 run : composer install --prefer-dist --no-progress
3232
33+ - name : Run tests
34+ run : composer test
35+
36+ php-cs-fixer :
37+ name : Run PHP CS Fixer
38+ runs-on : ubuntu-latest
39+
40+ steps :
41+ - uses : actions/checkout@v3
42+
43+ - name : Setup PHP
44+ uses : shivammathur/setup-php@v2
45+ with :
46+ php-version : ' 8.2'
47+
3348 - name : Install PHP CS Fixer
3449 run : composer install --prefer-dist --no-progress --working-dir=tools/php-cs-fixer
3550
3651 - name : Run PHP CS Fixer
3752 run : composer cs-check
3853
54+ phpstan :
55+ name : Run PHPStan
56+ runs-on : ubuntu-latest
57+
58+ steps :
59+ - uses : actions/checkout@v3
60+
61+ - name : Setup PHP
62+ uses : shivammathur/setup-php@v2
63+ with :
64+ php-version : ' 8.4'
65+
66+ - name : Install dependencies
67+ run : composer install --prefer-dist --no-progress
68+
3969 - name : Install PHPStan
4070 run : composer install --prefer-dist --no-progress --working-dir=tools/phpstan
4171
4272 - name : Run PHPStan
4373 run : composer phpstan
44-
45- - name : Run tests
46- run : composer test
Original file line number Diff line number Diff line change 1- .idea
2- .phpunit.cache
3- .php-cs-fixer.cache
41.phpstan-cache
5- composer.lock
2+ /.php-cs-fixer.cache
3+ /.phpunit.cache
4+ /composer.lock
65vendor
Original file line number Diff line number Diff line change 22
33## Not released yet
44
5+ * Drop support of PHP 8.1
6+ * Add support of PHP 8.4
7+
58## 0.2.0 (2024-10-02)
69
710* Remove mb_string extension requirement
Original file line number Diff line number Diff line change 2121 }
2222 },
2323 "require" : {
24- "php" : " >=8.1"
24+ "php" : " >=8.2"
25+ },
26+ "require-dev" : {
27+ "symfony/phpunit-bridge" : " ^6.4"
2528 },
2629 "config" : {
27- "sort-packages" : true ,
2830 "platform" : {
29- "php" : " 8.1.19"
30- }
31- },
32- "require-dev" : {
33- "symfony/phpunit-bridge" : " ^6.3.1"
31+ "php" : " 8.2"
32+ },
33+ "sort-packages" : true
3434 },
3535 "scripts" : {
3636 "test" : " vendor/bin/simple-phpunit" ,
Original file line number Diff line number Diff line change 11{
22 "require" : {
3- "friendsofphp/php-cs-fixer" : " ^3.30"
3+ "friendsofphp/php-cs-fixer" : " ^3.64"
4+ },
5+ "config" : {
6+ "bump-after-update" : true ,
7+ "platform" : {
8+ "php" : " 8.2"
9+ },
10+ "sort-packages" : true
411 }
512}
You can’t perform that action at this time.
0 commit comments