Skip to content

Commit fbda92e

Browse files
Added Laravel 11 support
1 parent 21d6ec7 commit fbda92e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+63
-61
lines changed

.github/workflows/tests.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,12 @@ jobs:
1212
fail-fast: true
1313
matrix:
1414
php: [ "8.1", "8.2", "8.3" ]
15-
laravel: [ "10.0" ]
16-
prefer: [ "stable", "lowest" ]
15+
laravel: [ "10.0", "11.0" ]
16+
exclude:
17+
- laravel: "11.0"
18+
php: "8.1"
1719

18-
name: PHP ${{ matrix.php }}, Laravel ${{ matrix.laravel }} ${{ matrix.prefer }}
20+
name: PHP ${{ matrix.php }}, Laravel ${{ matrix.laravel }}
1921

2022
steps:
2123
- name: Checkout code
@@ -31,7 +33,7 @@ jobs:
3133
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3234

3335
- name: Install dependencies
34-
run: composer require laravel/framework:^${{ matrix.laravel }} --prefer-${{ matrix.prefer }}
36+
run: composer require laravel/framework:^${{ matrix.laravel }}
3537

3638
- name: Execute tests
3739
run: composer test

composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@
3030
"ext-json": "*",
3131
"archtechx/enums": "^0.3.2 || ^1.0",
3232
"dragon-code/support": "^6.11.3",
33-
"illuminate/collections": "^10.0",
33+
"illuminate/collections": "^10.0 || ^11.0",
3434
"laravel-lang/locale-list": "^1.2",
3535
"laravel-lang/native-country-names": "^1.3",
3636
"laravel-lang/native-currency-names": "^1.3",
3737
"laravel-lang/native-locale-names": "^2.2"
3838
},
3939
"require-dev": {
40-
"orchestra/testbench": "^8.0",
40+
"orchestra/testbench": "^8.0 || ^9.0",
4141
"pestphp/pest": "^2.24.1",
4242
"symfony/var-dumper": "^6.0 || ^7.0"
4343
},

config/private.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* file that was distributed with this source code.
88
*
99
* @author Andrey Helldar <[email protected]>
10-
* @copyright 2023 Laravel Lang Team
10+
* @copyright 2024 Laravel Lang Team
1111
* @license MIT
1212
*
1313
* @see https://laravel-lang.com

config/public.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* file that was distributed with this source code.
88
*
99
* @author Andrey Helldar <[email protected]>
10-
* @copyright 2023 Laravel Lang Team
10+
* @copyright 2024 Laravel Lang Team
1111
* @license MIT
1212
*
1313
* @see https://laravel-lang.com

phpunit.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
~ file that was distributed with this source code.
77
~
88
~ @author Andrey Helldar <[email protected]>
9-
~ @copyright 2023 Laravel Lang Team
9+
~ @copyright 2024 Laravel Lang Team
1010
~ @license MIT
1111
~
1212
~ @see https://laravel-lang.com

src/Concerns/About.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* file that was distributed with this source code.
88
*
99
* @author Andrey Helldar <[email protected]>
10-
* @copyright 2023 Laravel Lang Team
10+
* @copyright 2024 Laravel Lang Team
1111
* @license MIT
1212
*
1313
* @see https://laravel-lang.com

src/Concerns/Aliases.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* file that was distributed with this source code.
88
*
99
* @author Andrey Helldar <[email protected]>
10-
* @copyright 2023 Laravel Lang Team
10+
* @copyright 2024 Laravel Lang Team
1111
* @license MIT
1212
*
1313
* @see https://laravel-lang.com

src/Concerns/Localized.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* file that was distributed with this source code.
88
*
99
* @author Andrey Helldar <[email protected]>
10-
* @copyright 2023 Laravel Lang Team
10+
* @copyright 2024 Laravel Lang Team
1111
* @license MIT
1212
*
1313
* @see https://laravel-lang.com

src/Concerns/Mapping.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* file that was distributed with this source code.
88
*
99
* @author Andrey Helldar <[email protected]>
10-
* @copyright 2023 Laravel Lang Team
10+
* @copyright 2024 Laravel Lang Team
1111
* @license MIT
1212
*
1313
* @see https://laravel-lang.com

src/Concerns/Pathable.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* file that was distributed with this source code.
88
*
99
* @author Andrey Helldar <[email protected]>
10-
* @copyright 2023 Laravel Lang Team
10+
* @copyright 2024 Laravel Lang Team
1111
* @license MIT
1212
*
1313
* @see https://laravel-lang.com

src/Concerns/Registry.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* file that was distributed with this source code.
88
*
99
* @author Andrey Helldar <[email protected]>
10-
* @copyright 2023 Laravel Lang Team
10+
* @copyright 2024 Laravel Lang Team
1111
* @license MIT
1212
*
1313
* @see https://laravel-lang.com

