Skip to content

Commit

Permalink
Merge pull request #14 from Laravel-Lang/1.x
Browse files Browse the repository at this point in the history
Added Laravel 11 support
  • Loading branch information
andrey-helldar authored Mar 13, 2024
2 parents 3e2657a + 3a79acb commit cddca66
Show file tree
Hide file tree
Showing 30 changed files with 36 additions and 34 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@ jobs:
fail-fast: true
matrix:
php: [ "8.1", "8.2", "8.3" ]
laravel: [ "10.0" ]
prefer: [ "stable", "lowest" ]
laravel: [ "10.0", "11.0" ]
exclude:
- laravel: "11.0"
php: "8.1"

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

steps:
- name: Checkout code
Expand All @@ -29,7 +31,7 @@ jobs:
coverage: xdebug

- name: Install dependencies
run: composer require laravel/framework:^${{ matrix.laravel }} --prefer-${{ matrix.prefer }}
run: composer require laravel/framework:^${{ matrix.laravel }}

- name: Execute tests
run: vendor/bin/pest --compact
2 changes: 1 addition & 1 deletion app/Commands/Cldr.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* file that was distributed with this source code.
*
* @author Andrey Helldar <[email protected]>
* @copyright 2023 Laravel Lang Team
* @copyright 2024 Laravel Lang Team
* @license MIT
*
* @see https://laravel-lang.com
Expand Down
2 changes: 1 addition & 1 deletion app/Commands/Collect.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* file that was distributed with this source code.
*
* @author Andrey Helldar <[email protected]>
* @copyright 2023 Laravel Lang Team
* @copyright 2024 Laravel Lang Team
* @license MIT
*
* @see https://laravel-lang.com
Expand Down
2 changes: 1 addition & 1 deletion app/Commands/Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* file that was distributed with this source code.
*
* @author Andrey Helldar <[email protected]>
* @copyright 2023 Laravel Lang Team
* @copyright 2024 Laravel Lang Team
* @license MIT
*
* @see https://laravel-lang.com
Expand Down
2 changes: 1 addition & 1 deletion app/Integrations/Cldr.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* file that was distributed with this source code.
*
* @author Andrey Helldar <[email protected]>
* @copyright 2023 Laravel Lang Team
* @copyright 2024 Laravel Lang Team
* @license MIT
*
* @see https://laravel-lang.com
Expand Down
2 changes: 1 addition & 1 deletion app/Integrations/Integration.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* file that was distributed with this source code.
*
* @author Andrey Helldar <[email protected]>
* @copyright 2023 Laravel Lang Team
* @copyright 2024 Laravel Lang Team
* @license MIT
*
* @see https://laravel-lang.com
Expand Down
2 changes: 1 addition & 1 deletion app/Processors/Cldr.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* file that was distributed with this source code.
*
* @author Andrey Helldar <[email protected]>
* @copyright 2023 Laravel Lang Team
* @copyright 2024 Laravel Lang Team
* @license MIT
*
* @see https://laravel-lang.com
Expand Down
2 changes: 1 addition & 1 deletion app/Processors/Collect.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* file that was distributed with this source code.
*
* @author Andrey Helldar <[email protected]>
* @copyright 2023 Laravel Lang Team
* @copyright 2024 Laravel Lang Team
* @license MIT
*
* @see https://laravel-lang.com
Expand Down
2 changes: 1 addition & 1 deletion app/Processors/Processor.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* file that was distributed with this source code.
*
* @author Andrey Helldar <[email protected]>
* @copyright 2023 Laravel Lang Team
* @copyright 2024 Laravel Lang Team
* @license MIT
*
* @see https://laravel-lang.com
Expand Down
2 changes: 1 addition & 1 deletion app/Services/Process.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* file that was distributed with this source code.
*
* @author Andrey Helldar <[email protected]>
* @copyright 2023 Laravel Lang Team
* @copyright 2024 Laravel Lang Team
* @license MIT
*
* @see https://laravel-lang.com
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@
"php": "^8.1",
"ext-json": "*",
"dragon-code/support": "^6.11",
"illuminate/collections": "^10.0"
"illuminate/collections": "^10.0 || ^11.0"
},
"require-dev": {
"illuminate/support": "^10.0",
"illuminate/support": "^10.0 || ^11.0",
"laravel-lang/locale-list": "^1.2",
"pestphp/pest": "^2.24.3",
"punic/punic": "^3.8",
Expand Down
2 changes: 1 addition & 1 deletion phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
~ file that was distributed with this source code.
~
~ @author Andrey Helldar <[email protected]>
~ @copyright 2023 Laravel Lang Team
~ @copyright 2024 Laravel Lang Team
~ @license MIT
~
~ @see https://laravel-lang.com
Expand Down
2 changes: 1 addition & 1 deletion src/CountryNames.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* file that was distributed with this source code.
*
* @author Andrey Helldar <[email protected]>
* @copyright 2023 Laravel Lang Team
* @copyright 2024 Laravel Lang Team
* @license MIT
*
* @see https://laravel-lang.com
Expand Down
2 changes: 1 addition & 1 deletion src/Data/CountryData.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* file that was distributed with this source code.
*
* @author Andrey Helldar <[email protected]>
* @copyright 2023 Laravel Lang Team
* @copyright 2024 Laravel Lang Team
* @license MIT
*
* @see https://laravel-lang.com
Expand Down
2 changes: 1 addition & 1 deletion src/Enums/SortBy.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* file that was distributed with this source code.
*
* @author Andrey Helldar <[email protected]>
* @copyright 2023 Laravel Lang Team
* @copyright 2024 Laravel Lang Team
* @license MIT
*
* @see https://laravel-lang.com
Expand Down
2 changes: 1 addition & 1 deletion src/Helpers/Arr.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* file that was distributed with this source code.
*
* @author Andrey Helldar <[email protected]>
* @copyright 2023 Laravel Lang Team
* @copyright 2024 Laravel Lang Team
* @license MIT
*
* @see https://laravel-lang.com
Expand Down
2 changes: 1 addition & 1 deletion src/Helpers/Path.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* file that was distributed with this source code.
*
* @author Andrey Helldar <[email protected]>
* @copyright 2023 Laravel Lang Team
* @copyright 2024 Laravel Lang Team
* @license MIT
*
* @see https://laravel-lang.com
Expand Down
2 changes: 1 addition & 1 deletion src/Services/Filesystem.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* file that was distributed with this source code.
*
* @author Andrey Helldar <[email protected]>
* @copyright 2023 Laravel Lang Team
* @copyright 2024 Laravel Lang Team
* @license MIT
*
* @see https://laravel-lang.com
Expand Down
2 changes: 1 addition & 1 deletion tests/Datasets/Locales.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* file that was distributed with this source code.
*
* @author Andrey Helldar <[email protected]>
* @copyright 2023 Laravel Lang Team
* @copyright 2024 Laravel Lang Team
* @license MIT
*
* @see https://laravel-lang.com
Expand Down
2 changes: 1 addition & 1 deletion tests/Helpers/assets.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* file that was distributed with this source code.
*
* @author Andrey Helldar <[email protected]>
* @copyright 2023 Laravel Lang Team
* @copyright 2024 Laravel Lang Team
* @license MIT
*
* @see https://laravel-lang.com
Expand Down
2 changes: 1 addition & 1 deletion tests/Helpers/flatten.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* file that was distributed with this source code.
*
* @author Andrey Helldar <[email protected]>
* @copyright 2023 Laravel Lang Team
* @copyright 2024 Laravel Lang Team
* @license MIT
*
* @see https://laravel-lang.com
Expand Down
2 changes: 1 addition & 1 deletion tests/Helpers/native.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* file that was distributed with this source code.
*
* @author Andrey Helldar <[email protected]>
* @copyright 2023 Laravel Lang Team
* @copyright 2024 Laravel Lang Team
* @license MIT
*
* @see https://laravel-lang.com
Expand Down
2 changes: 1 addition & 1 deletion tests/Pest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* file that was distributed with this source code.
*
* @author Andrey Helldar <[email protected]>
* @copyright 2023 Laravel Lang Team
* @copyright 2024 Laravel Lang Team
* @license MIT
*
* @see https://laravel-lang.com
Expand Down
2 changes: 1 addition & 1 deletion tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* file that was distributed with this source code.
*
* @author Andrey Helldar <[email protected]>
* @copyright 2023 Laravel Lang Team
* @copyright 2024 Laravel Lang Team
* @license MIT
*
* @see https://laravel-lang.com
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/EmptyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* file that was distributed with this source code.
*
* @author Andrey Helldar <[email protected]>
* @copyright 2023 Laravel Lang Team
* @copyright 2024 Laravel Lang Team
* @license MIT
*
* @see https://laravel-lang.com
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/EnumTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* file that was distributed with this source code.
*
* @author Andrey Helldar <[email protected]>
* @copyright 2023 Laravel Lang Team
* @copyright 2024 Laravel Lang Team
* @license MIT
*
* @see https://laravel-lang.com
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/IncorrectTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* file that was distributed with this source code.
*
* @author Andrey Helldar <[email protected]>
* @copyright 2023 Laravel Lang Team
* @copyright 2024 Laravel Lang Team
* @license MIT
*
* @see https://laravel-lang.com
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/NativeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* file that was distributed with this source code.
*
* @author Andrey Helldar <[email protected]>
* @copyright 2023 Laravel Lang Team
* @copyright 2024 Laravel Lang Team
* @license MIT
*
* @see https://laravel-lang.com
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/SortTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* file that was distributed with this source code.
*
* @author Andrey Helldar <[email protected]>
* @copyright 2023 Laravel Lang Team
* @copyright 2024 Laravel Lang Team
* @license MIT
*
* @see https://laravel-lang.com
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/StringTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* file that was distributed with this source code.
*
* @author Andrey Helldar <[email protected]>
* @copyright 2023 Laravel Lang Team
* @copyright 2024 Laravel Lang Team
* @license MIT
*
* @see https://laravel-lang.com
Expand Down

0 comments on commit cddca66

Please sign in to comment.