Skip to content

Commit

Permalink
Merge pull request #95 from Laravel-Lang/4.x
Browse files Browse the repository at this point in the history
Removed support for old version of Laravel
  • Loading branch information
andrey-helldar authored Aug 9, 2023
2 parents 52d96ca + 31ab540 commit 31744c7
Show file tree
Hide file tree
Showing 9 changed files with 58 additions and 46 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
fail-fast: true
matrix:
php: [ "8.1", "8.2" ]
laravel: [ "8.0", "9.0", "10.0" ]
laravel: [ "10.0" ]

name: PHP ${{ matrix.php }}, Laravel ${{ matrix.laravel }}

Expand All @@ -25,7 +25,7 @@ jobs:
with:
php-version: ${{ matrix.php }}
extensions: curl, mbstring, zip, pcntl, pdo, pdo_sqlite, iconv
coverage: none
coverage: xdebug
env:
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,16 @@
"source": "https://github.com/Laravel-Lang/common"
},
"require": {
"php": "^8.0",
"php": "^8.1",
"laravel-lang/attributes": "^2.3.3",
"laravel-lang/http-statuses": "^3.3.1",
"laravel-lang/lang": "^12.21.9",
"laravel-lang/lang": "^13.0",
"laravel-lang/publisher": "^14.6.4"
},
"require-dev": {
"orchestra/testbench": "^6.0 || ^7.0 || ^8.5.5",
"phpunit/phpunit": "^9.6.8",
"symfony/var-dumper": "^5.4 || ^6.3"
"orchestra/testbench": "^8.5 || ^9.0",
"phpunit/phpunit": "^10.0",
"symfony/var-dumper": "^6.3"
},
"minimum-stability": "stable",
"prefer-stable": true,
Expand Down
8 changes: 4 additions & 4 deletions docs/installation/compatibility/attributes.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ title: Attributes

# Compatibility: Attributes

| Laravel, Lumen | PHP | Publisher | Package Version | Status |
|----------------|--------------------|-------------|-----------------|---------------------------------------|
| 8.x, 9.x, 10.x | 8.1, 8.2 | 14.x | `^2.0` | ![Supported][badge_supported] |
| 7.x, 8.x, 9.x | 7.3, 7.4, 8.0, 8.1 | 12.1+, 13.x | `^1.0` | ![Not Supported][badge_not_supported] |
| Laravel, Lumen | PHP | Publisher | Package Version | Status |
|----------------------|--------------------|-------------|-----------------|---------------------------------------|
| 8.x, 9.x, 10.x, 11.x | 8.1, 8.2 | 14.x | `^2.0` | ![Supported][badge_supported] |
| 7.x, 8.x, 9.x | 7.3, 7.4, 8.0, 8.1 | 12.1+, 13.x | `^1.0` | ![Not Supported][badge_not_supported] |

[badge_not_supported]: https://img.shields.io/badge/not%20supported-lightgrey?style=flat-square

Expand Down
3 changes: 2 additions & 1 deletion docs/installation/compatibility/common.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ title: Common

| Laravel, Lumen | PHP | Package Version | What packages will be installed | Status |
|----------------|--------------------|-----------------|--------------------------------------------------------------|---------------------------------------|
| 8.x, 9.x, 10.x | 8.1, 8.2 | `^3.0` | Publisher 14.x, Lang 12.x, Attributes 2.x, HTTP Statuses 3.x | ![Supported][badge_supported] |
| 10.x, 11.x | 8.1, 8.2 | `^4.0` | Publisher 14.x, Lang 13.x, Attributes 2.x, HTTP Statuses 3.x | ![Supported][badge_supported] |
| 8.x, 9.x, 10.x | 8.1, 8.2 | `^3.0` | Publisher 14.x, Lang 12.x, Attributes 2.x, HTTP Statuses 3.x | ![Not Supported][badge_not_supported] |
| 7.x, 8.x, 9.x | 8.0, 8.1 | `^2.0` | Publisher 13.x, Lang 10.x, Attributes 1.x, HTTP Statuses 2.x | ![Not Supported][badge_not_supported] |
| 7.x, 8.x, 9.x | 7.3, 7.4, 8.0, 8.1 | `^1.0` | Publisher 12.x, Lang 10.x, Attributes 1.x, HTTP Statuses 2.x | ![Not Supported][badge_not_supported] |

