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

Commit e50e9f7

Browse files
committed
Merge branch 'feature/43' into develop
Close #43 Fixes #42
2 parents c42dcb2 + 971f75e commit e50e9f7

23 files changed

+2383
-277
lines changed

.gitattributes

+10-8
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

+7-17
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/

.travis.yml

+40-45
Original file line numberDiff line numberDiff line change
@@ -2,80 +2,75 @@ sudo: false
22

33
language: php
44

5-
branches:
6-
except:
7-
- /^release-\d+\.\d+\.\d+.*$/
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-file
19-
- GH_USER_NAME: "Matthew Weier O'Phinney"
20-
- GH_USER_EMAIL: [email protected]
21-
- GH_REF: github.com/zendframework/zend-file.git
22-
- secure: "ULsxLLRxxpphEwpOfpTWzW85g8LLoCsa9M5g2fiWlKhvl+FjfvSTkMmDHCzNq6QSfASpI+MTyZBxj34v8Fqq/U82IXCfoHP1mFYw//5qg6Xm28nVz48chjjCD5eIzKNI6vIdY+S+mhstcAkl3AqXAczsIxK34B6BZQxWOUUnDAn/jJ2bPpyiI/laePt76jel8xeMjNYrnIV9VvwsK9klttEOifMyK1pnGgTf8OvPD4WNaaiFLroE1JGFJJrbnColabFjXIQbKRupGpNp/Cz6Nn0M3I8Da1sSa1zeq4485c2eR61rJ7HXUX769wvPakDgrMjAGcIZGwvzfPqD0ldefXU2gsRpom4p7wUxQGndyQAF3ytUFn5QBz8TRPQ1AIT2uIsd3dblvqFn17HAPSKNihX4F9xkSogp/D5znYYwrZ3hrjZRY9idRJqDYkDV2/VTu1RiKI/SukPj2wTLxQwZttxHFhJapjKDzJ289TekA2ShBewCNR+3gl9uetzb0ir4C8l3TWo40fBjG8SMxan4y48EdOetAoWwjnigTnR0aXA/Mgm0Ly/ide1Xuho12P/cj54EWdmE+5LTUd70O0oBp0sLRZG6S3Wz0jRy4Z7XvbXCaoIBXHcmFjPOyfcmjgh0BBkHM0Ir8Cwe5CgwpaMQnUjw8nRDdG+TC62UczOyoHo="
11+
- COMPOSER_ARGS="--no-interaction"
12+
- COVERAGE_DEPS="php-coveralls/php-coveralls"
2313

2414
matrix:
2515
include:
26-
- php: 5.5
27-
env:
28-
- CS_CHECK=true
29-
- php: 5.5
16+
- php: 5.6
3017
env:
31-
- ZEND_SERVICEMANAGER_VERSION="^2.7.5"
18+
- DEPS=lowest
3219
- php: 5.6
3320
env:
34-
- TEST_COVERAGE=true
35-
- DEPLOY_DOCS="$(if [[ $TRAVIS_BRANCH == 'master' && $TRAVIS_PULL_REQUEST == 'false' ]]; then echo -n 'true' ; else echo -n 'false' ; fi)"
36-
- PATH="$HOME/.local/bin:$PATH"
21+
- DEPS=locked
22+
- LEGACY_DEPS="phpunit/phpunit"
3723
- php: 5.6
3824
env:
39-
- ZEND_SERVICEMANAGER_VERSION="^2.7.5"
40-
- php: 7.0
41-
- php: 7.0
25+
- DEPS=latest
26+
- php: 7
27+
env:
28+
- DEPS=lowest
29+
- php: 7
30+
env:
31+
- DEPS=locked
32+
- LEGACY_DEPS="phpunit/phpunit"
33+
- php: 7
34+
env:
35+
- DEPS=latest
36+
- php: 7.1
4237
env:
43-
- ZEND_SERVICEMANAGER_VERSION="^2.7.5"
38+
- DEPS=lowest
4439
- php: 7.1
40+
env:
41+
- DEPS=locked
42+
- CS_CHECK=true
43+
- TEST_COVERAGE=true
4544
- php: 7.1
4645
env:
47-
- ZEND_SERVICEMANAGER_VERSION="^2.7.5"
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
4856