src/Data/CountryData.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* file that was distributed with this source code.
88
*
99
* @author Andrey Helldar <[email protected]>
10-
* @copyright 2023 Laravel Lang Team
10+
* @copyright 2024 Laravel Lang Team
1111
* @license MIT
1212
*
1313
* @see https://laravel-lang.com

src/Data/CurrencyData.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* file that was distributed with this source code.
88
*
99
* @author Andrey Helldar <[email protected]>
10-
* @copyright 2023 Laravel Lang Team
10+
* @copyright 2024 Laravel Lang Team
1111
* @license MIT
1212
*
1313
* @see https://laravel-lang.com

src/Data/LocaleData.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* file that was distributed with this source code.
88
*
99
* @author Andrey Helldar <[email protected]>
10-
* @copyright 2023 Laravel Lang Team
10+
* @copyright 2024 Laravel Lang Team
1111
* @license MIT
1212
*
1313
* @see https://laravel-lang.com

src/Data/NativeData.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* file that was distributed with this source code.
88
*
99
* @author Andrey Helldar <[email protected]>
10-
* @copyright 2023 Laravel Lang Team
10+
* @copyright 2024 Laravel Lang Team
1111
* @license MIT
1212
*
1313
* @see https://laravel-lang.com

src/Enums/Config.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* file that was distributed with this source code.
88
*
99
* @author Andrey Helldar <[email protected]>
10-
* @copyright 2023 Laravel Lang Team
10+
* @copyright 2024 Laravel Lang Team
1111
* @license MIT
1212
*
1313
* @see https://laravel-lang.com

src/Enums/Direction.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* file that was distributed with this source code.
88
*
99
* @author Andrey Helldar <[email protected]>
10-
* @copyright 2023 Laravel Lang Team
10+
* @copyright 2024 Laravel Lang Team
1111
* @license MIT
1212
*
1313
* @see https://laravel-lang.com

src/Facades/Locales.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* file that was distributed with this source code.
88
*
99
* @author Andrey Helldar <[email protected]>
10-
* @copyright 2023 Laravel Lang Team
10+
* @copyright 2024 Laravel Lang Team
1111
* @license MIT
1212
*
1313
* @see https://laravel-lang.com

src/ServiceProvider.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* file that was distributed with this source code.
88
*
99
* @author Andrey Helldar <[email protected]>
10-
* @copyright 2023 Laravel Lang Team
10+
* @copyright 2024 Laravel Lang Team
1111
* @license MIT
1212
*
1313
* @see https://laravel-lang.com

src/Services/Locales.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* file that was distributed with this source code.
88
*
99
* @author Andrey Helldar <[email protected]>
10-
* @copyright 2023 Laravel Lang Team
10+
* @copyright 2024 Laravel Lang Team
1111
* @license MIT
1212
*
1313
* @see https://laravel-lang.com

src/Services/RawLocales.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* file that was distributed with this source code.
88
*
99
* @author Andrey Helldar <[email protected]>
10-
* @copyright 2023 Laravel Lang Team
10+
* @copyright 2024 Laravel Lang Team
1111
* @license MIT
1212
*
1313
* @see https://laravel-lang.com

src/Services/Resolver.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* file that was distributed with this source code.
88
*
99
* @author Andrey Helldar <[email protected]>
10-
* @copyright 2023 Laravel Lang Team
10+
* @copyright 2024 Laravel Lang Team
1111
* @license MIT
1212
*
1313
* @see https://laravel-lang.com

tests/Datasets/LocaleTypes.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* file that was distributed with this source code.
88
*
99
* @author Andrey Helldar <[email protected]>
10-
* @copyright 2023 Laravel Lang Team
10+
* @copyright 2024 Laravel Lang Team
1111
* @license MIT
1212
*
1313
* @see https://laravel-lang.com

tests/Datasets/Locales.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* file that was distributed with this source code.
88
*
99
* @author Andrey Helldar <[email protected]>
10-
* @copyright 2023 Laravel Lang Team
10+
* @copyright 2024 Laravel Lang Team
1111
* @license MIT
1212
*
1313
* @see https://laravel-lang.com

tests/Datasets/Localization.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* file that was distributed with this source code.
88
*
99
* @author Andrey Helldar <[email protected]>
10-
* @copyright 2023 Laravel Lang Team
10+
* @copyright 2024 Laravel Lang Team
1111
* @license MIT
1212
*
1313
* @see https://laravel-lang.com

tests/Helpers/config.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* file that was distributed with this source code.
88
*
99
* @author Andrey Helldar <[email protected]>
10-
* @copyright 2023 Laravel Lang Team
10+
* @copyright 2024 Laravel Lang Team
1111
* @license MIT
1212
*
1313
* @see https://laravel-lang.com

