diff --git a/.github/workflows/monorepo-validate.yml b/.github/workflows/monorepo-validate.yml index ca0852d..3c1b5ee 100644 --- a/.github/workflows/monorepo-validate.yml +++ b/.github/workflows/monorepo-validate.yml @@ -17,10 +17,10 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: 8.0 + php-version: 8.1 extensions: mbstring, pdo, pdo_sqlite coverage: none - name: Install dependencies run: composer install -n --prefer-dist - - name: Valdidate Dependencies are consistent + - name: Validate Dependencies are consistent run: vendor/bin/monorepo-builder validate \ No newline at end of file diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 44f97e1..16af317 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -10,14 +10,19 @@ jobs: strategy: fail-fast: false matrix: - php: [8.1, '8.0'] - laravel: [9.*, 8.*] + php: [8.2, 8.1, 8.0] + laravel: [10.*, 9.*, 8.*] dependency-version: [prefer-lowest, prefer-stable] include: + - laravel: 10.* + testbench: 8.* - laravel: 9.* testbench: 7.* - laravel: 8.* testbench: ^6.23 + exclude: + - laravel: 10.* + php: 8.0 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} steps: - uses: actions/checkout@v2 diff --git a/composer.json b/composer.json index 59ea049..c9eccc3 100644 --- a/composer.json +++ b/composer.json @@ -13,13 +13,13 @@ "require": { "akaunting/laravel-money": "^1.2|^2.1", "ext-pdo_sqlite": "*", - "illuminate/contracts": "^8.0|^9.0", - "illuminate/database": "^8.40|^9.0", - "illuminate/support": "^8.0|^9.0", + "illuminate/contracts": "^8.0|^9.0|^10.0", + "illuminate/database": "^8.40|^9.0|^10.0", + "illuminate/support": "^8.0|^9.0|^10.0", "php": "^8.0" }, "require-dev": { - "orchestra/testbench": "^6.23|^7.0", + "orchestra/testbench": "^6.23|^7.0|^8.0", "phpunit/phpunit": "^9.4", "symplify/monorepo-builder": "^9.4.21" }, diff --git a/monorepo-builder.php b/monorepo-builder.php index 62bd637..16b8f09 100644 --- a/monorepo-builder.php +++ b/monorepo-builder.php @@ -20,7 +20,7 @@ ], ], 'require-dev' => [ - 'orchestra/testbench' => '^6.23|^7.0', + 'orchestra/testbench' => '^6.23|^7.0|^8.0', 'phpunit/phpunit' => '^9.4', 'symplify/monorepo-builder' => '^9.4.21', ], diff --git a/packages/airlines-en/composer.json b/packages/airlines-en/composer.json index 913644f..a239393 100644 --- a/packages/airlines-en/composer.json +++ b/packages/airlines-en/composer.json @@ -18,7 +18,7 @@ ], "require": { "php": "^8.0", - "illuminate/support": "^8.0|^9.0", + "illuminate/support": "^8.0|^9.0|^10.0", "squirephp/airlines": "self.version", "squirephp/repository": "self.version" }, diff --git a/packages/airlines/composer.json b/packages/airlines/composer.json index 6144587..c818e0b 100644 --- a/packages/airlines/composer.json +++ b/packages/airlines/composer.json @@ -18,7 +18,7 @@ ], "require": { "php": "^8.0", - "illuminate/support": "^8.0|^9.0", + "illuminate/support": "^8.0|^9.0|^10.0", "squirephp/model": "self.version", "squirephp/rule": "self.version" }, diff --git a/packages/airports-en/composer.json b/packages/airports-en/composer.json index a6928b1..7b1c1fb 100644 --- a/packages/airports-en/composer.json +++ b/packages/airports-en/composer.json @@ -18,7 +18,7 @@ ], "require": { "php": "^8.0", - "illuminate/support": "^8.0|^9.0", + "illuminate/support": "^8.0|^9.0|^10.0", "squirephp/airports": "self.version", "squirephp/repository": "self.version" }, diff --git a/packages/airports/composer.json b/packages/airports/composer.json index 2454a9e..56569d9 100644 --- a/packages/airports/composer.json +++ b/packages/airports/composer.json @@ -18,7 +18,7 @@ ], "require": { "php": "^8.0", - "illuminate/support": "^8.0|^9.0", + "illuminate/support": "^8.0|^9.0|^10.0", "squirephp/model": "self.version", "squirephp/rule": "self.version" }, diff --git a/packages/continents-de/composer.json b/packages/continents-de/composer.json index 53814b3..e4a68c1 100644 --- a/packages/continents-de/composer.json +++ b/packages/continents-de/composer.json @@ -18,7 +18,7 @@ ], "require": { "php": "^8.0", - "illuminate/support": "^8.0|^9.0", + "illuminate/support": "^8.0|^9.0|^10.0", "squirephp/continents": "self.version", "squirephp/repository": "self.version" }, diff --git a/packages/continents-en/composer.json b/packages/continents-en/composer.json index a1be53c..f53f480 100644 --- a/packages/continents-en/composer.json +++ b/packages/continents-en/composer.json @@ -18,7 +18,7 @@ ], "require": { "php": "^8.0", - "illuminate/support": "^8.0|^9.0", + "illuminate/support": "^8.0|^9.0|^10.0", "squirephp/continents": "self.version", "squirephp/repository": "self.version" }, diff --git a/packages/continents-pl/composer.json b/packages/continents-pl/composer.json index e6d5015..42f5079 100644 --- a/packages/continents-pl/composer.json +++ b/packages/continents-pl/composer.json @@ -22,7 +22,7 @@ ], "require": { "php": "^8.0", - "illuminate/support": "^8.0|^9.0", + "illuminate/support": "^8.0|^9.0|^10.0", "squirephp/continents": "self.version", "squirephp/repository": "self.version" }, diff --git a/packages/continents/composer.json b/packages/continents/composer.json index 40190f7..e962c2e 100644 --- a/packages/continents/composer.json +++ b/packages/continents/composer.json @@ -18,7 +18,7 @@ ], "require": { "php": "^8.0", - "illuminate/support": "^8.0|^9.0", + "illuminate/support": "^8.0|^9.0|^10.0", "squirephp/model": "self.version", "squirephp/rule": "self.version" }, diff --git a/packages/countries-de/composer.json b/packages/countries-de/composer.json index 22bfc78..795fe33 100644 --- a/packages/countries-de/composer.json +++ b/packages/countries-de/composer.json @@ -18,7 +18,7 @@ ], "require": { "php": "^8.0", - "illuminate/support": "^8.0|^9.0", + "illuminate/support": "^8.0|^9.0|^10.0", "squirephp/countries": "self.version", "squirephp/repository": "self.version" }, diff --git a/packages/countries-en/composer.json b/packages/countries-en/composer.json index 48d8bde..d207a68 100644 --- a/packages/countries-en/composer.json +++ b/packages/countries-en/composer.json @@ -18,7 +18,7 @@ ], "require": { "php": "^8.0", - "illuminate/support": "^8.0|^9.0", + "illuminate/support": "^8.0|^9.0|^10.0", "squirephp/countries": "self.version", "squirephp/repository": "self.version" }, diff --git a/packages/countries-es/composer.json b/packages/countries-es/composer.json index 9abc31c..a4c837d 100644 --- a/packages/countries-es/composer.json +++ b/packages/countries-es/composer.json @@ -18,7 +18,7 @@ ], "require": { "php": "^8.0", - "illuminate/support": "^8.0|^9.0", + "illuminate/support": "^8.0|^9.0|^10.0", "squirephp/countries": "self.version", "squirephp/repository": "self.version" }, diff --git a/packages/countries-fr/composer.json b/packages/countries-fr/composer.json index e23acf3..79d8603 100644 --- a/packages/countries-fr/composer.json +++ b/packages/countries-fr/composer.json @@ -18,7 +18,7 @@ ], "require": { "php": "^8.0", - "illuminate/support": "^8.0|^9.0", + "illuminate/support": "^8.0|^9.0|^10.0", "squirephp/countries": "self.version", "squirephp/repository": "self.version" }, diff --git a/packages/countries-pl/composer.json b/packages/countries-pl/composer.json index 72fc644..df8ef49 100644 --- a/packages/countries-pl/composer.json +++ b/packages/countries-pl/composer.json @@ -22,7 +22,7 @@ ], "require": { "php": "^8.0", - "illuminate/support": "^8.0|^9.0", + "illuminate/support": "^8.0|^9.0|^10.0", "squirephp/countries": "self.version", "squirephp/repository": "self.version" }, diff --git a/packages/countries/composer.json b/packages/countries/composer.json index aefc295..6ad6b5f 100644 --- a/packages/countries/composer.json +++ b/packages/countries/composer.json @@ -18,7 +18,7 @@ ], "require": { "php": "^8.0", - "illuminate/support": "^8.0|^9.0", + "illuminate/support": "^8.0|^9.0|^10.0", "squirephp/model": "self.version", "squirephp/rule": "self.version" }, diff --git a/packages/currencies-en/composer.json b/packages/currencies-en/composer.json index 14ecb99..9b75f9d 100644 --- a/packages/currencies-en/composer.json +++ b/packages/currencies-en/composer.json @@ -18,7 +18,7 @@ ], "require": { "php": "^8.0", - "illuminate/support": "^8.0|^9.0", + "illuminate/support": "^8.0|^9.0|^10.0", "squirephp/currencies": "self.version", "squirephp/repository": "self.version" }, diff --git a/packages/currencies/composer.json b/packages/currencies/composer.json index c7de6c1..6aac374 100644 --- a/packages/currencies/composer.json +++ b/packages/currencies/composer.json @@ -19,7 +19,7 @@ "require": { "php": "^8.0", "akaunting/laravel-money": "^1.2|^2.1", - "illuminate/support": "^8.0|^9.0", + "illuminate/support": "^8.0|^9.0|^10.0", "squirephp/model": "self.version", "squirephp/rule": "self.version" }, diff --git a/packages/gb-counties-en/composer.json b/packages/gb-counties-en/composer.json index c22a1c4..7a397c0 100644 --- a/packages/gb-counties-en/composer.json +++ b/packages/gb-counties-en/composer.json @@ -18,7 +18,7 @@ ], "require": { "php": "^8.0", - "illuminate/support": "^8.0|^9.0", + "illuminate/support": "^8.0|^9.0|^10.0", "squirephp/gb-counties": "self.version", "squirephp/repository": "self.version" }, diff --git a/packages/gb-counties/composer.json b/packages/gb-counties/composer.json index bd3fb0a..805a473 100644 --- a/packages/gb-counties/composer.json +++ b/packages/gb-counties/composer.json @@ -18,7 +18,7 @@ ], "require": { "php": "^8.0", - "illuminate/support": "^8.0|^9.0", + "illuminate/support": "^8.0|^9.0|^10.0", "squirephp/model": "self.version", "squirephp/rule": "self.version" }, diff --git a/packages/model/composer.json b/packages/model/composer.json index 3c7cec0..499fd25 100644 --- a/packages/model/composer.json +++ b/packages/model/composer.json @@ -19,8 +19,8 @@ "require": { "php": "^8.0", "ext-pdo_sqlite": "*", - "illuminate/database": "^8.40|^9.0", - "illuminate/support": "^8.0|^9.0" + "illuminate/database": "^8.40|^9.0|^10.0", + "illuminate/support": "^8.0|^9.0|^10.0" }, "autoload": { "psr-4": { diff --git a/packages/regions-en/composer.json b/packages/regions-en/composer.json index ad7376d..b922e91 100644 --- a/packages/regions-en/composer.json +++ b/packages/regions-en/composer.json @@ -18,7 +18,7 @@ ], "require": { "php": "^8.0", - "illuminate/support": "^8.0|^9.0", + "illuminate/support": "^8.0|^9.0|^10.0", "squirephp/regions": "self.version", "squirephp/repository": "self.version" }, diff --git a/packages/regions/composer.json b/packages/regions/composer.json index 0988d82..15b0e22 100644 --- a/packages/regions/composer.json +++ b/packages/regions/composer.json @@ -18,7 +18,7 @@ ], "require": { "php": "^8.0", - "illuminate/support": "^8.0|^9.0", + "illuminate/support": "^8.0|^9.0|^10.0", "squirephp/model": "self.version", "squirephp/rule": "self.version" }, diff --git a/packages/repository/composer.json b/packages/repository/composer.json index 61432c5..61c611b 100644 --- a/packages/repository/composer.json +++ b/packages/repository/composer.json @@ -18,7 +18,7 @@ ], "require": { "php": "^8.0", - "illuminate/support": "^8.0|^9.0" + "illuminate/support": "^8.0|^9.0|^10.0" }, "autoload": { "psr-4": { diff --git a/packages/rule/composer.json b/packages/rule/composer.json index 06abe31..5c1a480 100644 --- a/packages/rule/composer.json +++ b/packages/rule/composer.json @@ -18,9 +18,9 @@ ], "require": { "php": "^8.0", - "illuminate/contracts": "^8.0|^9.0", - "illuminate/database": "^8.40|^9.0", - "illuminate/support": "^8.0|^9.0" + "illuminate/contracts": "^8.0|^9.0|^10.0", + "illuminate/database": "^8.40|^9.0|^10.0", + "illuminate/support": "^8.0|^9.0|^10.0" }, "autoload": { "psr-4": { diff --git a/packages/timezones-en/composer.json b/packages/timezones-en/composer.json index 52bd32b..5808b49 100644 --- a/packages/timezones-en/composer.json +++ b/packages/timezones-en/composer.json @@ -18,7 +18,7 @@ ], "require": { "php": "^8.0", - "illuminate/support": "^8.0|^9.0", + "illuminate/support": "^8.0|^9.0|^10.0", "squirephp/repository": "self.version", "squirephp/timezones": "self.version" }, diff --git a/packages/timezones/composer.json b/packages/timezones/composer.json index 23c4f9d..c70647e 100644 --- a/packages/timezones/composer.json +++ b/packages/timezones/composer.json @@ -18,7 +18,7 @@ ], "require": { "php": "^8.0", - "illuminate/support": "^8.0|^9.0", + "illuminate/support": "^8.0|^9.0|^10.0", "squirephp/model": "self.version", "squirephp/rule": "self.version" },