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

Commit 63e7ce0

Browse files
committed
Merging develop to master in preparation for 2.6.0 release.
2 parents f09b7c7 + 43e1da8 commit 63e7ce0

Some content is hidden

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

66 files changed

+3319
-631
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-
tmp/
10-
doc/html/
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: 51 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -2,62 +2,76 @@ 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:
11+
- COMPOSER_ARGS="--no-interaction"
12+
- COVERAGE_DEPS="php-coveralls/php-coveralls"
1813
- TESTS_ZEND_AUTH_ADAPTER_DBTABLE_PDO_SQLITE_ENABLED=true
19-
- SITE_URL: https://zendframework.github.io/zend-authentication
20-
- GH_USER_NAME: "Matthew Weier O'Phinney"
21-
- GH_USER_EMAIL: [email protected]
22-
- GH_REF: github.com/zendframework/zend-authentication.git
23-
- secure: "EkN2Vnzdt2UUN740UtTsM5PzfEBIBPN4fhgjc0kFYGSVKPB/bvsKAMgMKLl7Q1+YrcncpjfuiXuPlhKQhe2zgNGMncBfcOKePgxVstuzHed19ssQK5g67gTChNcqI679RKaSpN1CQwf5y0bZ8qHEPtv3JBuBJT9osPqNlLUQ37kQPC8417EYfmiLi1JL04rHsvitX1rRYZgGV53vFtCdpvy4/w/Iy5NU1KkoiiwueMtR80SL15qRmFYBgBxi5jrW/IpwDCDT+SOX2ZaPHq6Jv4Qb8ndyFoswIJD0PBpB98QpyG+5t7ciTmZGO7xW+aLmpE4Ci38OMkzeoCXzyOLL6Li8+VstjUD2atJ0uNyl60benchapOZoHVT7Nm51fUaXAzjR+Q6XalF1lyExgeEZ56yM6NHBVwOWl+8Rly4xhP4v3u4vCwHQ/R6dZbAhcPkr3CgFr4ra31kDTfJHnVKlhDnNz3jtn/kBofmtMdRAknVLhTlTwAc2K4ZBgXMPz7bJvMDiCDh695vqChREKcsciH2B6Ad8q3C/mV/ior8errFZfupRvvP3fEXEgei0YSrigh1mzvFjZFYMMs52EkZ6qd8YtBRJLJxfBNAIatp/RW+urpPA7JtSdyff1fesyZQBAqbJhMfUXwYsj6OuQPjAZ6yB/6D9TjCufG+Mha/y+wo="
2414

2515
matrix:
26-
fast_finish: true
2716
include:
28-
- php: 5.5
17+
- php: 5.6
18+
env:
19+
- DEPS=lowest
20+
- php: 5.6
2921
env:
30-
- EXECUTE_CS_CHECK=true
22+
- DEPS=locked
23+
- LEGACY_DEPS="phpunit/phpunit"
3124
- php: 5.6
3225
env:
33-
- EXECUTE_TEST_COVERALLS=true
34-
- DEPLOY_DOCS="$(if [[ $TRAVIS_BRANCH == 'master' && $TRAVIS_PULL_REQUEST == 'false' ]]; then echo -n 'true' ; else echo -n 'false' ; fi)"
35-
- PATH="$HOME/.local/bin:$PATH"
26+
- DEPS=latest
3627
- php: 7
37-
- php: hhvm
38-
allow_failures:
39-
- php: hhvm
40-
41-
notifications:
42-
irc: "irc.freenode.org#zftalk.dev"
43-
email: false
28+
env:
29+
- DEPS=lowest
30+
- php: 7
31+
env:
32+
- DEPS=locked
33+
- LEGACY_DEPS="phpunit/phpunit"
34+
- php: 7
35+
env:
36+
- DEPS=latest
37+
- php: 7.1
38+
env:
39+
- DEPS=lowest
40+
- php: 7.1
41+
env:
42+
- DEPS=locked
43+
- CS_CHECK=true
44+
- TEST_COVERAGE=true
45+
- php: 7.1
46+
env:
47+
- DEPS=latest
48+
- php: 7.2
49+
env:
50+
- DEPS=lowest
51+
- php: 7.2
52+
env:
53+
- DEPS=locked
54+
- php: 7.2
55+
env:
56+
- DEPS=latest
4457

