diff --git a/.editorconfig b/.editorconfig index cd8eb86..7937f0a 100644 --- a/.editorconfig +++ b/.editorconfig @@ -13,3 +13,6 @@ trim_trailing_whitespace = true [*.md] trim_trailing_whitespace = false + +[ci.yml] +indent_size = 2 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4c5d3f8..40e6fe2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,8 @@ name: CI -on: [push, pull_request] +on: + - push + - pull_request jobs: phplint: @@ -12,14 +14,14 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: "laravel-pint" + - name: laravel-pint uses: aglipanci/laravel-pint-action@latest with: preset: laravel verboseMode: true testMode: true - configPath: "pint.json" - pintVersion: 1.18.2 + configPath: pint.json + pintVersion: 1.21.0 onlyDirty: true test: @@ -28,12 +30,14 @@ jobs: max-parallel: 15 fail-fast: false matrix: - php: [8.3, 8.2] - laravel: [11.*] + php: [8.4, 8.3, 8.2] + laravel: ['11.*', '12.*'] stability: [prefer-lowest, prefer-stable] include: - laravel: 11.* testbench: 9.* + - laravel: 12.* + testbench: 10.* name: PHP${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} diff --git a/composer.json b/composer.json index 0e87b18..16bfd0c 100644 --- a/composer.json +++ b/composer.json @@ -37,16 +37,16 @@ "require": { "php": "^8.2", "twilio/sdk": "^7.16 || ^8.3", - "illuminate/notifications": "^12.0", - "illuminate/support": "^12.0", - "illuminate/events": "^12.0", - "illuminate/queue": "^12.0" + "illuminate/notifications": "^11.0 || ^12.0", + "illuminate/support": "^11.0 || ^12.0", + "illuminate/events": "^11.0 || ^12.0", + "illuminate/queue": "^11.0 || ^12.0" }, "require-dev": { - "laravel/pint": "^1.18", + "laravel/pint": "^1.21", "mockery/mockery": "^1.0", - "orchestra/testbench": "^10.0", - "phpunit/phpunit": "^11.5" + "orchestra/testbench": "^9.0 || ^10.0", + "phpunit/phpunit": "^10.5 || ^11.5.10" }, "autoload": { "psr-4": {