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

Commit 848e79d

Browse files
committed
Merge branch 'hotfix/qa-tools-and-branches' into develop
Forward port #40 Forward port #44
2 parents 94a94db + 5b83a23 commit 848e79d

12 files changed

+437
-264
lines changed

.gitattributes

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
/test export-ignore
2-
.coveralls.yml
3-
.gitattributes export-ignore
4-
.gitignore export-ignore
5-
.travis.yml export-ignore
6-
phpcs.xml export-ignore
7-
.docheader export-ignore
8-
CONDUCT.md export-ignore
9-
CONTRIBUTING.md export-ignore
10-
phpunit.xml.dist export-ignore
1+
/.coveralls.yml export-ignore
2+
/.docheader export-ignore
3+
/.gitattributes export-ignore
4+
/.gitignore export-ignore
5+
/.travis.yml export-ignore
6+
/composer.lock export-ignore
7+
/docs/ export-ignore
8+
/phpcs.xml export-ignore
9+
/phpunit.xml.dist export-ignore
10+
/test/ export-ignore

.gitignore

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
vendor/
2-
phpunit.xml
3-
clover.xml
4-
coveralls-upload.json
1+
/clover.xml
2+
/coveralls-upload.json
3+
/phpunit.xml
4+
/vendor/

.travis.yml

Lines changed: 15 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,11 @@ language: php
55
cache:
66
directories:
77
- $HOME/.composer/cache
8-
- $HOME/.local
9-
- vendor
108

119
env:
1210
global:
1311
- COMPOSER_ARGS="--no-interaction"
1412
- COVERAGE_DEPS="satooshi/php-coveralls"
15-
- LEGACY_DEPS="phpunit/phpunit"
1613

1714
matrix:
1815
include:
@@ -22,14 +19,16 @@ matrix:
2219
- php: 5.6
2320
env:
2421
- DEPS=locked
25-
- TEST_COVERAGE=true
22+
- LEGACY_DEPS="phpunit/phpunit"
2623
- php: 5.6
2724
env:
2825
- DEPS=locked
26+
- LEGACY_DEPS="phpunit/phpunit"
2927
- HELPER_DEPS="zendframework/zend-expressive-helpers:^2.2 zendframework/zend-expressive-router:^1.3.2"
3028
- php: 5.6
3129
env:
3230
- DEPS=locked
31+
- LEGACY_DEPS="phpunit/phpunit"
3332
- HELPER_DEPS="zendframework/zend-expressive-helpers:^3.0.1"
3433
- php: 5.6
3534
env:
@@ -40,14 +39,16 @@ matrix:
4039
- php: 7
4140
env:
4241
- DEPS=locked
43-
- CS_CHECK=true
42+
- LEGACY_DEPS="phpunit/phpunit"
4443
- php: 7
4544
env:
4645
- DEPS=locked
46+
- LEGACY_DEPS="phpunit/phpunit"
4747
- HELPER_DEPS="zendframework/zend-expressive-helpers:^2.2 zendframework/zend-expressive-router:^1.3.2"
4848
- php: 7
4949
env:
5050
- DEPS=locked
51+
- LEGACY_DEPS="phpunit/phpunit"
5152
- HELPER_DEPS="zendframework/zend-expressive-helpers:^3.0.1"
5253
- php: 7
5354
env:
@@ -58,6 +59,8 @@ matrix:
5859
- php: 7.1
5960
env:
6061
- DEPS=locked
62+
- CS_CHECK=true
63+
- TEST_COVERAGE=true
6164
- php: 7.1
6265
env:
6366
- DEPS=locked
@@ -69,38 +72,35 @@ matrix:
6972
- php: 7.1
7073
env:
7174
- DEPS=latest
72-
- php: hhvm
75+
- php: 7.2
7376
env:
7477
- DEPS=lowest
75-
- php: hhvm
78+
- php: 7.2
7679
env:
7780
- DEPS=locked
78-
- php: hhvm
81+
- php: 7.2
7982
env:
8083
- DEPS=locked
8184
- HELPER_DEPS="zendframework/zend-expressive-helpers:^2.2 zendframework/zend-expressive-router:^1.3.2"
82-
- php: hhvm
85+
- php: 7.2
8386
env:
8487
- DEPS=locked
8588
- HELPER_DEPS="zendframework/zend-expressive-helpers:^3.0.1"
86-
- php: hhvm
89+
- php: 7.2
8790
env:
8891
- DEPS=latest
89-
allow_failures:
90-
- php: hhvm
9192

