Skip to content

Commit c6ed8a3

Browse files
authored
Merge pull request #6 from php-etl/feature/update-contracts
Updated php-etl contract versions
2 parents 6fe5ec6 + d570ced commit c6ed8a3

17 files changed

+230
-172
lines changed

.github/workflows/infection.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ jobs:
2323

2424
- name: Infection
2525
run: |
26-
wget -q https://github.com/infection/infection/releases/download/0.26.18/infection.phar
27-
wget -q https://github.com/infection/infection/releases/download/0.26.18/infection.phar.asc
26+
wget -q https://github.com/infection/infection/releases/download/0.27.0/infection.phar
27+
wget -q https://github.com/infection/infection/releases/download/0.27.0/infection.phar.asc
2828
chmod +x infection.phar
2929
./infection.phar
3030

.github/workflows/phpstan-5.yaml

Lines changed: 0 additions & 23 deletions
This file was deleted.

.github/workflows/phpstan-6.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: PHPStan level 6
22
on: push
33
jobs:
4-
phpstan:
4+
phpstan-6:
55
runs-on: ubuntu-latest
66
steps:
77
- uses: actions/checkout@v3

.github/workflows/phpstan-7.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: PHPStan level 7
22
on: push
33
jobs:
4-
phpstan:
4+
phpstan-7:
55
runs-on: ubuntu-latest
66
steps:
77
- uses: actions/checkout@v3

.github/workflows/phpstan-8.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: PHPStan level 8
22
on: push
33
jobs:
4-
phpstan:
4+
phpstan-8:
55
runs-on: ubuntu-latest
66
steps:
77
- uses: actions/checkout@v3

.github/workflows/quality.yaml

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Quality (PHPStan lvl 4)
1+
name: Quality (PHPStan lvl 5)
22
on: push
33
jobs:
44
cs-fixer:
@@ -17,20 +17,19 @@ jobs:
1717
phpstan:
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: actions/checkout@v3
21-
- uses: actions/cache@v3
22-
with:
23-
path: '**/vendor'
24-
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
25-
restore-keys: |
26-
${{ runner.os }}-composer-
27-
- uses: php-actions/composer@v6
28-
with:
29-
args: --prefer-dist
30-
php_version: '8.2'
31-
32-
- name: PHPStan
33-
uses: php-actions/phpstan@v3
34-
with:
35-
path: src/
36-
level: 4
20+
- uses: actions/checkout@v3
21+
- uses: actions/cache@v3
22+
with:
23+
path: '**/vendor'
24+
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
25+
restore-keys: |
26+
${{ runner.os }}-composer-
27+
- uses: php-actions/composer@v6
28+
with:
29+
args: --prefer-dist
30+
php_version: '8.2'
31+
- name: PHPStan
32+
uses: php-actions/phpstan@v3
33+
with:
34+
path: src/
35+
level: 5

composer.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,25 +18,26 @@
1818
],
1919
"require": {
2020
"php": "^8.2",
21-
"php-etl/pipeline-contracts": "0.4.*",
21+
"php-etl/pipeline-contracts": "0.5.*",
2222
"psr/log": "^3.0",
2323
"nyholm/psr7": "^1.5",
2424
"php-etl/bucket": "*",
2525
"php-etl/magento2-api-client": "^0.1.0",
2626
"psr/simple-cache": "^3.0",
27-
"php-etl/mapping-contracts": "0.4.*"
27+
"php-etl/mapping-contracts": "0.4.*",
28+
"php-etl/bucket-contracts": "0.3.*"
2829
},
2930
"minimum-stability": "dev",
3031
"prefer-stable": true,
3132
"extra": {
3233
"branch-alias": {
33-
"dev-main": "0.2.x-dev"
34+
"dev-main": "0.3.x-dev"
3435
}
3536
},
3637
"require-dev": {
3738
"phpunit/phpunit": "^10.0",
38-
"php-etl/phpunit-extension": "*",
39-
"rector/rector": "^0.15.24"
39+
"php-etl/phpunit-extension": "0.7.*",
40+
"rector/rector": "^0.15"
4041
},
4142
"config": {
4243
"bin-dir": "bin",

0 commit comments

Comments
 (0)