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

Commit a3abacf

Browse files
committed
Merging develop to master in preparation for 2.7.0 release
2 parents 0ba2094 + 0c49377 commit a3abacf

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+2295
-491
lines changed

.coveralls.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
coverage_clover: clover.xml
22
json_path: coveralls-upload.json
3-
src_dir: src

.gitattributes

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

.gitignore

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,7 @@
1-
.buildpath
2-
.DS_Store
3-
.idea
4-
.project
5-
.settings/
6-
.*.sw*
7-
.*.un~
8-
nbproject
9-
doc/html/
10-
tmp/
11-
zf-mkdoc-theme/
12-
13-
clover.xml
14-
composer.lock
15-
coveralls-upload.json
16-
phpunit.xml
17-
vendor
1+
/clover.xml
2+
/coveralls-upload.json
3+
/docs/html/
4+
/phpunit.xml
5+
/vendor/
6+
/zf-mkdoc-theme.tgz
7+
/zf-mkdoc-theme/

.php_cs

Lines changed: 0 additions & 45 deletions
This file was deleted.

.travis.yml

Lines changed: 46 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -2,75 +2,75 @@ 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:
18-
- SITE_URL: https://zendframework.github.io/zend-text
19-
- GH_USER_NAME: "Matthew Weier O'Phinney"
20-
- GH_USER_EMAIL: [email protected]
21-
- GH_REF: github.com/zendframework/zend-text.git
22-
- secure: "PByCrJOLcuybgT2Kk3bb5gPrv1sD2MiOa/3ZBs0EN1TF7mhtc7w6EaatD1TCKEWT8VhbsCvZNZzl7/PdetxXS09Ld8s2vshM6KbGSjn+TTmiNOq/GuvBGBTD9VVeAG0MKn0sq/Aq0NMM5Onelu0kAmOFb5yj3P5lXSc4MzWOBYBkbCBNjd7RYFZ+5YzSb9BdGPP2P2OvoTxBmmfZuZ5l0U9agarLejURVzlppLriL35dVdmo/CA2Ki4lOVEUVCuO4iR7qEz7TokWrku9y+p7hk5TfHeC3FF8jeyXiklCKT2kT0wbWcE5IV/kkzPBUdcVdpXL0hA8BKekLiNhpRnqDKBaBtQmp5VocgPEWlxtOweb0rs5KfPjxPpjNQ6FGg2DiA95nswrLAJIPYZyG+RKaL98kfzAC62V81x2OK1PEI5FXOqZxNjrJKPw345VHi8aMCnGDtbA3YN6Jke1Syy0hpQ5gs4x8CqaiJVCKI70rbjZE+ZXBIo/PO6VyI8km2cpG69jCUKO9Jt/q5ZbbIPAXPElpS2BezGs8Qqz99JGBAfizRf1tF2jZQw6L6YAaewXSYRA+37i57fYxd+1QyBuI5JMjqqxBahKOzoa1Xz5uWNYJeU5aV/sw1xtyjTZx7wYcClVsgXH58V+T1Umh4qvD5NE1n5P8L/4013MBnehXtc="
11+
- COMPOSER_ARGS="--no-interaction"
12+
- COVERAGE_DEPS="php-coveralls/php-coveralls"
2313

