forked from phly/PhlyRestfully
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'phly/master' (#3)
* Merge remote-tracking branch 'phly/master' * Fixing location of coverage.xml
- Loading branch information
1 parent
c2f1753
commit f375bde
Showing
75 changed files
with
1,540 additions
and
1,104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
|
||
$finder = PhpCsFixer\Finder::create() | ||
->exclude('vendor') | ||
->in(__DIR__ . '/src') | ||
->in(__DIR__ . '/test') | ||
; | ||
|
||
return PhpCsFixer\Config::create() | ||
->setRules([ | ||
'@PSR2' => true, | ||
'no_whitespace_in_blank_line' => true, | ||
'array_syntax' => ['syntax' => 'short'], | ||
]) | ||
->setFinder($finder) | ||
; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file, in reverse chronological order by release. | ||
|
||
## 2.3.1 - 2016-05-31 | ||
|
||
Final release. Please use [Apigility](https://apigility.org) instead. | ||
|
||
### Added | ||
|
||
- Nothing. | ||
|
||
### Deprecated | ||
|
||
- Nothing. | ||
|
||
### Removed | ||
|
||
- Nothing. | ||
|
||
### Fixed | ||
|
||
- [#136](https://github.com/phly/PhlyRestfully/pull/136) fixes autoloading and | ||
configuration paths in the `Module` class, due to having moved into the source | ||
tree. | ||
|
||
## 2.3.0 - 2016-05-26 | ||
|
||
Final release. Please use [Apigility](https://apigility.org) instead. | ||
|
||
### Added | ||
|
||
- [#135](https://github.com/phly/PhlyRestfully/pull/135) adds an optional | ||
`$data = []` parameter to `ResourceController::deleteList()` for consistency | ||
with other methods. | ||
- [#135](https://github.com/phly/PhlyRestfully/pull/135) adds support for PHP 7 | ||
and HHVM. | ||
- [#107](https://github.com/phly/PhlyRestfully/pull/107) suggests using | ||
zfr/zfr-cors to provide CORS support for your API. | ||
- [#126](https://github.com/phly/PhlyRestfully/pull/126) adds an `__isset()` | ||
method to `HalResource`, ensuring you can test for the identifier and/or | ||
resource (e.g., via `isset($halResource->id)`). | ||
|
||
### Deprecated | ||
|
||
- Nothing. | ||
|
||
### Removed | ||
|
||
- [#135](https://github.com/phly/PhlyRestfully/pull/135) removes support for PHP | ||
versions less than 5.5. | ||
|
||
### Fixed | ||
|
||
- [#135](https://github.com/phly/PhlyRestfully/pull/135) updates all references | ||
to `Zend\Stdlib\Hydrator` to instead use `Zend\Hydrator`. | ||
- [#135](https://github.com/phly/PhlyRestfully/pull/135) updates all | ||
`trigger()` and `triggerUntil()` usage with forwards-compatible variants. | ||
- [#97](https://github.com/phly/PhlyRestfully/pull/97) fixes the identifier | ||
comparison in `ResourceController::getIdentifier()` to use a strict comparison | ||
to boolean false, and thus allow identifiers of `0`. | ||
- [#104](https://github.com/phly/PhlyRestfully/pull/104) corrects the logic in | ||
`ResourceParametersListener::detachShared` to pass the identifier. | ||
- [#108](https://github.com/phly/PhlyRestfully/pull/108) fixes identifier | ||
detection in `HalLinks::createResourceFromMetadata()`, ensuring that if no | ||
identifier name is present in the metadata, a null identifier is used. | ||
- [#124](https://github.com/phly/PhlyRestfully/pull/124) fixes how HalLinks | ||
retrieves the identifier from an object when it is not in an `id` field, | ||
allowing for custom identifiers per entity. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.