Expand Down
10 changes: 5 additions & 5 deletions docs/installation/compatibility/http-statuses.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ title: HTTP Statuses

# Compatibility: HTTP Statuses

| Laravel, Lumen | PHP | Publisher | Package Version | Status |
|----------------|--------------------|-----------|-----------------|---------------------------------------|
| 8.x, 9.x, 10.x | 8.1, 8.2 | 14.x | `^3.0` | ![Supported][badge_supported] |
| 7.x, 8.x, 9.x | 8.0, 8.1 | 13.x | `^2.0` | ![Not Supported][badge_not_supported] |
| 7.x, 8.x | 7.3, 7.4, 8.0, 8.1 | 10.x | `^1.0` | ![Not Supported][badge_not_supported] |
| Laravel, Lumen | PHP | Publisher | Package Version | Status |
|----------------------|--------------------|-----------|-----------------|---------------------------------------|
| 8.x, 9.x, 10.x, 11.x | 8.1, 8.2 | 14.x | `^3.0` | ![Supported][badge_supported] |
| 7.x, 8.x, 9.x | 8.0, 8.1 | 13.x | `^2.0` | ![Not Supported][badge_not_supported] |
| 7.x, 8.x | 7.3, 7.4, 8.0, 8.1 | 10.x | `^1.0` | ![Not Supported][badge_not_supported] |

[badge_not_supported]: https://img.shields.io/badge/not%20supported-lightgrey?style=flat-square

Expand Down
16 changes: 16 additions & 0 deletions docs/installation/compatibility/lang.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,22 @@ title: Lang

# Compatibility: Lang

### 13.0

| Package | Version |
|-----------------------|---------|
| Laravel, Lumen | 10, 11 |
| Breeze | 1 |
| Cashier Stripe | 13, 14 |
| Fortify | 1 |
| Jetstream | 2, 3 |
| Nova | 4 |
| Spark Aurelius | 11, 12 |
| Spark Aurelius Mollie | 2 |
| Spark Paddle | * |
| Spark Stripe | * |
| UI | 4 |

### 12.0

| Package | Version |
Expand Down
2 changes: 1 addition & 1 deletion docs/installation/compatibility/publisher.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ title: Publisher

| Laravel, Lumen | PHP | Package Version | Comment |
|------------------------------|-------------------------|-----------------|---------------------------------------|
| 8.x, 9.x, 10.x | 8.1, 8.2 | `^14.0` | ![Supported][badge_supported] |
| 8.x, 9.x, 10.x, 11.x | 8.1, 8.2 | `^14.0` | ![Supported][badge_supported] |
| 7.x, 8.x, 9.x | 8.0, 8.1 | `^13.0` | ![Not Supported][badge_not_supported] |
| 7.x, 8.x, 9.x | 7.3, 7.4, 8.0, 8.1 | `^12.0` | ![Not Supported][badge_not_supported] |
| 7.x, 8.x, 9.x | 7.3, 7.4, 8.0, 8.1 | `^11.2` | ![Not Supported][badge_not_supported] |
Expand Down
35 changes: 18 additions & 17 deletions docs/installation/compatibility/support-policy.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
# Support Policy