4558
before_install:
46-
- if [[ $EXECUTE_TEST_COVERALLS != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi
47-
- composer self-update
48-
- if [[ $EXECUTE_TEST_COVERALLS == 'true' ]]; then composer require --dev --no-update satooshi/php-coveralls ; fi
59+
- if [[ $TEST_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi
4960

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

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

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

CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,34 @@
22

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

5+
## 2.6.0 - TBD
6+
7+
### Added
8+
9+
- [#34](https://github.com/zendframework/zend-authentication/pull/34) adds support for PHP 7.2.
10+
11+
### Changed
12+
13+
- [#14](https://github.com/zendframework/zend-authentication/pull/14) modifies the `Zend\Authentication\Validator\Authentication` class such that
14+
it now will pull an adapter from the composed `AuthenticationService` instance if no
15+
authentication adapter is registered directly with the validator. This will only work
16+
if the adapter is a `ValidatableAdapterInterface` implementation (all `AbstractAdapter`
17+
instances are already implementations).
18+
19+
### Deprecated
20+
21+
- Nothing.
22+
23+
### Removed
24+
25+
- [#30](https://github.com/zendframework/zend-authentication/pull/30) removes support for HHVM.
26+
27+
- [#30](https://github.com/zendframework/zend-authentication/pull/30) removes support for PHP 5.5.
28+
29+
### Fixed
30+
31+
- Nothing.
32+
533
## 2.5.4 - 2018-04-12
634

735
### Added

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,10 +1,10 @@
11
# zend-authentication
22

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

66
The `Zend\Authentication` component provides an API for authentication and
77
includes concrete authentication adapters for common use case scenarios.
88

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

composer.json

Lines changed: 46 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -3,50 +3,72 @@
33
"description": "provides an API for authentication and includes concrete authentication adapters for common use case scenarios",
44
"license": "BSD-3-Clause",
55
"keywords": [
6-
"zf2",
6+
"zf",
7+
"zendframework",
78
"authentication"
89
],
9-
"homepage": "https://github.com/zendframework/zend-authentication",
10-
"autoload": {
11-
"psr-4": {
12-
"Zend\\Authentication\\": "src/"
13-
}
10+
"support": {
11+
"docs": "https://docs.zendframework.com/zend-authentication/",
12+
"issues": "https://github.com/zendframework/zend-authentication/issues",
13+
"source": "https://github.com/zendframework/zend-authentication",
14+
"rss": "https://github.com/zendframework/zend-authentication/releases.atom",
15+
"slack": "https://zendframework-slack.herokuapp.com",
16+
"forum": "https://discourse.zendframework.com/c/questions/components"
1417
},
1518
"require": {
16-
"php": "^5.5 || ^7.0",
17-
"zendframework/zend-stdlib": "^2.7 || ^3.0"
19+
"php": "^5.6 || ^7.0",
20+
"zendframework/zend-stdlib": "^2.7.7 || ^3.1"
1821
},
1922
"require-dev": {
20-
"zendframework/zend-db": "^2.7",
21-
"zendframework/zend-crypt": "^2.6",
22-
"zendframework/zend-http": "^2.5.4",
23-
"zendframework/zend-ldap": "^2.6",
24-
"zendframework/zend-session": "^2.6.2",
25-
"zendframework/zend-validator": "^2.6",
26-
"zendframework/zend-uri": "^2.5",
27-
"fabpot/php-cs-fixer": "1.7.*",
28-
"phpunit/PHPUnit": "~4.0"
23+
"phpunit/phpunit": "^5.7.27 || ^6.5.8 || ^7.1.2",
24+
"zendframework/zend-coding-standard": "~1.0.0",
25+
"zendframework/zend-crypt": "^2.6 || ^3.2.1",
26+
"zendframework/zend-db": "^2.8.2",
27+
"zendframework/zend-http": "^2.7",
28+
"zendframework/zend-ldap": "^2.8",
29+
"zendframework/zend-session": "^2.8",
30+
"zendframework/zend-uri": "^2.5.2",
31+
"zendframework/zend-validator": "^2.10.1"
2932
},
3033
"suggest": {
31-
"zendframework/zend-db": "Zend\\Db component",
3234
"zendframework/zend-crypt": "Zend\\Crypt component",
35+
"zendframework/zend-db": "Zend\\Db component",
3336
"zendframework/zend-http": "Zend\\Http component",
3437
"zendframework/zend-ldap": "Zend\\Ldap component",
3538
"zendframework/zend-session": "Zend\\Session component",
3639
"zendframework/zend-uri": "Zend\\Uri component",
3740
"zendframework/zend-validator": "Zend\\Validator component"
3841
},
39-
"minimum-stability": "dev",
40-
"prefer-stable": true,
41-
"extra": {
42-
"branch-alias": {
43-
"dev-master": "2.5-dev",
44-
"dev-develop": "2.6-dev"
42+
"autoload": {
43+
"psr-4": {
44+
"Zend\\Authentication\\": "src/"
4545
}
4646
},
4747
"autoload-dev": {
48+
"files": [
49+
"test/autoload.php"
50+
],
4851
"psr-4": {
4952
"ZendTest\\Authentication\\": "test/"
5053
}
54+
},
55+
"config": {
56+
"sort-packages": true
57+
},
58+
"extra": {
59+
"branch-alias": {
60+
"dev-master": "2.5.x-dev",
61+
"dev-develop": "2.6.x-dev"
62+
}
63+
},
64+
"scripts": {
65+
"check": [
66+
"@cs-check",
67+
"@test"
68+
],
69+
"cs-check": "phpcs",
70+
"cs-fix": "phpcbf",
71+
"test": "phpunit --colors=always",
72+
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml"
5173
}
5274
}

0 commit comments

Comments
 (0)