Skip to content

Commit 313d6a2

Browse files
committed
Split github actions, Add a phpstan lvl 6, validate cs-fixer, validate phpstan lvl3, add rector action, upgrade php 8.2 with rector, validate cs-fixer, update infection
1 parent 81f558d commit 313d6a2

27 files changed

+1634
-1215
lines changed

.github/workflows/quality.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535
with:
3636
args: --prefer-dist
3737
php_version: '8.2'
38+
php_extensions: zip
3839

3940
- name: Run tests & generate Coverage
4041
run: bin/phpunit --configuration=phpunit.xml tests --coverage-html var/coverage

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
/.idea/
33
bin/
44
.php-cs-fixer.cache
5+
.phpunit.result.cache

composer.json

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,21 @@
1616
"ext-json": "*",
1717
"nikic/php-parser": "^4.10",
1818
"symfony/config": "^5.2",
19-
"php-etl/configurator-contracts": "^0.5.0",
20-
"php-etl/satellite-toolbox": "^0.3.0",
21-
"php-etl/packaging-contracts": "^0.1.0"
19+
"php-etl/configurator-contracts": "^0.6@dev",
20+
"php-etl/satellite-toolbox": "^0.4@dev",
21+
"php-etl/packaging-contracts": "^0.2@dev"
2222
},
2323
"require-dev": {
2424
"symfony/yaml": "^5.2",
2525
"adlawson/vfs": "dev-develop",
26-
"phpunit/phpunit": "^9.0",
27-
"php-etl/phpunit-extension": "^0.4.0",
28-
"php-etl/spreadsheet-flow": "^0.1.0",
29-
"php-etl/bucket-contracts": "^0.1.0",
30-
"php-etl/pipeline-contracts": "^0.3.0",
26+
"phpunit/phpunit": "^9.5 || ^10.0",
27+
"php-etl/phpunit-extension": "^0.5@dev",
28+
"php-etl/spreadsheet-flow": "^0.2@dev",
29+
"php-etl/bucket-contracts": "^0.2@dev",
30+
"php-etl/pipeline-contracts": "^0.4@dev",
3131
"friendsofphp/php-cs-fixer": "^3.0",
3232
"phpstan/phpstan": "^1.10",
33+
"infection/infection": "^0.26.18",
3334
"rector/rector": "^0.15"
3435
},
3536
"autoload": {
@@ -53,7 +54,8 @@
5354
"config": {
5455
"bin-dir": "bin",
5556
"allow-plugins": {
56-
"php-http/discovery": true
57+
"php-http/discovery": true,
58+
"infection/extension-installer": true
5759
}
5860
}
5961
}

0 commit comments

Comments
 (0)