Skip to content

Commit 41c3b48

Browse files
committed
Add Laravel 6 support
1 parent adcc832 commit 41c3b48

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
language: php
22

33
php:
4-
- 7.1
54
- 7.2
65
- 7.3
76

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@
1212
"email": "dmitry.g.ivanov@gmail.com"
1313
}],
1414
"require": {
15-
"php": "^7.1.3",
16-
"illuminate/support": "5.8.*",
17-
"illuminate/database": "5.8.*",
18-
"mockery/mockery": "^1.0"
15+
"php": "^7.2",
16+
"illuminate/support": "^6.0",
17+
"illuminate/database": "^6.0",
18+
"mockery/mockery": "^1.2"
1919
},
2020
"require-dev": {
21-
"phpunit/phpunit": "^7.5|^8.0",
22-
"orchestra/testbench": "3.8.*"
21+
"phpunit/phpunit": "^8.3",
22+
"orchestra/testbench": "^4.0"
2323
},
2424
"autoload": {
2525
"psr-4": {

src/Asserts/EloquentAsserts.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ protected function assertEloquentHasCreateManyFor($class, $relation, $createMany
113113
$hasManyRelation = (new $class)->{$relation}();
114114
$this->assertInstanceOf(HasMany::class, $hasManyRelation);
115115

116-
$createManyMethod = !empty($createManyMethod) ? $createManyMethod : 'createMany' . title_case($relation);
116+
$createManyMethod = !empty($createManyMethod) ? $createManyMethod : 'createMany' . Str::title($relation);
117117
$this->assertMethodExists($class, $createManyMethod);
118118

119119
$childModel = $hasManyRelation->getRelated();

0 commit comments

Comments
 (0)