Skip to content

Commit 59b65b2

Browse files
authoredApr 25, 2022
Php81 (#10)
* Use php8 in test matrix * Make library php 8 compatible * Remove lock file * Remove caching Co-authored-by: Christian Blank <christian.blank@check24.de>
1 parent 272b710 commit 59b65b2

File tree

5 files changed

+23
-3672
lines changed

5 files changed

+23
-3672
lines changed
 

‎.github/workflows/ci.yml

+1-14
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ jobs:
1313
strategy:
1414
matrix:
1515
operating-system: [ ubuntu-latest ]
16-
php: [ '7.4' ]
17-
#php: [ '7.4', '8.0' ]
16+
php: [ '7.4', '8.0', '8.1' ]
1817

1918
name: PHP ${{ matrix.php }}
2019

@@ -32,11 +31,6 @@ jobs:
3231
- name: Validate composer.json and composer.lock
3332
run: composer validate
3433

35-
- name: Get Composer Cache Directory
36-
id: composer-cache
37-
run: |
38-
echo "::set-output name=dir::$(composer config cache-files-dir)"
39-
4034
- name: Install dependencies
4135
run: composer install --prefer-dist --no-progress
4236

@@ -48,10 +42,3 @@ jobs:
4842

4943
- name: Run codestyle checker
5044
run: composer cs-check
51-
52-
- uses: actions/cache@v1
53-
with:
54-
path: ${{ steps.composer-cache.outputs.dir }}
55-
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
56-
restore-keys: |
57-
${{ runner.os }}-composer-

‎.gitignore

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
.idea/
22
/vendor/
3-
/data/
3+
/data/
4+
5+
composer.lock

‎composer.json

+9-9
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
],
1414
"minimum-stability": "beta",
1515
"require-dev": {
16-
"phpunit/phpunit": "^9.4",
17-
"pestphp/pest": "^0.3.9",
18-
"phpstan/phpstan": "^0.12.51",
19-
"phpstan/phpstan-deprecation-rules": "^0.12.4",
20-
"phpstan/phpstan-phpunit": "^0.12.16",
21-
"squizlabs/php_codesniffer": "^3.5.5"
16+
"phpunit/phpunit": "^9.5",
17+
"pestphp/pest": "^v1.21.2",
18+
"phpstan/phpstan": "^1.5.7",
19+
"phpstan/phpstan-deprecation-rules": "^1.0.0",
20+
"phpstan/phpstan-phpunit": "^1.1.1",
21+
"squizlabs/php_codesniffer": "^3.6.2"
2222
},
2323
"scripts": {
2424
"check": ["@analyze", "@test", "@cs-check"],
@@ -38,8 +38,8 @@
3838
}
3939
},
4040
"require": {
41-
"php": "^7.4",
42-
"fzaninotto/faker": "^1.9",
43-
"symfony/property-info": ">=4"
41+
"php": "^7.4 || ^8",
42+
"fakerphp/faker": "^v1.19.0",
43+
"symfony/property-info": "^v5.4 || ^v6.0"
4444
}
4545
}

0 commit comments

Comments
 (0)