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

Commit 60611bb

Browse files
committed
Inline support files with template
1 parent b73edd8 commit 60611bb

10 files changed

+59
-37
lines changed

.gitattributes

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

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

LICENSE.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
Copyright (c) 2015-2017, Zend Technologies USA, Inc.
2-
1+
Copyright (c) 2015-2019, Zend Technologies USA, Inc.
32
All rights reserved.
43

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

README.md

+18-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,26 @@
11
# zend-inputfilter
22

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

66
The zend-inputfilter component can be used to filter and validate generic sets
77
of input data. For instance, you could use it to filter `$_GET` or `$_POST`
88
values, CLI arguments, etc.
99

10-
- File issues at https://github.com/zendframework/zend-inputfilter/issues
11-
- Documentation is at https://docs.zendframework.com/zend-inputfilter/
10+
## Installation
11+
12+
Run the following to install this library:
13+
14+
```bash
15+
$ composer require zendframework/zend-inputfilter
16+
```
17+
18+
## Documentation
19+
20+
Browse the documentation online at https://docs.zendframework.com/zend-inputfilter/
21+
22+
## Support
23+
24+
* [Issues](https://github.com/zendframework/zend-inputfilter/issues/)
25+
* [Chat](https://zendframework-slack.herokuapp.com/)
26+
* [Forum](https://discourse.zendframework.com/)

composer.json

+15-15
Original file line numberDiff line numberDiff line change
@@ -7,26 +7,13 @@
77
"zendframework",
88
"inputfilter"
99
],
10-
"config": {
11-
"sort-packages": true
12-
},
13-
"extra": {
14-
"branch-alias": {
15-
"dev-master": "2.10.x-dev",
16-
"dev-develop": "2.11.x-dev"
17-
},
18-
"zf": {
19-
"component": "Zend\\InputFilter",
20-
"config-provider": "Zend\\InputFilter\\ConfigProvider"
21-
}
22-
},
2310
"support": {
2411
"docs": "https://docs.zendframework.com/zend-inputfilter/",
2512
"issues": "https://github.com/zendframework/zend-inputfilter/issues",
2613
"source": "https://github.com/zendframework/zend-inputfilter",
2714
"rss": "https://github.com/zendframework/zend-inputfilter/releases.atom",
28-
"slack": "https://zendframework-slack.herokuapp.com",
29-
"forum": "https://discourse.zendframework.com/c/questions/expressive"
15+
"chat": "https://zendframework-slack.herokuapp.com",
16+
"forum": "https://discourse.zendframework.com/c/questions/components"
3017
},
3118
"require": {
3219
"php": "^5.6 || ^7.0",
@@ -53,6 +40,19 @@
5340
"ZendTest\\InputFilter\\": "test/"
5441
}
5542
},
43+
"config": {
44+
"sort-packages": true
45+
},
46+
"extra": {
47+
"branch-alias": {
48+
"dev-master": "2.10.x-dev",
49+
"dev-develop": "2.11.x-dev"
50+
},
51+
"zf": {
52+
"component": "Zend\\InputFilter",
53+
"config-provider": "Zend\\InputFilter\\ConfigProvider"
54+
}
55+
},
5656
"scripts": {
5757
"check": [
5858
"@cs-check",

docs/CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ read/subscribe to the following resources:
77

88
- [Coding Standards](https://github.com/zendframework/zend-coding-standard)
99
- [Forums](https://discourse.zendframework.com/c/contributors)
10-
- [Slack](https://zendframework-slack.herokuapp.com)
10+
- [Chat](https://zendframework-slack.herokuapp.com)
1111
- [Code of Conduct](CODE_OF_CONDUCT.md)
1212

1313
If you are working on new features or refactoring

docs/ISSUE_TEMPLATE.md

+9-1
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-inputfilter/issues?q=is%3Aopen) or [closed](https://github.com/zendframework/zend-inputfilter/issues?q=is%3Aclosed) issue matching what I'm seeing.
2+
- [ ] This is not a question. (Questions should be asked on [chat](https://zendframework.slack.com/) ([Signup 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

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
Zend Framework offers three support channels:
44

55
- For real-time questions, use our
6-
[Slack](https://zendframework-slack.herokuapp.com)
6+
[chat](https://zendframework-slack.herokuapp.com)
77
- For detailed questions (e.g., those requiring examples) use our
88
[forums](https://discourse.zendframework.com/c/questions/components)
99
- To report issues, use this repository's
1010
[issue tracker](https://github.com/zendframework/zend-inputfilter/issues/new)
1111

12-
**DO NOT** use the issue tracker to ask questions; use Slack or the forums for
12+
**DO NOT** use the issue tracker to ask questions; use chat or the forums for
1313
that. Questions posed to the issue tracker will be closed.
1414

1515
When reporting an issue, please include the following details:

docs/book/optional-input-filters.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ a subset of another input filter (e.g., to validate a subset of a larger set of
77
data), and no data is provided for that item, or an empty set of data is
88
provided, then the input filter will consider the data invalid.
99

10-
If you want to allow a set of data to be empty, you can use
10+
If you want to allow a set of data to be empty, you can use
1111
`Zend\InputFilter\OptionalInputFilter`.
1212

1313
To illustrate this, let's consider a form where a user provides profile

0 commit comments

Comments
 (0)