Skip to content

Commit

Permalink
Merge pull request #1 from Laravel-Lang/2.x
Browse files Browse the repository at this point in the history
Upgrade to `laravel-lang/publisher` 13.x
  • Loading branch information
andrey-helldar authored Feb 12, 2023
2 parents f99fd78 + f4f5ea3 commit 1b7ebf1
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 12 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,12 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [ "7.3", "7.4", "8.0", "8.1" ]
php: [ "8.0", "8.1" ]
laravel: [ "7.0", "8.0", "9.0" ]
exclude:
- laravel: "7.0"
php: 8.1

- laravel: "9.0"
php: 7.3

- laravel: "9.0"
php: 7.4

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

steps:
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# MIT License

Copyright (c) 2023 Laravel-Lang Team
Copyright (c) 2023 Laravel-Lang Team, Andrey Helldar

> Permission is hereby granted, free of charge, to any person obtaining a copy
> of this software and associated documentation files (the "Software"), to deal
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Or manually update `require` block of `composer.json` and run the `composer upda
```json
{
"require": {
"laravel-lang/common": "^1.0"
"laravel-lang/common": "^2.0"
}
}
```
Expand All @@ -31,6 +31,7 @@ Or manually update `require` block of `composer.json` and run the `composer upda

| Laravel, Lumen | PHP | Package Version | What packages will be installed |
|----------------|--------------------|---------------------------------------------|--------------------------------------------------------------|
| 7.x, 8.x, 9.x | 8.0, 8.1 | `composer require laravel-lang/common:^2.0` | Publisher 13.x, Lang 10.x, Attributes 1.x, HTTP Statuses 2.x |
| 7.x, 8.x, 9.x | 7.3, 7.4, 8.0, 8.1 | `composer require laravel-lang/common:^1.0` | Publisher 12.x, Lang 10.x, Attributes 1.x, HTTP Statuses 2.x |

## License
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@
"source": "https://github.com/Laravel-Lang/common"
},
"require": {
"php": "^7.3 || ^8.0",
"php": "^8.0",
"illuminate/translation": "^7.0 || ^8.0 || ^9.0",
"laravel-lang/attributes": "^1.0",
"laravel-lang/http-statuses": "^2.0",
"laravel-lang/lang": "^10.0",
"laravel-lang/publisher": "^12.0"
"laravel-lang/publisher": "^13.0"
},
"require-dev": {
"orchestra/testbench": "^5.0 || ^6.0 || ^7.0",
Expand Down
2 changes: 1 addition & 1 deletion tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Tests;

use DragonCode\Support\Facades\Helpers\Filesystem\Directory;
use DragonCode\Support\Facades\Filesystem\Directory;
use LaravelLang\Attributes\ServiceProvider as AttributesServiceProvider;
use LaravelLang\HttpStatuses\ServiceProvider as HttpStatusesServiceProvider;
use LaravelLang\Lang\ServiceProvider as LangServiceProvider;
Expand Down

0 comments on commit 1b7ebf1

Please sign in to comment.