Skip to content

Commit ef7ec6a

Browse files
author
Nil Portugues Caldero
committed
Link to entity without requiring manual linkage
1 parent bf74031 commit ef7ec6a

31 files changed

+214
-56
lines changed

composer.json

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,11 @@
1414
],
1515
"require": {
1616
"php": ">=5.5.0",
17-
"nilportugues/api-transformer": "~1.3"
17+
"nilportugues/api-transformer": "^1.5"
1818
},
1919
"require-dev": {
20-
"phpunit/phpunit": "4.4.*",
21-
"fabpot/php-cs-fixer": "^1.9",
22-
"mmoreram/php-formatter": "dev-master",
23-
"satooshi/php-coveralls": "dev-master"
20+
"phpunit/phpunit": "4.8.*",
21+
"friendsofphp/php-cs-fixer": "^1.9"
2422
},
2523
"autoload": {
2624
"psr-4": {
@@ -31,8 +29,5 @@
3129
"psr-4": {
3230
"NilPortugues\\Tests\\Api\\Json\\": "tests/"
3331
}
34-
},
35-
"config": {
36-
"bin-dir": "bin/"
3732
}
3833
}

src/Http/Message/ErrorResponse.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.
1010
*/
11+
1112
namespace NilPortugues\Api\Json\Http\Message;
1213

1314
use NilPortugues\Api\Http\Message\AbstractResponse;

src/Http/Message/ResourceCreatedResponse.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.
1010
*/
11+
1112
namespace NilPortugues\Api\Json\Http\Message;
1213

1314
use NilPortugues\Api\Http\Message\AbstractResponse;

src/Http/Message/ResourceDeletedResponse.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.
1010
*/
11+
1112
namespace NilPortugues\Api\Json\Http\Message;
1213

1314
use NilPortugues\Api\Http\Message\AbstractResponse;

src/Http/Message/ResourceNotFoundResponse.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.
1010
*/
11+
1112
namespace NilPortugues\Api\Json\Http\Message;
1213

1314
use NilPortugues\Api\Http\Message\AbstractResponse;

src/Http/Message/ResourcePatchErrorResponse.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.
1010
*/
11+
1112
namespace NilPortugues\Api\Json\Http\Message;
1213

1314
use NilPortugues\Api\Http\Message\AbstractResponse;

src/Http/Message/ResourcePostErrorResponse.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.
1010
*/
11+
1112
namespace NilPortugues\Api\Json\Http\Message;
1213

1314
use NilPortugues\Api\Http\Message\AbstractResponse;

src/Http/Message/ResourceProcessingResponse.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.
1010
*/
11+
1112
namespace NilPortugues\Api\Json\Http\Message;
1213

1314
use NilPortugues\Api\Http\Message\AbstractResponse;

src/Http/Message/ResourceUpdatedResponse.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.
1010
*/
11+
1112
namespace NilPortugues\Api\Json\Http\Message;
1213

1314
use NilPortugues\Api\Http\Message\AbstractResponse;

src/Http/Message/Response.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.
1010
*/
11+
1112
namespace NilPortugues\Api\Json\Http\Message;
1213

1314
use NilPortugues\Api\Http\Message\AbstractResponse;

0 commit comments

Comments
 (0)