From 98c192bc5d5e2e78f29e954e1b018ff3828daa2a Mon Sep 17 00:00:00 2001 From: Vincent Boon Date: Mon, 25 Sep 2023 13:47:05 +0200 Subject: [PATCH] Fix composer.json --- .github/workflows/style.yml | 24 ++++++------------------ composer.json | 8 ++++---- 2 files changed, 10 insertions(+), 22 deletions(-) diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml index 2558f14..efaf7fc 100644 --- a/.github/workflows/style.yml +++ b/.github/workflows/style.yml @@ -5,20 +5,9 @@ on: branches: - main jobs: - test: - runs-on: ${{ matrix.os }} - strategy: - fail-fast: true - matrix: - os: [ ubuntu-latest ] - php: [ 8.2 ] - laravel: [ 10.* ] - stability: [ prefer-stable ] - include: - - laravel: 10.* - testbench: 8.* - - name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} + style: + name: Style + runs-on: ubuntu-latest steps: - name: Checkout code @@ -27,14 +16,13 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: ${{ matrix.php }} + php-version: 8.2 extensions: dom, curl, libxml, mbstring, zip, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo coverage: none - name: Install dependencies - run: | - composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update - composer update --${{ matrix.stability }} --prefer-dist --no-interaction + run: composer install + - name: Style run: composer fix-style diff --git a/composer.json b/composer.json index 1926766..22ef37e 100644 --- a/composer.json +++ b/composer.json @@ -8,16 +8,16 @@ "justbetter/laravel-error-logger": "^2.3", "justbetter/laravel-magento-client": "^1.4", "justbetter/laravel-magento-products": "^1.1", - "laravel/framework": "10.*", - "orchestra/testbench": "8.*", + "laravel/framework": "^10.0", "spatie/laravel-activitylog": "^4.7" }, "require-dev": { + "doctrine/dbal": "^3.4", "laravel/pint": "^1.6", "nunomaduro/larastan": "^2.5", + "orchestra/testbench": "^8.11", "phpstan/phpstan-mockery": "^1.1", - "phpunit/phpunit": "^10.0", - "doctrine/dbal": "^3.4" + "phpunit/phpunit": "^10.0" }, "autoload": { "psr-4": {