Skip to content

Commit 9cf1f53

Browse files
authored
Merge pull request #62 from gsteel/dev-deps-upgrade
QA: Upgrade Dev Deps to Latest Possible
2 parents 58d19a4 + 41e1f9e commit 9cf1f53

File tree

12 files changed

+1697
-891
lines changed

12 files changed

+1697
-891
lines changed

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
/composer-require-checker.json export-ignore
99
/renovate.json export-ignore
1010
/.gitattributes export-ignore
11-
/infection.json.dist export-ignore
11+
/.mutation-tests.json export-ignore
1212
/phpcs.xml.dist export-ignore
1313
/phpunit.xml.dist export-ignore
1414
/psalm.xml export-ignore

.github/workflows/continuous-integration.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,41 @@ on:
66
branches:
77
tags:
88

9+
env:
10+
php_extensions: ctype,mbstring
11+
default_php: 8.2
12+
913
jobs:
1014
ci:
1115
uses: laminas/workflow-continuous-integration/.github/workflows/continuous-integration.yml@1.x
16+
17+
composer-require-checker:
18+
name: "Check for missing dependencies"
19+
runs-on: ubuntu-latest
20+
21+
steps:
22+
- uses: actions/checkout@v4.2.2
23+
- uses: shivammathur/setup-php@2.32.0
24+
25+
with:
26+
php-version: ${{ env.default_php }}
27+
ini-values: memory_limit=-1
28+
extensions: ${{ env.php_extensions }}
29+
- uses: ramsey/composer-install@3.0.0
30+
- run: composer global config bin-dir /usr/local/bin
31+
- run: composer global require -W maglnet/composer-require-checker
32+
- run: /usr/local/bin/composer-require-checker check
33+
34+
infection:
35+
name: "Mutation Tests"
36+
runs-on: ubuntu-latest
37+
steps:
38+
- uses: actions/checkout@v4.2.2
39+
- uses: shivammathur/setup-php@2.32.0
40+
with:
41+
php-version: ${{ env.default_php }}
42+
extensions: ${{ env.php_extensions }}
43+
coverage: xdebug
44+
ini-values: xdebug.mode=coverage
45+
- uses: ramsey/composer-install@3.0.0
46+
- run: vendor/bin/infection --configuration=.mutation-tests.json

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/.phpcs-cache
2-
/.phpunit.result.cache
2+
/.phpunit.cache
33
/docs/html/
44
/laminas-mkdoc-theme.tgz
55
/laminas-mkdoc-theme/

.laminas-ci.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"ignore_php_platform_requirements": {
3-
"8.4": true
4-
}
3+
"8.4": false
4+
},
5+
"backwardCompatibilityCheck": true
56
}
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@
1313
},
1414
"mutators": {
1515
"@default": true
16-
}
16+
},
17+
"minMsi": 80
1718
}

composer-require-checker.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

composer.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,11 @@
3434
"ext-mbstring": "*"
3535
},
3636
"require-dev": {
37-
"infection/infection": "^0.27.11",
37+
"infection/infection": "^0.29.8",
3838
"laminas/laminas-coding-standard": "~3.0.1",
39-
"maglnet/composer-require-checker": "^3.8.0",
40-
"phpunit/phpunit": "^9.6.22",
41-
"psalm/plugin-phpunit": "^0.19.0",
42-
"vimeo/psalm": "^5.26.1"
39+
"phpunit/phpunit": "^10.5.45",
40+
"psalm/plugin-phpunit": "^0.19.2",
41+
"vimeo/psalm": "^6.6.2"
4342
},
4443
"autoload": {
4544
"psr-4": {

0 commit comments

Comments
 (0)