9293
before_install:
9394
- if [[ $TEST_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi
94-
- travis_retry composer self-update
9595

9696
install:
9797
- travis_retry composer install $COMPOSER_ARGS --ignore-platform-reqs
98-
- if [[ $TRAVIS_PHP_VERSION =~ ^5.6 ]]; then travis_retry composer update $COMPOSER_ARGS --with-dependencies $LEGACY_DEPS ; fi
98+
- if [[ $LEGACY_DEPS != '' ]]; then travis_retry composer update $COMPOSER_ARGS --with-dependencies $LEGACY_DEPS ; fi
9999
- if [[ $DEPS == 'latest' ]]; then travis_retry composer update $COMPOSER_ARGS ; fi
100100
- if [[ $DEPS == 'lowest' ]]; then travis_retry composer update --prefer-lowest --prefer-stable $COMPOSER_ARGS ; fi
101101
- if [[ $HELPER_DEPS != '' ]]; then travis_retry composer require $COMPOSER_ARGS --update-with-dependencies $HELPER_DEPS ; fi
102102
- if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry composer require --dev $COMPOSER_ARGS $COVERAGE_DEPS ; fi
103-
- composer show
103+
- stty cols 120 && composer show
104104

105105
script:
106106
- if [[ $TEST_COVERAGE == 'true' ]]; then composer test-coverage ; else composer test ; fi
@@ -112,13 +112,3 @@ after_script:
112112

113113
notifications:
114114
email: false
115-
irc:
116-
channels:
117-
- "irc.freenode.org#zftalk.dev"
118-
on_success: change
119-
on_failure: always
120-
slack:
121-
rooms:
122-
- secure: "e6NSTxYfduEBE4M4ywNmlzWSA1WP/dl5KAsjkQZjKAQMYKNZZ4H6amNF3fyfoq9m8z/oozJYCGPzHwVAnOkK2dr8m3Kv9dfk6T8EeB9o55uBEevwlnqIX48Ls+IKI1ZbTu1+hrUkDRGhIRoEdzDXQR0iBD7bE1TyRvWCoaBTyH4XhOboDJEC+ohVC3TO/uAtvrwpCuZ6U1blUeh+XNy79TrWVoO0erQc/UdNcee8688iUqNHGN7Ds35x/vYuvZnNWrqVH0nW6SUst4KQwFMV25X8LuPd6ZU4NhCog2Q5kZoq+Dw/o7Umdn3qqnjT9sgcDIwdEtb2LYr66nM4fdRe/ueH7EgxSd0x6bBDdSccgj7dNytTD8wh70gLmiKxOK5oomBtVb6XF3dmVzRtY/GMzAXjg7SMWDrqxXU7VXBovENz/nS3AWW+2hOIazkbumq1oDXA/KSFgMEOG40yfRHohOkB0h9CQOypPmnm7G5T4Dn3Zwvkqltrz4YFTtSUflgxl97OQsnwJdCUY7NxZusY4vrrlqGzFvwago5kpFRbBzONaHh5qmIX9KKeCDiITjIV5UO9yZLSQyZCR74THn0TJ2CfcCnW4vKbOHAPVgZRd/XS5JxvxAxN6kozl+4YC33ZJEDSlWMS4C7AxJ0MR/Vu4o93rQxAMqJ1L1Y56adEeBw="
123-
on_success: change
124-
on_failure: always

LICENSE.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
Copyright (c) 2015-2017, Zend Technologies USA, Inc.
2-
32
All rights reserved.
43

54
Redistribution and use in source and binary forms, with or without modification,
65
are permitted provided that the following conditions are met:
76

8-
- Redistributions of source code must retain the above copyright notice,
9-
this list of conditions and the following disclaimer.
7+
- Redistributions of source code must retain the above copyright notice, this
8+
list of conditions and the following disclaimer.
109

11-
- Redistributions in binary form must reproduce the above copyright notice,
12-
this list of conditions and the following disclaimer in the documentation
13-
and/or other materials provided with the distribution.
10+
- Redistributions in binary form must reproduce the above copyright notice, this
11+
list of conditions and the following disclaimer in the documentation and/or
12+
other materials provided with the distribution.
1413

1514
- Neither the name of Zend Technologies USA, Inc. nor the names of its
1615
contributors may be used to endorse or promote products derived from this

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# zend-view PhpRenderer Integration for Expressive
22

33
[![Build Status](https://secure.travis-ci.org/zendframework/zend-expressive-zendviewrenderer.svg?branch=master)](https://secure.travis-ci.org/zendframework/zend-expressive-zendviewrenderer)
4-
[![Coverage Status](https://coveralls.io/repos/zendframework/zend-expressive-zendviewrenderer/badge.svg?branch=master)](https://coveralls.io/r/zendframework/zend-expressive-zendviewrenderer?branch=master)
4+
[![Coverage Status](https://coveralls.io/repos/github/zendframework/zend-expressive-zendviewrenderer/badge.svg?branch=master)](https://coveralls.io/github/zendframework/zend-expressive-zendviewrenderer?branch=master)
55

66
[zend-view PhpRenderer](https://github.com/zendframework/zend-view) integration
77
for [Expressive](https://github.com/zendframework/zend-expressive).

composer.json

Lines changed: 31 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,23 @@
11
{
22
"name": "zendframework/zend-expressive-zendviewrenderer",
33
"description": "zend-view PhpRenderer integration for Expressive",
4-
"type": "library",
54
"license": "BSD-3-Clause",
65
"keywords": [
76
"expressive",
87
"http",
98
"middleware",
109
"psr",
1110
"psr-7",
12-
"zf"
11+
"zf",
12+
"zendframework",
13+
"zend-expressive"
1314
],
14-
"extra": {
15-
"branch-alias": {
16-
"dev-master": "1.4-dev",
17-
"dev-develop": "1.5-dev"
18-
}
15+
"support": {
16+
"issues": "https://github.com/zendframework/zend-expressive-zendviewrenderer/issues",
17+
"source": "https://github.com/zendframework/zend-expressive-zendviewrenderer",
18+
"rss": "https://github.com/zendframework/zend-expressive-zendviewrenderer/releases.atom",
19+
"slack": "https://zendframework-slack.herokuapp.com",
20+
"forum": "https://discourse.zendframework.com/c/questions/expressive"
1921
},
2022
"require": {
2123
"php": "^5.6 || ^7.0",
@@ -29,30 +31,40 @@
2931
},
3032
"require-dev": {
3133
"malukenho/docheader": "^0.1.5",
32-
"phpunit/phpunit": "^6.0.8 || ^5.7.15",
34+
"phpunit/phpunit": "^5.7.23 || ^6.4.3",
3335
"zendframework/zend-coding-standard": "~1.0.0"
3436
},
3537
"autoload": {
36-
"psr-4": {
37-
"Zend\\Expressive\\ZendView\\": "src/"
38-
}
38+
"psr-4": {
39+
"Zend\\Expressive\\ZendView\\": "src/"
40+
}
3941
},
4042
"autoload-dev": {
41-
"psr-4": {
42-
"ZendTest\\Expressive\\ZendView\\": "test/"
43-
}
43+
"psr-4": {
44+
"ZendTest\\Expressive\\ZendView\\": "test/"
45+
}
46+
},
47+
"config": {
48+
"sort-packages": true
49+
},
50+
"extra": {
51+
"branch-alias": {
52+
"dev-master": "1.4.x-dev",
53+
"dev-develop": "1.5.x-dev",
54+
"dev-release-2.0.0": "2.0.x-dev"
55+
}
4456
},
4557
"scripts": {
4658
"check": [
4759
"@license-check",
4860
"@cs-check",
4961
"@test"
5062
],
51-
"upload-coverage": "coveralls -v",
52-
"cs-check": "phpcs --colors",
53-
"cs-fix": "phpcbf --colors",
54-
"license-check": "docheader check src/ test/",
63+
"cs-check": "phpcs",
64+
"cs-fix": "phpcbf",
5565
"test": "phpunit --colors=always",
56-
"test-coverage": "phpunit --coverage-clover clover.xml"
66+
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml",
67+
"upload-coverage": "coveralls -v",
68+
"license-check": "docheader check src/ test/"
5769
}
5870
}

0 commit comments

Comments
 (0)