tests/Helpers/data.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* file that was distributed with this source code.
88
*
99
* @author Andrey Helldar <[email protected]>
10-
* @copyright 2023 Laravel Lang Team
10+
* @copyright 2024 Laravel Lang Team
1111
* @license MIT
1212
*
1313
* @see https://laravel-lang.com

tests/Helpers/paths.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* file that was distributed with this source code.
88
*
99
* @author Andrey Helldar <[email protected]>
10-
* @copyright 2023 Laravel Lang Team
10+
* @copyright 2024 Laravel Lang Team
1111
* @license MIT
1212
*
1313
* @see https://laravel-lang.com

tests/Pest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* file that was distributed with this source code.
88
*
99
* @author Andrey Helldar <[email protected]>
10-
* @copyright 2023 Laravel Lang Team
10+
* @copyright 2024 Laravel Lang Team
1111
* @license MIT
1212
*
1313
* @see https://laravel-lang.com

tests/TestCase.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* file that was distributed with this source code.
88
*
99
* @author Andrey Helldar <[email protected]>
10-
* @copyright 2023 Laravel Lang Team
10+
* @copyright 2024 Laravel Lang Team
1111
* @license MIT
1212
*
1313
* @see https://laravel-lang.com

tests/Unit/Data/LocalizedTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* file that was distributed with this source code.
88
*
99
* @author Andrey Helldar <[email protected]>
10-
* @copyright 2023 Laravel Lang Team
10+
* @copyright 2024 Laravel Lang Team
1111
* @license MIT
1212
*
1313
* @see https://laravel-lang.com

tests/Unit/Data/OrientationTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* file that was distributed with this source code.
88
*
99
* @author Andrey Helldar <[email protected]>
10-
* @copyright 2023 Laravel Lang Team
10+
* @copyright 2024 Laravel Lang Team
1111
* @license MIT
1212
*
1313
* @see https://laravel-lang.com

tests/Unit/Facades/Locales/AliasesTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* file that was distributed with this source code.
88
*
99
* @author Andrey Helldar <[email protected]>
10-
* @copyright 2023 Laravel Lang Team
10+
* @copyright 2024 Laravel Lang Team
1111
* @license MIT
1212
*
1313
* @see https://laravel-lang.com

tests/Unit/Facades/Locales/AvailableTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* file that was distributed with this source code.
88
*
99
* @author Andrey Helldar <[email protected]>
10-
* @copyright 2023 Laravel Lang Team
10+
* @copyright 2024 Laravel Lang Team
1111
* @license MIT
1212
*
1313
* @see https://laravel-lang.com

tests/Unit/Facades/Locales/GetCurrentTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* file that was distributed with this source code.
88
*
99
* @author Andrey Helldar <[email protected]>
10-
* @copyright 2023 Laravel Lang Team
10+
* @copyright 2024 Laravel Lang Team
1111
* @license MIT
1212
*
1313
* @see https://laravel-lang.com

tests/Unit/Facades/Locales/GetDefaultTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* file that was distributed with this source code.
88
*
99
* @author Andrey Helldar <[email protected]>
10-
* @copyright 2023 Laravel Lang Team
10+
* @copyright 2024 Laravel Lang Team
1111
* @license MIT
1212
*
1313
* @see https://laravel-lang.com

tests/Unit/Facades/Locales/GetFallbackTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* file that was distributed with this source code.
88
*
99
* @author Andrey Helldar <[email protected]>
10-
* @copyright 2023 Laravel Lang Team
10+
* @copyright 2024 Laravel Lang Team
1111
* @license MIT
1212
*
1313
* @see https://laravel-lang.com

tests/Unit/Facades/Locales/GetTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* file that was distributed with this source code.
88
*
99
* @author Andrey Helldar <[email protected]>
10-
* @copyright 2023 Laravel Lang Team
10+
* @copyright 2024 Laravel Lang Team
1111
* @license MIT
1212
*
1313
* @see https://laravel-lang.com

tests/Unit/Facades/Locales/InfoTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* file that was distributed with this source code.
88
*
99
* @author Andrey Helldar <[email protected]>
10-
* @copyright 2023 Laravel Lang Team
10+
* @copyright 2024 Laravel Lang Team
1111
* @license MIT
1212
*
1313
* @see https://laravel-lang.com

tests/Unit/Facades/Locales/InstalledTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* file that was distributed with this source code.
88
*
99
* @author Andrey Helldar <[email protected]>
10-
* @copyright 2023 Laravel Lang Team
10+
* @copyright 2024 Laravel Lang Team
1111
* @license MIT
1212
*
1313
* @see https://laravel-lang.com

tests/Unit/Facades/Locales/IsAvailableTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* file that was distributed with this source code.
88
*
99
* @author Andrey Helldar <[email protected]>
10-
* @copyright 2023 Laravel Lang Team
10+
* @copyright 2024 Laravel Lang Team
1111
* @license MIT
1212
*
1313
* @see https://laravel-lang.com

0 commit comments

Comments
 (0)