Skip to content

Commit

Permalink
Merge pull request #162 from Roave/renovate/configure
Browse files Browse the repository at this point in the history
Configure Renovate, drop PHP 7.4 support
  • Loading branch information
Ocramius authored Oct 31, 2022
2 parents 4df131c + 400605a commit 02b452b
Show file tree
Hide file tree
Showing 18 changed files with 1,080 additions and 1,251 deletions.
55 changes: 0 additions & 55 deletions .github/workflows/coding-standards.yml

This file was deleted.

36 changes: 36 additions & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# See https://github.com/laminas/laminas-continuous-integration-action
# Generates a job matrix based on current dependencies and supported version
# ranges, then runs all those jobs
name: "Continuous Integration"

on:
pull_request:
push:

jobs:
matrix:
name: Generate job matrix
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.matrix.outputs.matrix }}
steps:
- name: Gather CI configuration
id: matrix
uses: laminas/[email protected]

qa:
name: QA Checks
needs: [ matrix ]
runs-on: ${{ matrix.operatingSystem }}
strategy:
fail-fast: false
matrix: ${{ fromJSON(needs.matrix.outputs.matrix) }}
steps:
- name: ${{ matrix.name }}
uses: laminas/[email protected]
env:
"GITHUB_TOKEN": ${{ secrets.GITHUB_TOKEN }}
"INFECTION_DASHBOARD_API_KEY": ${{ secrets.INFECTION_DASHBOARD_API_KEY }}
"STRYKER_DASHBOARD_API_KEY": ${{ secrets.STRYKER_DASHBOARD_API_KEY }}
with:
job: ${{ matrix.job }}
59 changes: 0 additions & 59 deletions .github/workflows/mutation-tests.yml

This file was deleted.

64 changes: 0 additions & 64 deletions .github/workflows/phpunit.yml

This file was deleted.

55 changes: 0 additions & 55 deletions .github/workflows/psalm.yml

This file was deleted.

7 changes: 7 additions & 0 deletions .laminas-ci.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"exclude": [
{
"name": "Infection [8.1, locked]"
}
]
}
11 changes: 9 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,18 @@
}
},
"require": {
"php": "^7.4 || ^8.0",
"php": "~8.1.0 || ~8.2.0",
"ext-json": "*",
"phpunit/phpunit": "^9.5.8"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"infection/extension-installer": false
},
"platform": {
"php": "8.1.99"
},
"sort-packages": true
},
"bin": [
Expand All @@ -27,7 +34,7 @@
"doctrine/coding-standard": "^9.0.0",
"roave/infection-static-analysis-plugin": "^1.8.0",
"psalm/plugin-phpunit": "^0.16.1",
"squizlabs/php_codesniffer": "^3.6.0",
"squizlabs/php_codesniffer": "^3.7.1",
"vimeo/psalm": "^4.8.1"
}
}
Loading

0 comments on commit 02b452b

Please sign in to comment.