Skip to content

Commit c4c8791

Browse files
author
Adam Engebretson
committed
Updating for 5.3
1 parent abec449 commit c4c8791

File tree

3 files changed

+18
-12
lines changed

3 files changed

+18
-12
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
language: php
22

33
php:
4-
- 5.5
54
- 5.6
65
- 7.0
6+
- 7.1
77
- hhvm
88

99
sudo: false

composer.json

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,17 @@
1818
}
1919
],
2020
"require": {
21-
"php": ">=5.5.9",
22-
"illuminate/http": "5.2.*",
23-
"illuminate/routing": "5.2.*",
24-
"illuminate/session": "5.2.*",
25-
"illuminate/support": "5.2.*",
26-
"illuminate/view": "5.2.*"
21+
"php": ">=5.6.4",
22+
"illuminate/http": "5.3.*",
23+
"illuminate/routing": "5.3.*",
24+
"illuminate/session": "5.3.*",
25+
"illuminate/support": "5.3.*",
26+
"illuminate/view": "5.3.*"
2727
},
2828
"require-dev": {
29-
"illuminate/database": "5.2.*",
30-
"mockery/mockery": "~0.9",
31-
"phpunit/phpunit": "~4.0"
29+
"illuminate/database": "5.3.*",
30+
"mockery/mockery": "~0.9.4",
31+
"phpunit/phpunit": "~5.4"
3232
},
3333
"autoload": {
3434
"psr-4": {
@@ -37,5 +37,11 @@
3737
"files": [
3838
"src/helpers.php"
3939
]
40-
}
40+
},
41+
"extra": {
42+
"branch-alias": {
43+
"dev-master": "5.3-dev"
44+
}
45+
},
46+
"minimum-stability": "dev"
4147
}

src/Eloquent/FormAccessible.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ protected function hasFormMutator($key)
5555
$methods = $this->getReflection()->getMethods(ReflectionMethod::IS_PUBLIC);
5656

5757
$mutator = collect($methods)
58-
->first(function ($index, ReflectionMethod $method) use ($key) {
58+
->first(function (ReflectionMethod $method) use ($key) {
5959
return $method->getName() == 'form' . Str::studly($key) . 'Attribute';
6060
});
6161

0 commit comments

Comments
 (0)