Skip to content

Commit 625a4cb

Browse files
committed
Add CHANGELOG.md, CONTRIBUTING.md and LICENSE
1 parent e42fc98 commit 625a4cb

File tree

3 files changed

+72
-0
lines changed

3 files changed

+72
-0
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Changelog
2+
3+
### 0.0.1 (2016-01-10)
4+
5+
* Added: `Filter::isNull()`
6+
* Added: `Filter::notNull()`
7+
* Added: `Filter::isSameAs($expected)`
8+
* Added: `Filter::notSameAs($expected)`
9+
* Added: `Filter::isLike($expected)`
10+
* Added: `Filter::notLike($expected)`
11+
* Added: `Filter::hasMethodReturning(string $methodName, $expected, bool $strict = true)`
12+
* Added: `Filter::notHasMethodReturning(string $methodName, $expected, bool strict = true)`
13+
* Added: `Transform::callMethod(string $methodName)`
14+
* Added: `Transform::getEntry(string|string[] $name)`
15+
* Added: `Transform::argumentTo(callable $callable)`

CONTRIBUTING.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Contributing
2+
3+
Thank you for considering to contribute to this project.
4+
5+
## Tests
6+
7+
All new features or bug fixes should include supporting tests. To run the test
8+
suite you need to first install the dependencies using composer:
9+
10+
```
11+
$ composer install
12+
```
13+
14+
Then the tests can be run using the following command:
15+
16+
```
17+
$ phpunit
18+
```
19+
20+
This will also check for the PSR-2 Coding Standard compliance.
21+
22+
## Travis
23+
24+
Once you have submitted a pull request, Travis CI will automatically run the
25+
tests. The tests **must** pass for the PR to be accepted.
26+
27+
## Coding Standard
28+
29+
Please stick PSR-1 and PSR-2 standards - this will be verified by Travis CI:
30+
31+
* https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-1-basic-coding-standard.md
32+
* https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md
33+
34+
Also, keep the code tidy and well refactored - don't let methods get too long
35+
or there be too many levels of indentation.
36+
37+
Happy coding and thank you for contributing.

LICENSE

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2013 Tom Oram
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy of
6+
this software and associated documentation files (the "Software"), to deal in
7+
the Software without restriction, including without limitation the rights to
8+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9+
the Software, and to permit persons to whom the Software is furnished to do so,
10+
subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

0 commit comments

Comments
 (0)