2414
matrix:
25-
fast_finish: true
2615
include:
27-
- php: 5.5
28-
env:
29-
- EXECUTE_CS_CHECK=true
30-
- php: 5.5
16+
- php: 5.6
3117
env:
32-
- SERVICE_MANAGER_VERSION="^2.7.5"
18+
- DEPS=lowest
3319
- php: 5.6
3420
env:
35-
- EXECUTE_TEST_COVERALLS=true
36-
- DEPLOY_DOCS="$(if [[ $TRAVIS_BRANCH == 'master' && $TRAVIS_PULL_REQUEST == 'false' ]]; then echo -n 'true' ; else echo -n 'false' ; fi)"
37-
- PATH="$HOME/.local/bin:$PATH"
21+
- DEPS=locked
22+
- LEGACY_DEPS="phpunit/phpunit"
3823
- php: 5.6
3924
env:
40-
- SERVICE_MANAGER_VERSION="^2.7.5"
25+
- DEPS=latest
4126
- php: 7
27+
env:
28+
- DEPS=lowest
4229
- php: 7
4330
env:
44-
- SERVICE_MANAGER_VERSION="^2.7.5"
45-
- php: hhvm
46-
- php: hhvm
31+
- DEPS=locked
32+
- LEGACY_DEPS="phpunit/phpunit"
33+
- php: 7
4734
env:
48-
- SERVICE_MANAGER_VERSION="^2.7.5"
49-
allow_failures:
50-
- php: hhvm
51-
52-
notifications:
53-
irc: "irc.freenode.org#zftalk.dev"
54-
email: false
35+
- DEPS=latest
36+
- php: 7.1
37+
env:
38+
- DEPS=lowest
39+
- php: 7.1
40+
env:
41+
- DEPS=locked
42+
- CS_CHECK=true
43+
- TEST_COVERAGE=true
44+
- php: 7.1
45+
env:
46+
- DEPS=latest
47+
- php: 7.2
48+
env:
49+
- DEPS=lowest
50+
- php: 7.2
51+
env:
52+
- DEPS=locked
53+
- php: 7.2
54+
env:
55+
- DEPS=latest
5556

