Skip to content

Commit 5517b40

Browse files
committed
Merge branch 'Asgraf-patch-1'
2 parents 56cbba2 + f4f4b79 commit 5517b40

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@ env:
1414
matrix:
1515
include:
1616
- php: 5.6
17-
env: CAKEPHP_VERSION=3.4.*
17+
env: CAKEPHP_VERSION=3.5.0
1818
- php: 5.6
1919
env: CAKEPHP_VERSION=3.5.*
2020
- php: 7.0
21-
env: CAKEPHP_VERSION=3.4.*
21+
env: CAKEPHP_VERSION=3.5.0
2222
- php: 7.0
2323
env: CAKEPHP_VERSION=3.5.*
2424
- php: 7.1
25-
env: CAKEPHP_VERSION=3.4.*
25+
env: CAKEPHP_VERSION=3.5.0
2626
- php: 7.1
2727
env: CAKEPHP_VERSION=3.5.*
2828
- php: 7.2
29-
env: CAKEPHP_VERSION=3.4.*
29+
env: CAKEPHP_VERSION=3.5.0
3030
- php: 7.2
3131
env: CAKEPHP_VERSION=3.5.*
3232

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ The full plugin documentation is available at https://holt59.github.io/cakephp3-
4444

4545
| Version | Bootstrap version | CakePHP version | Information |
4646
|---------|-------------------|-----------------|-------------|
47-
| [master](https://github.com/Holt59/cakephp3-bootstrap-helpers/tree/master) / [3.1.2](https://github.com/Holt59/cakephp3-bootstrap-helpers/tree/v3.1.2) | 3 | >= 3.4.0 | Current active branch. |
48-
| > 3.0.5, <= [3.1.1](https://github.com/Holt59/cakephp3-bootstrap-helpers/tree/v3.1.1) | 3 | >= 3.2.3, < 3.4.0 | Not actively maintained (open issue(s) if necessary). |
49-
| <= 3.0.5 | 3 | >= 3.0.0 | Deprecated. |
47+
| [master](https://github.com/Holt59/cakephp3-bootstrap-helpers/tree/master) | 3 | >= 3.5.0 | Current active branch. |
48+
| [3.1.2](https://github.com/Holt59/cakephp3-bootstrap-helpers/tree/v3.1.2) | 3 | >= 3.4.0, < 3.5.0 | Not actively maintained (open issue(s) if necessary). |
49+
| <= [3.1.1](https://github.com/Holt59/cakephp3-bootstrap-helpers/tree/v3.1.1) | 3 | < 3.4.0 | Deprecated. |
5050
| [4.0.1-alpha](https://github.com/Holt59/cakephp3-bootstrap-helpers/tree/4.0.1-alpha) | 4 | >= 3.4.0 | Alpha, not all helpers are available. |
5151

5252
#### Contributing

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"type": "cakephp-plugin",
77
"require": {
88
"php": ">=5.5.9",
9-
"cakephp/cakephp": ">=3.4.0"
9+
"cakephp/cakephp": ">=3.5.0"
1010
},
1111
"require-dev": {
1212
"phpunit/phpunit": "<6.0",

src/View/Helper/FlashHelper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function render($key = 'flash', array $options = []) {
3737
return;
3838
}
3939

40-
$flash = $this->request->session()->read("Flash.$key");
40+
$flash = $this->request->getSession()->read("Flash.$key");
4141
if (!is_array($flash)) {
4242
throw new \UnexpectedValueException(sprintf(
4343
'Value for flash setting key "%s" must be an array.',
@@ -49,7 +49,7 @@ public function render($key = 'flash', array $options = []) {
4949
$message['element'] = 'Bootstrap.'.$message['element'];
5050
}
5151
}
52-
$this->request->session()->write("Flash.$key", $flash);
52+
$this->request->getSession()->write("Flash.$key", $flash);
5353

5454
return parent::render($key, $options);
5555
}

0 commit comments

Comments
 (0)