File tree Expand file tree Collapse file tree 5 files changed +16
-10
lines changed Expand file tree Collapse file tree 5 files changed +16
-10
lines changed Original file line number Diff line number Diff line change 2
2
.idea
3
3
composer.lock
4
4
phpunit.xml
5
+ /.phpunit.result.cache
Original file line number Diff line number Diff line change 2
2
3
3
All Notable changes to ` UniqueTranslation ` will be documented in this file.
4
4
5
+ ## 2.0.0 (2019-10-11)
6
+
7
+ - Upgrade dependencies to support Laravel 6
8
+
5
9
## 1.2.0 (2019-05-01)
6
10
7
11
- Enable the use of extra ` where ` clauses
Original file line number Diff line number Diff line change @@ -21,10 +21,10 @@ That's where this package comes in to play.
21
21
22
22
## ✅ Requirements
23
23
24
- - PHP >= 7.0
24
+ - PHP ^7.2
25
25
- MySQL >= 5.7
26
- - [ Laravel] ( https://laravel.com/ ) >= 5.5
27
- - [ spatie/laravel-translatable] ( https://github.com/spatie/laravel-translatable )
26
+ - [ Laravel] ( https://laravel.com/ ) >= 6 (use v1. * for Laravel 5. * )
27
+ - [ spatie/laravel-translatable] ( https://github.com/spatie/laravel-translatable ) ^4.2
28
28
29
29
## 📦 Installation
30
30
Original file line number Diff line number Diff line change 10
10
}
11
11
],
12
12
"require" : {
13
- "php" : " >=7.0.0 "
13
+ "php" : " ^7.2 "
14
14
},
15
15
"require-dev" : {
16
16
"fzaninotto/faker" : " ~1.4" ,
17
- "mockery/mockery" : " 0.9 .*" ,
18
- "orchestra/testbench" : " ~3.5 .0" ,
19
- "phpunit/phpunit" : " ~6 .0" ,
20
- "spatie/laravel-translatable" : " ^2.1 "
17
+ "mockery/mockery" : " 1.2 .*" ,
18
+ "orchestra/testbench" : " ~4 .0" ,
19
+ "phpunit/phpunit" : " ~8 .0" ,
20
+ "spatie/laravel-translatable" : " ^4.2 "
21
21
},
22
22
"autoload" : {
23
23
"psr-4" : {
Original file line number Diff line number Diff line change 6
6
use CodeZero \UniqueTranslation \UniqueTranslationServiceProvider ;
7
7
use Config ;
8
8
use Illuminate \Database \Schema \Blueprint ;
9
+ use Illuminate \Support \Str ;
9
10
use Orchestra \Testbench \TestCase as BaseTestCase ;
10
11
11
12
abstract class TestCase extends BaseTestCase
@@ -29,11 +30,11 @@ abstract class TestCase extends BaseTestCase
29
30
*
30
31
* @return void
31
32
*/
32
- public function setUp ()
33
+ protected function setUp (): void
33
34
{
34
35
parent ::setUp ();
35
36
36
- Config::set ('app.key ' , str_random (32 ));
37
+ Config::set ('app.key ' , Str:: random (32 ));
37
38
38
39
App::setLocale ('en ' );
39
40
You can’t perform that action at this time.
0 commit comments