Skip to content
This repository was archived by the owner on Jan 31, 2020. It is now read-only.

Commit 5633881

Browse files
committed
Merge branch 'hotfix/135' into develop
Close #135
2 parents e1ec5ed + f0192c9 commit 5633881

File tree

8 files changed

+61
-54
lines changed

8 files changed

+61
-54
lines changed

.travis.yml

Lines changed: 9 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,9 @@ sudo: false
22

33
language: php
44

5-
branches:
6-
except:
7-
- /^release-.*$/
8-
- /^ghgfk-.*$/
9-
105
cache:
116
directories:
127
- $HOME/.composer/cache
13-
- $HOME/.local
14-
- zf-mkdoc-theme
158

169
env:
1710
global:
@@ -20,11 +13,6 @@ env:
2013
- COVERAGE_DEPS="php-coveralls/php-coveralls"
2114
- LEGACY_DEPS="phpunit/phpunit"
2215
- LATEST_DEPS="zendframework/zend-mvc-plugin-flashmessenger zendframework/zend-mvc-i18n zendframework/zend-mvc-console"
23-
- SITE_URL=https://zendframework.github.io/zend-view
24-
- GH_USER_NAME="Matthew Weier O'Phinney"
25-
26-
- GH_REF=github.com/zendframework/zend-view.git
27-
- secure: "kF7z5CxnrD/lsX9sP1+SYLKm1HdT/u1F0xovlyT9fDWrz+X4DBe8Oybzk6UX5HKXQvdhVTfAbHoWhFxFrkcRKrtaEOltk68bYFgnSOYhrK5EhZz6CHqN2j1MtT6FRfdlSOi6OECvCE3wd8nYHixxEviIZyB3L5+H39FOiu5Zi+eJT/myp6IuBO6lQfnSgqKdvuQXlfWSn9VGQJztX6ea2U89eM/TAVWEwbhLAJOsOejkvAy2lvYhIZpvSEkFm9jSp3/JOw8MFljG8UEDZUkpj+zba5/vqzM8thTTbybhAIBF7wNeMNrAeFBnrPz5KDPEQYYG8NG4we6F7GvbevvBz+ej5OJPXx/ulhMiEWKN1qEmQHZ3Gl0kG0O+TgXfqLErbCNn4MLP/K0Avar03m9bvXtaTA5Yqde0rIdspjwdxmKi0OI76UnGETMDyWuXbHkRfhs54sUEOBUdM3dz5lXhlSWPCTlQCgzkVqlgTL5b8b1u7YKpkwJAFSXMhhJBycFCNCfqAy10l2wjgvhXhLgPHle7sSwYR6SMVzkjj59P1UKc2yrxkwl/S7cqrbaeGSGjDv/QVMLtBL3OLqXwIaKy3POF2gQJhFXdrmGzDOADyCbEXVUYve5pQOmT1RdVHaHiT7AmZXEQibR1DW2zzU9eX94XpK9LKzlSzUOtYT8LNNA="
2816

2917
matrix:
3018
include:
@@ -34,9 +22,6 @@ matrix:
3422
- php: 5.6
3523
env:
3624
- DEPS=locked
37-
- TEST_COVERAGE=true
38-
- DEPLOY_DOCS="$(if [[ $TRAVIS_BRANCH == 'master' && $TRAVIS_PULL_REQUEST == 'false' ]]; then echo -n 'true' ; else echo -n 'false' ; fi)"
39-
- PATH="$HOME/.local/bin:$PATH"
4025
- php: 5.6
4126
env:
4227
- DEPS=latest
@@ -46,6 +31,8 @@ matrix:
4631
- php: 7
4732
env:
4833
- DEPS=locked
34+
- CS_CHECK=true
35+
- TEST_COVERAGE=true
4936
- php: 7
5037
env:
5138
- DEPS=latest
@@ -58,25 +45,18 @@ matrix:
5845
- php: 7.1
5946
env:
6047
- DEPS=latest
61-
- php: hhvm
48+
- php: 7.2
6249
env:
6350
- DEPS=lowest
64-
- php: hhvm
51+
- php: 7.2
6552
env:
6653
- DEPS=locked
67-
- php: hhvm
54+
- php: 7.2
6855
env:
6956
- DEPS=latest
70-
allow_failures:
71-
- php: hhvm
72-
73-
notifications:
74-
irc: "irc.freenode.org#zftalk.dev"
75-
email: false
7657

