diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 3dfafc4..3dc0c37 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -9,23 +9,23 @@ on: jobs: build: name: "Checking the package: testing and linting" - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 strategy: matrix: - php: [ "8.3" ] + php: [ "8.3", "8.4" ] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 # https://github.com/actions/checkout - name: Setup PHP - uses: shivammathur/setup-php@v2 + uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # 2.31.1 # https://github.com/shivammathur/setup-php with: php-version: ${{ matrix.php }} coverage: none - name: Cache composer dependencies - uses: actions/cache@v2 + uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2 # https://github.com/actions/cache with: path: vendor key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} diff --git a/composer.json b/composer.json index c9cacf2..40414ad 100644 --- a/composer.json +++ b/composer.json @@ -11,18 +11,18 @@ "license": "MIT", "require": { "php": "^8.3", - "illuminate/config": "^11.0", - "illuminate/console": "^11.0", - "illuminate/http": "^11.0", - "illuminate/support": "^11.0", - "illuminate/testing": "^11.34", - "kirschbaum-development/laravel-openapi-validator": "^1.0", - "marcelthole/openapi-merge": "^2.3" + "illuminate/config": "^12.7.2", + "illuminate/console": "^12.7.2", + "illuminate/http": "^12.7.2", + "illuminate/support": "^12.7.2", + "illuminate/testing": "^12.7.2", + "kirschbaum-development/laravel-openapi-validator": "^1.1.0", + "marcelthole/openapi-merge": "^2.4.0" }, "require-dev": { - "blumilksoftware/codestyle": "^4.0", - "orchestra/testbench": "^9.6", - "phpunit/phpunit": "^11.1" + "blumilksoftware/codestyle": "^4.1.0", + "orchestra/testbench": "^10.2.0", + "phpunit/phpunit": "^12.1.0" }, "autoload": { "psr-4": { @@ -35,8 +35,8 @@ } }, "scripts": { - "cs": "./vendor/bin/php-cs-fixer fix --dry-run --diff --config codestyle.php", - "csf": "./vendor/bin/php-cs-fixer fix --diff --config codestyle.php", + "cs": "PHP_CS_FIXER_IGNORE_ENV=on ./vendor/bin/php-cs-fixer fix --dry-run --diff --config codestyle.php", + "csf": "PHP_CS_FIXER_IGNORE_ENV=on ./vendor/bin/php-cs-fixer fix --diff --config codestyle.php", "test": "./vendor/bin/phpunit tests --colors" }, "config": { diff --git a/docker-compose.yml b/docker-compose.yml index 71a7c34..b1ba5c6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,6 +1,6 @@ services: php: - image: ghcr.io/blumilksoftware/php:8.3 + image: ghcr.io/blumilksoftware/php:8.4 container_name: blumilk-openapi-toolbox-php working_dir: /application user: ${CURRENT_UID:-1000}