4957
before_install:
5058
- if [[ $TEST_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi
51-
- composer self-update
52-
- if [[ $TEST_COVERAGE == 'true' ]]; then composer require --dev --no-update satooshi/php-coveralls ; fi
53-
- if [[ $ZEND_SERVICEMANAGER_VERSION != '' ]]; then composer require --dev --no-update "zendframework/zend-servicemanager:$ZEND_SERVICEMANAGER_VERSION" ; fi
54-
- if [[ $ZEND_SERVICEMANAGER_VERSION == '' ]]; then composer require --dev --no-update "zendframework/zend-servicemanager:^3.0.3" ; fi
5559

5660
install:
57-
- 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
5867

5968
script:
6069
- if [[ $TEST_COVERAGE == 'true' ]]; then composer test-coverage ; else composer test ; fi
6170
- if [[ $CS_CHECK == 'true' ]]; then composer cs-check ; fi
62-
- 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
63-
64-
after_success:
65-
- if [[ $DEPLOY_DOCS == "true" ]]; then echo "Preparing to build and deploy documentation" ; ./zf-mkdoc-theme/deploy.sh ; echo "Completed deploying documentation" ; fi
6671

6772
after_script:
68-
- if [[ $TEST_COVERAGE == 'true' ]]; then composer upload-coverage ; fi
73+
- if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry php vendor/bin/php-coveralls -v ; fi
6974

7075
notifications:
7176
email: false
72-
irc:
73-
channels:
74-
- "irc.freenode.org#zftalk.dev"
75-
on_success: change
76-
on_failure: always
77-
slack:
78-
rooms:
79-
- secure: "NFRJJJPdQ8VmxRbejIsV1bk1DMTx9LEyl6vXMool9Vm8VLrSC0PHdsKYaHvrPG1CqwrHjxGeS4JL5FhLjh8rv13jIQUFT3qoKabXzA9afIMX3OAMF7MF3DKMmfzjp3x6G/zMwIH4Tps16d088k09K+Q1Mdr8Ko2wcx/fjDcsRQMgOJA6gCsg0FjTjJpuwzJCfaFcYJEJbm5RJRgSFcHeUd3J9yGjxCp6nrmOo7skflWaqxy3wAH1Pd6K3Cr966yTKiRl6Z7E0UC/zrcpC6LBqipMQDMJTlsFMEb0lMCm27MXdBEfroXP2KRkmLJuA+q6vb1wm+oXPwJ0DYn3oCbc8nFQK2EHrYSCMn2oplXKlUS2SQscVWuegypy4TbCBnAH3J12D1sLCft/qyCR36Ji9wPv00fXccxHO8xgssLHaBnyuflmjlNUlYWijElnzyjXsAn75I2fWg92FXZ3NXyn1oLc4bZG9vXCNa7a/KN+aRgXQwIEV/vRqO8ddJE0XDSlXDocRbLVylgc4wK7iyxvaEa/z6+ptLRqnNsVqida3klMyWordgwqyyHgdcFMiDtd1y2BL1aeLDf40l6aYoPFAm60W4W/wcfYFHI6aT1edsAFsFl34xmqPi/fNtx2CG9VxiSWxfIUvwZceG4gSO8pOk/LlenKr+Ars/aom8bBsgE="
80-
on_success: change
81-
on_failure: always

CHANGELOG.md

+5-17
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,9 @@ All notable changes to this project will be documented in this file, in reverse
66

77
### Added
88

9-
- Nothing.
9+
- [#43](https://github.com/zendframework/zend-file/pull/43) adds support for PHP 7.1 and 7.2.
1010

11-
### Deprecated
12-
13-
- Nothing.
14-
15-
### Removed
16-
17-
- Nothing.
18-
19-
### Fixed
20-
21-
- Nothing.
22-
23-
## 2.7.2 - TBD
24-
25-
### Added
11+
### Changed
2612

2713
- Nothing.
2814

@@ -32,7 +18,9 @@ All notable changes to this project will be documented in this file, in reverse
3218

3319
### Removed
3420

35-
- Nothing.
21+
- [#43](https://github.com/zendframework/zend-file/pull/43) removes support for PHP 5.5.
22+
23+
- [#43](https://github.com/zendframework/zend-file/pull/43) removes support for HHVM.
3624

3725
### Fixed
3826

LICENSE.md

+6-7
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

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# zend-file
22

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

66
zend-file provides a `ClassFileLocator` for locating PHP files containing
77
classes, abstract classes, interfaces, and traits in a specified tree.
88

99
- File issues at https://github.com/zendframework/zend-file/issues
10-
- Documentation is at https://zendframework.github.io/zend-file/
10+
- Documentation is at https://docs.zendframework.com/zend-file/

composer.json

+31-27
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,58 @@
11
{
22
"name": "zendframework/zend-file",
3-
"description": " ",
3+
"description": "Locate PHP classfiles",
44
"license": "BSD-3-Clause",
55
"keywords": [
6-
"zf2",
6+
"zf",
7+
"zendframework",
78
"file"
89
],
9-
"homepage": "https://github.com/zendframework/zend-file",
10-
"config": {
11-
"sort-packages": true
12-
},
13-
"autoload": {
14-
"psr-4": {
15-
"Zend\\File\\": "src/"
16-
}
10+
"support": {
11+
"docs": "https://docs.zendframework.com/zend-file/",
12+
"issues": "https://github.com/zendframework/zend-file/issues",
13+
"source": "https://github.com/zendframework/zend-file",
14+
"rss": "https://github.com/zendframework/zend-file/releases.atom",
15+
"chat": "https://zendframework-slack.herokuapp.com",
16+
"forum": "https://discourse.zendframework.com/c/questions/components"
1717
},
1818
"require": {
19-
"php": "^5.5 || ^7.0",
20-
"zendframework/zend-stdlib": "^2.7 || ^3.0"
19+
"php": "^5.6 || ^7.0",
20+
"zendframework/zend-stdlib": "^2.7.7 || ^3.1"
2121
},
2222
"require-dev": {
23-
"fabpot/php-cs-fixer": "1.7.*",
24-
"phpunit/phpunit": "~4.0",
23+
"phpunit/phpunit": "^5.7.27 || ^6.5.8 || ^7.1.2",
2524
"zendframework/zend-coding-standard": "~1.0.0",
26-
"zendframework/zend-filter": "^2.6.1",
27-
"zendframework/zend-i18n": "^2.6",
25+
"zendframework/zend-filter": "^2.7.2",
26+
"zendframework/zend-i18n": "^2.7.4",
2827
"zendframework/zend-progressbar": "^2.5.2",
29-
"zendframework/zend-servicemanager": "^2.7.5 || ^3.0.3",
30-
"zendframework/zend-session": "^2.6.2",
31-
"zendframework/zend-validator": "^2.6"
28+
"zendframework/zend-servicemanager": "^2.7.8 || ^3.3",
29+
"zendframework/zend-session": "^2.8",
30+
"zendframework/zend-validator": "^2.10.1"
3231
},
3332
"suggest": {
3433
"zendframework/zend-filter": "Zend\\Filter component",
3534
"zendframework/zend-i18n": "Zend\\I18n component",
3635
"zendframework/zend-validator": "Zend\\Validator component"
3736
},
38-
"minimum-stability": "dev",
39-
"prefer-stable": true,
40-
"extra": {
41-
"branch-alias": {
42-
"dev-master": "2.7-dev",
43-
"dev-develop": "2.8-dev"
37+
"autoload": {
38+
"psr-4": {
39+
"Zend\\File\\": "src/"
4440
}
4541
},
4642
"autoload-dev": {
4743
"psr-4": {
4844
"ZendTest\\File\\": "test/"
4945
}
5046
},
47+
"config": {
48+
"sort-packages": true
49+
},
50+
"extra": {
51+
"branch-alias": {
52+
"dev-master": "2.7.x-dev",
53+
"dev-develop": "2.8.x-dev"
54+
}
55+
},
5156
"scripts": {
5257
"check": [
5358
"@cs-check",
@@ -56,7 +61,6 @@
5661
"cs-check": "phpcs",
5762
"cs-fix": "phpcbf",
5863
"test": "phpunit --colors=always",
59-
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml",
60-
"upload-coverage": "coveralls -v"
64+
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml"
6165
}
6266
}

0 commit comments

Comments
 (0)