Skip to content

Commit e24bc43

Browse files
committed
Merge branch 'hotfix/10' into release-1.0.0
Forward port #10
2 parents 21f395f + a87199d commit e24bc43

File tree

9 files changed

+74
-69
lines changed

9 files changed

+74
-69
lines changed

.gitattributes

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
/docs export-ignore
2-
/test export-ignore
31
/.coveralls.yml export-ignore
42
/.gitattributes export-ignore
53
/.gitignore export-ignore
64
/.travis.yml export-ignore
75
/composer.lock export-ignore
6+
/docs/ export-ignore
87
/mkdocs.yml export-ignore
98
/phpcs.xml export-ignore
109
/phpunit.xml.dist export-ignore
10+
/test/ export-ignore

.gitignore

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
docs/html/
2-
vendor/
3-
zf-mkdoc-theme/
4-
clover.xml
5-
coveralls-upload.json
6-
phpunit.xml
7-
zf-mkdoc-theme.tgz
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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,9 @@ matrix:
3333
- php: 7.2
3434
env:
3535
- DEPS=latest
36-
allow_failures:
37-
- php: 7.2
3836

3937
before_install:
40-
- if [[ $TEST_COVERAGE != 'true' && "$(php --version | grep xdebug -ci)" -ge 1 ]]; then phpenv config-rm xdebug.ini || return 0 ; fi
41-
- travis_retry composer self-update
38+
- if [[ $TEST_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi
4239

4340
install:
4441
- travis_retry composer install $COMPOSER_ARGS

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) {year}, Zend Technologies USA, Inc.
1+
Copyright (c) 2017, Zend Technologies USA, Inc.
22
All rights reserved.
33

44
Redistribution and use in source and binary forms, with or without modification,

composer.json

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,20 @@
11
{
22
"name": "zendframework/zend-expressive-authorization",
33
"description": "Authorization middleware for Expressive and PSR-7 applications",
4-
"homepage": "https://docs.zendframework.com/zend-expressive-authorization/",
5-
"type": "library",
64
"license": "BSD-3-Clause",
75
"keywords": [
86
"authorization",
97
"middleware",
108
"psr-7",
9+
"zf",
10+
"zendframework",
1111
"zend-expressive"
1212
],
13-
"config": {
14-
"sort-packages": true
15-
},
1613
"support": {
1714
"docs": "https://docs.zendframework.com/zend-expressive-authorization/",
1815
"issues": "https://github.com/zendframework/zend-expressive-authorization/issues",
1916
"source": "https://github.com/zendframework/zend-expressive-authorization",
17+
"rss": "https://github.com/zendframework/zend-expressive-authorization/releases.atom",
2018
"slack": "https://zendframework-slack.herokuapp.com",
2119
"forum": "https://discourse.zendframework.com/c/questions/expressive"
2220
},
@@ -30,7 +28,7 @@
3028
"zendframework/zend-expressive-router": "^2.2"
3129
},
3230
"require-dev": {
33-
"phpunit/phpunit": "^6.0.8",
31+
"phpunit/phpunit": "^6.4.3",
3432
"roave/security-advisories": "dev-master",
3533
"zendframework/zend-coding-standard": "~1.0.0"
3634
},
@@ -41,15 +39,6 @@
4139
"zendframework/zend-expressive-authorization-acl": "^0.1 || ^1.0; provides a zend-permissions-acl-backed adapter",
4240
"zendframework/zend-expressive-authorization-rbac": "^0.1 || ^1.0; provides a zend-permissions-rbac-backed adapter"
4341
},
44-
"extra": {
45-
"branch-alias": {
46-
"dev-master": "^0.3.x-dev",
47-
"dev-release-1.0.0": "^1.0.x-dev"
48-
},
49-
"zf": {
50-
"config-provider": "Zend\\Expressive\\Authorization\\ConfigProvider"
51-
}
52-
},
5342
"autoload": {
5443
"psr-4": {
5544
"Zend\\Expressive\\Authorization\\": "src/"
@@ -60,15 +49,27 @@
6049
"ZendTest\\Expressive\\Authorization\\": "test/"
6150
}
6251
},
52+
"config": {
53+
"sort-packages": true
54+
},
55+
"extra": {
56+
"branch-alias": {
57+
"dev-master": "^0.3.x-dev",
58+
"dev-release-1.0.0": "^1.0.x-dev"
59+
},
60+
"zf": {
61+
"config-provider": "Zend\\Expressive\\Authorization\\ConfigProvider"
62+
}
63+
},
6364
"scripts": {
6465
"check": [
6566
"@cs-check",
6667
"@test"
6768
],
68-
"upload-coverage": "coveralls -v",
6969
"cs-check": "phpcs",
7070
"cs-fix": "phpcbf",
7171
"test": "phpunit --colors=always",
72-
"test-coverage": "phpunit --coverage-clover clover.xml"
72+
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml",
73+
"upload-coverage": "coveralls -v"
7374
}
7475
}

composer.lock

Lines changed: 32 additions & 33 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/ISSUE_TEMPLATE.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
1-
Provide a narrative description of the issue.
1+
- [ ] I was not able to find an [open](https://github.com/zendframework/zend-expressive-authorization/issues?q=is%3Aopen) or [closed](https://github.com/zendframework/zend-expressive-authorization/issues?q=is%3Aclosed) issue matching what I'm seeing.
2+
- [ ] This is not a question. (Questions should be asked on [slack](https://zendframework.slack.com/) ([Signup for Slack here](https://zendframework-slack.herokuapp.com/)) or our [forums](https://discourse.zendframework.com/).)
3+
4+
Provide a narrative description of what you are trying to accomplish.
25

36
### Code to reproduce the issue
47

8+
<!-- Please provide the minimum code necessary to recreate the issue -->
9+
510
```php
611
```
712

813
### Expected results
914

15+
<!-- What do you think should have happened? -->
16+
1017
### Actual results
1118

19+
<!-- What did you actually observe? -->

docs/PULL_REQUEST_TEMPLATE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ Provide a narrative description of what you are trying to accomplish:
1818
- [ ] Add a `CHANGELOG.md` entry for the new feature.
1919

2020
- [ ] Is this related to quality assurance?
21-
- [ ] Detail why the changes are necessary.
21+
<!-- Detail why the changes are necessary -->
2222

2323
- [ ] Is this related to documentation?
24-
- [ ] Is it a typographical and/or grammatical fix?
25-
- [ ] Is it new documentation?
24+
<!-- Is it a typographical and/or grammatical fix? -->
25+
<!-- Is it new documentation? -->

docs/SUPPORT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Zend Framework offers three support channels:
55
- For real-time questions, use our
66
[Slack](https://zendframework-slack.herokuapp.com)
77
- For detailed questions (e.g., those requiring examples) use our
8-
[forums](https://discourse.zendframework.com/c/questions/components)
8+
[forums](https://discourse.zendframework.com/c/questions/expressive)
99
- To report issues, use this repository's
1010
[issue tracker](https://github.com/zendframework/zend-expressive-authorization/issues/new)
1111

0 commit comments

Comments
 (0)