7758
before_install:
7859
- if [[ $TEST_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi
79-
- composer self-update
8060

8161
install:
8262
- travis_retry composer install $COMPOSER_ARGS --ignore-platform-reqs
@@ -85,15 +65,14 @@ install:
8565
- if [[ $DEPS == 'latest' ]]; then travis_retry composer update $COMPOSER_ARGS ; fi
8666
- if [[ $DEPS == 'lowest' ]]; then travis_retry composer update --prefer-lowest --prefer-stable $COMPOSER_ARGS ; fi
8767
- if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry composer require --dev $COMPOSER_ARGS $COVERAGE_DEPS ; fi
88-
- composer show --installed
68+
- stty cols 120 && composer show
8969

9070
script:
9171
- if [[ $TEST_COVERAGE == 'true' ]]; then composer test-coverage ; else composer test ; fi
9272
- if [[ $CS_CHECK == 'true' ]]; then composer cs-check ; fi
93-
- if [[ $DEPLOY_DOCS == "true" && "$TRAVIS_TEST_RESULT" == "0" ]]; then wget -O theme-installer.sh "https://raw.githubusercontent.com/zendframework/zf-mkdoc-theme/master/theme-installer.sh" ; chmod 755 theme-installer.sh ; ./theme-installer.sh ; fi
94-
95-
after_success:
96-
- if [[ $DEPLOY_DOCS == "true" ]]; then echo "Preparing to build and deploy documentation" ; ./zf-mkdoc-theme/deploy.sh ; echo "Completed deploying documentation" ; fi
9773

9874
after_script:
9975
- if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry php vendor/bin/php-coveralls -v ; fi
76+
77+
notifications:
78+
email: false

CHANGELOG.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ All notable changes to this project will be documented in this file, in reverse
66

77
### Added
88

9-
- Nothing.
9+
- [#135](https://github.com/zendframework/zend-view/pull/135) adds support
10+
for PHP 7.2.
1011

1112
### Changed
1213

@@ -18,7 +19,8 @@ All notable changes to this project will be documented in this file, in reverse
1819

1920
### Removed
2021

21-
- Nothing.
22+
- [#135](https://github.com/zendframework/zend-view/pull/135) removes support
23+
for HHVM.
2224

2325
### Fixed
2426

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
"zendframework/zend-permissions-acl": "^2.6",
4040
"zendframework/zend-router": "^3.0.1",
4141
"zendframework/zend-serializer": "^2.6.1",
42-
"zendframework/zend-session": "^2.6.2",
4342
"zendframework/zend-servicemanager": "^2.7.5 || ^3.0.3",
43+
"zendframework/zend-session": "^2.8.1",
4444
"zendframework/zend-uri": "^2.5"
4545
},
4646
"suggest": {

composer.lock

Lines changed: 23 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Helper/HeadMeta.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,9 @@ public function setCharset($charset)
473473
$item->modifiers = [];
474474

475475
if (! $this->isValid($item)) {
476-
throw new Exception\InvalidArgumentException('XHTML* doctype has no attribute charset; please use appendHttpEquiv()');
476+
throw new Exception\InvalidArgumentException(
477+
'XHTML* doctype has no attribute charset; please use appendHttpEquiv()'
478+
);
477479
}
478480

479481
$this->set($item);
Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
<?php
2-
echo implode(', ', array_map(
3-
create_function('$a', 'return $a->getLabel();'),
4-
$this->vars()->pages));
2+
echo implode(
3+
', ',
4+
array_map(
5+
function($a) {
6+
return $a->getLabel();
7+
},
8+
$this->vars()->pages
9+
)
10+
);
Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
<?php
2-
echo implode($this->vars()->separator, array_map(
3-
create_function('$a', 'return $a->getLabel();'),
4-
$this->vars()->pages));
2+
echo implode(
3+
$this->vars()->separator,
4+
array_map(
5+
function($a) {
6+
return $a->getLabel();
7+
},
8+
$this->vars()->pages
9+
)
10+
);

test/Helper/Navigation/_files/mvc/views/bc_with_partial_params.phtml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ echo $this->variable . PHP_EOL;
33
echo implode(
44
$this->vars()->separator,
55
array_map(
6-
create_function('$a', 'return $a->getLabel();'),
6+
function($a) {
7+
return $a->getLabel();
8+
},
79
$this->vars()->pages
810
)
911
);

0 commit comments

Comments
 (0)