Skip to content

Refactor: Remove redundant code in ClaimDataParser.php #21

Refactor: Remove redundant code in ClaimDataParser.php

Refactor: Remove redundant code in ClaimDataParser.php #21

Workflow file for this run

name: Test Compatibility
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
php-version: ['7.4', '8.0', '8.1']
fail-fast: false
env:
COMPOSER_ALLOW_SUPERUSER: 1
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: mbstring, xml, bcmath, json, fileinfo
ini-values: post_max_size=256M, upload_max_filesize=256M, memory_limit=512M
coverage: none
- name: Check PHP version
run: php -v
- name: Setup Composer
run: composer self-update --preview
- name: Install dependencies
run: |
# Install dependencies based on PHP version
if [ "${{ matrix.php-version }}" == "7.4" ]; then
composer require illuminate/support:^8.0 illuminate/console:^8.0 illuminate/http:^8.0
elif [ "${{ matrix.php-version }}" == "8.0" ]; then
composer require illuminate/support:^9.0 illuminate/console:^9.0 illuminate/http:^9.0
elif [ "${{ matrix.php-version }}" == "8.1" ]; then
composer require illuminate/support:^10.0 illuminate/console:^10.0 illuminate/http:^10.0
fi
composer install --prefer-dist --no-progress --no-suggest