5657
before_install:
57-
- if [[ $EXECUTE_TEST_COVERALLS != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi
58-
- composer self-update
59-
- if [[ $EXECUTE_TEST_COVERALLS == 'true' ]]; then composer require --dev --no-update satooshi/php-coveralls ; fi
60-
- if [[ $SERVICE_MANAGER_VERSION != '' ]]; then composer require --dev --no-update "zendframework/zend-servicemanager:$SERVICE_MANAGER_VERSION" ; fi
61-
- if [[ $SERVICE_MANAGER_VERSION == '' ]]; then composer require --dev --no-update "zendframework/zend-servicemanager:^3.0.3" ; fi
58+
- if [[ $TEST_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi
6259

6360
install:
64-
- travis_retry composer install --no-interaction --ignore-platform-reqs
61+
- travis_retry composer install $COMPOSER_ARGS --ignore-platform-reqs
62+
- if [[ $LEGACY_DEPS != '' ]]; then travis_retry composer update $COMPOSER_ARGS --with-dependencies $LEGACY_DEPS ; fi
63+
- if [[ $DEPS == 'latest' ]]; then travis_retry composer update $COMPOSER_ARGS ; fi
64+
- if [[ $DEPS == 'lowest' ]]; then travis_retry composer update --prefer-lowest --prefer-stable $COMPOSER_ARGS ; fi
65+
- if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry composer require --dev $COMPOSER_ARGS $COVERAGE_DEPS ; fi
66+
- stty cols 120 && composer show
6567

6668
script:
67-
- if [[ $EXECUTE_TEST_COVERALLS == 'true' ]]; then ./vendor/bin/phpunit --coverage-clover clover.xml ; fi
68-
- if [[ $EXECUTE_TEST_COVERALLS != 'true' ]]; then ./vendor/bin/phpunit ; fi
69-
- if [[ $EXECUTE_CS_CHECK == 'true' ]]; then ./vendor/bin/php-cs-fixer fix -v --diff --dry-run ; fi
70-
- 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
71-
72-
after_success:
73-
- if [[ $DEPLOY_DOCS == "true" ]]; then echo "Preparing to build and deploy documentation" ; ./zf-mkdoc-theme/deploy.sh ; echo "Completed deploying documentation" ; fi
69+
- if [[ $TEST_COVERAGE == 'true' ]]; then composer test-coverage ; else composer test ; fi
70+
- if [[ $CS_CHECK == 'true' ]]; then composer cs-check ; fi
7471

7572
after_script:
76-
- if [[ $EXECUTE_TEST_COVERALLS == 'true' ]]; then ./vendor/bin/coveralls ; fi
73+
- if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry php vendor/bin/php-coveralls -v ; fi
74+
75+
notifications:
76+
email: false

CHANGELOG.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,14 @@
22

33
All notable changes to this project will be documented in this file, in reverse chronological order by release.
44

5-
## 2.6.1 - TBD
5+
## 2.7.0 - 2018-04-30
66

77
### Added
88

9+
- [#17](https://github.com/zendframework/zend-text/pull/17) adds support for PHP 7.1 and 7.2.
10+
11+
### Changed
12+
913
- Nothing.
1014

1115
### Deprecated
@@ -14,7 +18,9 @@ All notable changes to this project will be documented in this file, in reverse
1418

1519
### Removed
1620

17-
- Nothing.
21+
- [#17](https://github.com/zendframework/zend-text/pull/17) removes support for PHP 5.5.
22+
23+
- [#17](https://github.com/zendframework/zend-text/pull/17) removes support for HHVM.
1824

1925
### Fixed
2026

@@ -25,7 +31,7 @@ All notable changes to this project will be documented in this file, in reverse
2531
### Added
2632

2733
- [#10](https://github.com/zendframework/zend-text/pull/10) adds and publishes
28-
documentation; view it at https://zendframework.github.io/zend-text/
34+
documentation; view it at https://docs.zendframework.com/zend-text/
2935

3036
### Deprecated
3137

LICENSE.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
1-
Copyright (c) 2005-2015, Zend Technologies USA, Inc.
2-
1+
Copyright (c) 2005-2018, Zend Technologies USA, Inc.
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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# zend-text
22

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

66
`Zend\Text` is a component to work on text strings. It contains the subcomponents:
77

@@ -17,4 +17,4 @@
1717

1818

1919
- File issues at https://github.com/zendframework/zend-text/issues
20-
- Documentation is at https://zendframework.github.io/zend-text/
20+
- Documentation is at https://docs.zendframework.com/zend-text/

composer.json

Lines changed: 37 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,28 @@
11
{
22
"name": "zendframework/zend-text",
3-
"description": " ",
3+
"description": "Create FIGlets and text-based tables",
44
"license": "BSD-3-Clause",
55
"keywords": [
6-
"zf2",
6+
"zf",
7+
"zendframework",
78
"text"
89
],
9-
"homepage": "https://github.com/zendframework/zend-text",
10-
"extra": {
11-
"branch-alias": {
12-
"dev-master": "2.6-dev",
13-
"dev-develop": "2.7-dev"
14-
}
10+
"support": {
11+
"docs": "https://docs.zendframework.com/zend-text/",
12+
"issues": "https://github.com/zendframework/zend-text/issues",
13+
"source": "https://github.com/zendframework/zend-text",
14+
"rss": "https://github.com/zendframework/zend-text/releases.atom",
15+
"chat": "https://zendframework-slack.herokuapp.com",
16+
"forum": "https://discourse.zendframework.com/c/questions/components"
1517
},
1618
"require": {
17-
"php": "^5.5 || ^7.0",
18-
"zendframework/zend-stdlib": "^2.7 || ^3.0",
19-
"zendframework/zend-servicemanager": "^2.7.5 || ^3.0.3"
19+
"php": "^5.6 || ^7.0",
20+
"zendframework/zend-servicemanager": "^2.7.5 || ^3.0.3",
21+
"zendframework/zend-stdlib": "^2.7 || ^3.0"
2022
},
2123
"require-dev": {
22-
"fabpot/php-cs-fixer": "1.7.*",
23-
"phpunit/PHPUnit": "~4.0",
24+
"phpunit/phpunit": "^5.7.27 || ^6.5.8 || ^7.1.4",
25+
"zendframework/zend-coding-standard": "~1.0.0",
2426
"zendframework/zend-config": "^2.6"
2527
},
2628
"autoload": {
@@ -29,8 +31,30 @@
2931
}
3032
},
3133
"autoload-dev": {
34+
"files": [
35+
"test/autoload.php"
36+
],
3237
"psr-4": {
3338
"ZendTest\\Text\\": "test/"
3439
}
40+
},
41+
"config": {
42+
"sort-packages": true
43+
},
44+
"extra": {
45+
"branch-alias": {
46+
"dev-master": "2.6.x-dev",
47+
"dev-develop": "2.7.x-dev"
48+
}
49+
},
50+
"scripts": {
51+
"check": [
52+
"@cs-check",
53+
"@test"
54+
],
55+
"cs-check": "phpcs",
56+
"cs-fix": "phpcbf",
57+
"test": "phpunit --colors=always",
58+
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml"
3559
}
3660
}

0 commit comments

Comments
 (0)