Skip to content

Commit

Permalink
Merge pull request #45 from ixopay/x4291/php-upgrade
Browse files Browse the repository at this point in the history
PHP Upgrade (X4291)
  • Loading branch information
rtucek authored Jan 14, 2025
2 parents 6064880 + 3ca3da0 commit 1cd5b8a
Show file tree
Hide file tree
Showing 35 changed files with 240 additions and 753 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/parallel-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: parallel-lint

on:
push:
branches:
- '*.x'
pull_request:

permissions:
contents: read

jobs:
tests:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
php: [8.1, 8.2, 8.3, 8.4]

name: PHP ${{ matrix.php }}

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: none

- name: Install Composer dependencies
run: composer install --prefer-dist --no-interaction --no-progress

- name: Execute parallel-lint
run: composer run parallel-lint
37 changes: 37 additions & 0 deletions .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: PHPStan

on:
push:
branches:
- '*.x'
pull_request:

permissions:
contents: read

jobs:
tests:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
php: [8.1, 8.2, 8.3, 8.4]

name: PHP ${{ matrix.php }}

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: none

- name: Install Composer dependencies
run: composer install --prefer-dist --no-interaction --no-progress

- name: Execute PHPStan
run: composer run phpstan
Loading

0 comments on commit 1cd5b8a

Please sign in to comment.