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

Commit 74944e4

Browse files
committed
Merge pull request #44 from webimpress/qa-docs
Docs + Travis CI updates - follow up #40
2 parents fc8be19 + 76f9927 commit 74944e4

12 files changed

+430
-249
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: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ env:
1010
global:
1111
- COMPOSER_ARGS="--no-interaction"
1212
- COVERAGE_DEPS="satooshi/php-coveralls"
13-
- LEGACY_DEPS="phpunit/phpunit"
1413

1514
matrix:
1615
include:
@@ -20,15 +19,16 @@ matrix:
2019
- php: 5.6
2120
env:
2221
- DEPS=locked
23-
- CS_CHECK=true
24-
- TEST_COVERAGE=true
22+
- LEGACY_DEPS="phpunit/phpunit"
2523
- php: 5.6
2624
env:
2725
- DEPS=locked
26+
- LEGACY_DEPS="phpunit/phpunit"
2827
- HELPER_DEPS="zendframework/zend-expressive-helpers:^2.2 zendframework/zend-expressive-router:^1.3.2"
2928
- php: 5.6
3029
env:
3130
- DEPS=locked
31+
- LEGACY_DEPS="phpunit/phpunit"
3232
- HELPER_DEPS="zendframework/zend-expressive-helpers:^3.0.1"
3333
- php: 5.6
3434
env:
@@ -39,13 +39,16 @@ matrix:
3939
- php: 7
4040
env:
4141
- DEPS=locked
42+
- LEGACY_DEPS="phpunit/phpunit"
4243
- php: 7
4344
env:
4445
- DEPS=locked
46+
- LEGACY_DEPS="phpunit/phpunit"
4547
- HELPER_DEPS="zendframework/zend-expressive-helpers:^2.2 zendframework/zend-expressive-router:^1.3.2"
4648
- php: 7
4749
env:
4850
- DEPS=locked
51+
- LEGACY_DEPS="phpunit/phpunit"
4952
- HELPER_DEPS="zendframework/zend-expressive-helpers:^3.0.1"
5053
- php: 7
5154
env:
@@ -56,6 +59,8 @@ matrix:
5659
- php: 7.1
5760
env:
5861
- DEPS=locked
62+
- CS_CHECK=true
63+
- TEST_COVERAGE=true
5964
- php: 7.1
6065
env:
6166
- DEPS=locked
@@ -84,23 +89,18 @@ matrix:
8489
- php: 7.2
8590
env:
8691
- DEPS=latest
87-
allow_failures:
88-
- php: 7.2
8992

9093
before_install:
9194
- if [[ $TEST_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi
92-
- travis_retry composer self-update
9395

9496
install:
9597
- travis_retry composer install $COMPOSER_ARGS --ignore-platform-reqs
96-
- 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
9799
- if [[ $DEPS == 'latest' ]]; then travis_retry composer update $COMPOSER_ARGS ; fi
98100
- if [[ $DEPS == 'lowest' ]]; then travis_retry composer update --prefer-lowest --prefer-stable $COMPOSER_ARGS ; fi
99101
- if [[ $HELPER_DEPS != '' ]]; then travis_retry composer require $COMPOSER_ARGS --update-with-dependencies $HELPER_DEPS ; fi
100102
- if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry composer require --dev $COMPOSER_ARGS $COVERAGE_DEPS ; fi
101-
- stty cols 120
102-
- export COLUMNS=120
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

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: 30 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,39 @@
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-dev",
53+
"dev-develop": "1.5-dev"
54+
}
4455
},
4556
"scripts": {
4657
"check": [
4758
"@license-check",
4859
"@cs-check",
4960
"@test"
5061
],
51-
"upload-coverage": "coveralls -v",
52-
"cs-check": "phpcs --colors",
53-
"cs-fix": "phpcbf --colors",
54-
"license-check": "docheader check src/ test/",
62+
"cs-check": "phpcs",
63+
"cs-fix": "phpcbf",
5564
"test": "phpunit --colors=always",
56-
"test-coverage": "phpunit --coverage-clover clover.xml"
65+
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml",
66+
"upload-coverage": "coveralls -v",
67+
"license-check": "docheader check src/ test/"
5768
}
5869
}

0 commit comments

Comments
 (0)