Skip to content

Commit

Permalink
Merge pull request #62 from gsteel/dev-deps-upgrade
Browse files Browse the repository at this point in the history
QA: Upgrade Dev Deps to Latest Possible
  • Loading branch information
Ocramius authored Feb 17, 2025
2 parents 58d19a4 + 41e1f9e commit 9cf1f53
Show file tree
Hide file tree
Showing 12 changed files with 1,697 additions and 891 deletions.
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
/composer-require-checker.json export-ignore
/renovate.json export-ignore
/.gitattributes export-ignore
/infection.json.dist export-ignore
/.mutation-tests.json export-ignore
/phpcs.xml.dist export-ignore
/phpunit.xml.dist export-ignore
/psalm.xml export-ignore
Expand Down
35 changes: 35 additions & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,41 @@ on:
branches:
tags:

env:
php_extensions: ctype,mbstring
default_php: 8.2

jobs:
ci:
uses: laminas/workflow-continuous-integration/.github/workflows/continuous-integration.yml@1.x

composer-require-checker:
name: "Check for missing dependencies"
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4.2.2
- uses: shivammathur/setup-php@2.32.0

with:
php-version: ${{ env.default_php }}
ini-values: memory_limit=-1
extensions: ${{ env.php_extensions }}
- uses: ramsey/composer-install@3.0.0
- run: composer global config bin-dir /usr/local/bin
- run: composer global require -W maglnet/composer-require-checker
- run: /usr/local/bin/composer-require-checker check

infection:
name: "Mutation Tests"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.2.2
- uses: shivammathur/setup-php@2.32.0
with:
php-version: ${{ env.default_php }}
extensions: ${{ env.php_extensions }}
coverage: xdebug
ini-values: xdebug.mode=coverage
- uses: ramsey/composer-install@3.0.0
- run: vendor/bin/infection --configuration=.mutation-tests.json
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/.phpcs-cache
/.phpunit.result.cache
/.phpunit.cache
/docs/html/
/laminas-mkdoc-theme.tgz
/laminas-mkdoc-theme/
Expand Down
5 changes: 3 additions & 2 deletions .laminas-ci.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"ignore_php_platform_requirements": {
"8.4": true
}
"8.4": false
},
"backwardCompatibilityCheck": true
}
3 changes: 2 additions & 1 deletion infection.json.dist → .mutation-tests.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@
},
"mutators": {
"@default": true
}
},
"minMsi": 80
}
1 change: 0 additions & 1 deletion composer-require-checker.json

This file was deleted.

9 changes: 4 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,11 @@
"ext-mbstring": "*"
},
"require-dev": {
"infection/infection": "^0.27.11",
"infection/infection": "^0.29.8",
"laminas/laminas-coding-standard": "~3.0.1",
"maglnet/composer-require-checker": "^3.8.0",
"phpunit/phpunit": "^9.6.22",
"psalm/plugin-phpunit": "^0.19.0",
"vimeo/psalm": "^5.26.1"
"phpunit/phpunit": "^10.5.45",
"psalm/plugin-phpunit": "^0.19.2",
"vimeo/psalm": "^6.6.2"
},
"autoload": {
"psr-4": {
Expand Down
Loading

0 comments on commit 9cf1f53

Please sign in to comment.