| Package Version | Framework Version | Laravel Lang Version | Support Until |
|-------------------------|:------------------------------:|:--------------------:|------------------|
| Laravel / Lumen `^10.0` | `^10.0` | `^12.0` | August 6th, 2024 |
| Laravel / Lumen `^9.0` | `^9.0` | `^11.0`, `^12.0` | August 8th, 2023 |
| Breeze `^1.11` | `^9.0`, `^10.0` | `^11.0`, `^12.0` | August 6th, 2024 |
| Breeze `1.10.*` | `^8.42`, `^9.0` | `^11.0` | August 8th, 2023 |
| Cashier Stripe `^14.0` | `^9.21`, `^10.0` | `^11.0`, `^12.0` | August 6th, 2024 |
| Cashier Stripe `^13.0` | `^8.37`, `^9.0` | `^11.0`, `^12.0` | August 8th, 2023 |
| Cashier Stripe `^12.0` | `^6.0`, `^7.0`, `^8.0`, `^9.0` | `^11.0`, `^12.0` | August 8th, 2023 |
| Fortify `^1.0` | `^8.0`, `^9.0`, `^10.0` | `^11.0`, `^12.0` | August 6th, 2024 |
| Jetstream `^3.0` | `^9.0`, `^10.0` | `^12.0` | August 6th, 2024 |
| Jetstream `^2.0` | `^9.0` | `^11.0`, `^12.0` | August 8th, 2023 |
| Jetstream `^1.0` | `^8.0`, `^9.0` | `^11.0`, `^12.0` | August 8th, 2023 |
| Nova `^4.0` | `^8.0`, `^9.0`, `^10.0` | `^11.0`, `^12.0` | August 6th, 2024 |
| Nova `^3.0` | `^8.0`, `^9.0` | `^11.0`, `^12.0` | August 8th, 2023 |
| UI `^4.0` | `^9.0` | `^11.0`, `^12.0` | August 6th, 2024 |
| UI `^3.0` | `^8.0`, `^9.0` | `^11.0`, `^12.0` | August 8th, 2023 |
| Package Version | Framework Version | Laravel Lang Version | Support Until |
|-------------------------|:------------------------------:|:-------------------------:|------------------|
| Laravel / Lumen `^11.0` | `^11.0` | `^13.0` | August 5th, 2025 |
| Laravel / Lumen `^10.0` | `^10.0` | `^12.0`, `^13.0` | August 6th, 2024 |
| Laravel / Lumen `^9.0` | `^9.0` | `^11.0`, `^12.0` | August 8th, 2023 |
| Breeze `^1.11` | `^9.0`, `^10.0` | `^11.0`, `^12.0`, `^13.0` | August 6th, 2024 |
| Breeze `1.10.*` | `^8.42`, `^9.0` | `^11.0` | August 8th, 2023 |
| Cashier Stripe `^14.0` | `^9.21`, `^10.0` | `^11.0`, `^12.0`, `^13.0` | August 6th, 2024 |
| Cashier Stripe `^13.0` | `^8.37`, `^9.0` | `^11.0`, `^12.0`, `^13.0` | August 8th, 2023 |
| Cashier Stripe `^12.0` | `^6.0`, `^7.0`, `^8.0`, `^9.0` | `^11.0`, `^12.0` | August 8th, 2023 |
| Fortify `^1.0` | `^8.0`, `^9.0`, `^10.0` | `^11.0`, `^12.0`, `^13.0` | August 6th, 2024 |
| Jetstream `^3.0` | `^9.0`, `^10.0` | `^12.0`, `^13.0` | August 6th, 2024 |
| Jetstream `^2.0` | `^9.0` | `^11.0`, `^12.0`, `^13.0` | August 8th, 2023 |
| Jetstream `^1.0` | `^8.0`, `^9.0` | `^11.0`, `^12.0` | August 8th, 2023 |
| Nova `^4.0` | `^8.0`, `^9.0`, `^10.0` | `^11.0`, `^12.0`, `^13.0` | August 6th, 2024 |
| Nova `^3.0` | `^8.0`, `^9.0` | `^11.0`, `^12.0` | August 8th, 2023 |
| UI `^4.0` | `^9.0` | `^11.0`, `^12.0`, `^13.0` | August 6th, 2024 |
| UI `^3.0` | `^8.0`, `^9.0` | `^11.0`, `^12.0` | August 8th, 2023 |
16 changes: 5 additions & 11 deletions phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,21 @@
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
cacheResult="false"
backupGlobals="false"
backupStaticAttributes="false"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnError="false"
stopOnFailure="false"
verbose="true"
>
<coverage processUncoveredFiles="true">
<coverage>
<report>
<clover outputFile="build/logs/clover.xml" />
<html outputDirectory="build/logs/coverage" />
<text outputFile="build/logs/coverage.txt" />
<clover outputFile="build/logs/clover.xml"/>
<html outputDirectory="build/logs/coverage"/>
<text outputFile="build/logs/coverage.txt"/>
</report>
</coverage>
<php>
<env name="APP_KEY" value="AckfSECXIvnK5r28GVIWUAxmbBSjTsmF" />
<env name="APP_KEY" value="AckfSECXIvnK5r28GVIWUAxmbBSjTsmF"/>
</php>
<testsuites>
<testsuite name="Test Suite">
Expand Down

0 comments on commit 31744c7

Please sign in to comment.