Skip to content

Commit

Permalink
chore: droping support for older php versions
Browse files Browse the repository at this point in the history
  • Loading branch information
luislard committed Nov 28, 2023
1 parent 45bdd55 commit 98a74fc
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/php-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-service: [ '72', '73', '74', '80', '81', '82' ]
php-service: [ '74', '80', '81', '82' ]
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/php-static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
uses: inpsyde/reusable-workflows/.github/workflows/lint-php.yml@main
if: ${{ (github.event_name != 'workflow_dispatch') || ((github.event.inputs.jobs == 'Run all') || (github.event.inputs.jobs == 'Run lint only')) }}
with:
PHP_MATRIX: '["7.2", "7.3", "7.4", "8.0", "8.1", "8.2"]'
PHP_MATRIX: '["7.4", "8.0", "8.1", "8.2"]'

coding-standards-analysis-php:
if: ${{ (github.event_name != 'workflow_dispatch') || ((github.event.inputs.jobs == 'Run all') || (github.event.inputs.jobs == 'Run PHPCS only')) }}
Expand All @@ -44,6 +44,6 @@ jobs:
uses: inpsyde/reusable-workflows/.github/workflows/static-analysis-php.yml@main
strategy:
matrix:
php-version: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2' ]
php-version: [ '7.4', '8.0', '8.1', '8.2' ]
with:
PHP_VERSION: ${{ matrix.php-version }}
2 changes: 1 addition & 1 deletion .github/workflows/php-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2' ]
php-versions: [ '7.4', '8.0', '8.1', '8.2' ]
dependency-versions: ['highest', 'lowest']

steps:
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
}
],
"require": {
"php": ">=7.2||>=8.0 < 8.3",
"php": "^7.4||>=8.0 < 8.3",
"psr/log": ">=1.0.1 <2.0||^2.0||^3.0",
"wecodemore/wordpress-early-hook": "^1.1.0",
"monolog/monolog": ">=2.0.1 <3"
Expand Down

0 comments on commit 98a74fc

Please sign in to comment.