Skip to content

Commit e9865cc

Browse files
author
Phil Sturgeon
committed
Merge branch 'master' of github.com:thephpleague/fractal
Conflicts: .rvmrc Gemfile src/Resource/Item.php src/TransformerAbstract.php tests/TransformerAbstractTest.php
2 parents 81566cf + 5c4cfc6 commit e9865cc

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ script:
2222
- ./vendor/bin/phpcs src --standard=psr2
2323

2424
after_script:
25-
- php vendor/bin/coveralls
25+
- php vendor/bin/coveralls

Guardfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ guard 'phpunit2', :tests_path => 'tests', :cli => '--colors' do
44

55
# Watch library files and run their tests
66
watch(%r{^src/(.+)\.php}) { |m| "tests/#{m[1]}Test.php" }
7-
end
7+
end

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
[![Total Downloads](https://poser.pugx.org/league/fractal/downloads.png)](https://packagist.org/packages/league/fractal)
66
[![Latest Stable Version](https://poser.pugx.org/league/fractal/v/stable.png)](https://packagist.org/packages/league/fractal)
77

8-
Fractal provides a presentation and transformation layer for complex data output, the like found in
8+
Fractal provides a presentation and transformation layer for complex data output, the like found in
99
RESTful APIs, and works really well with JSON.
1010

1111
When building an API it is common for people to just grab stuff from the database and pass it
1212
to `json_encode()`. This might be passable for "trivial" API's but if they are in use by the public,
1313
or used by an iPhone application then this will quickly lead to inconsistent output.
1414

15-
## Goals
15+
## Goals
1616

1717
* Create a "barrier" between source data and output, so schema changes do not affect users
1818
* Systematic type-casting of data, to avoid foreach()ing through and (bool)ing everything
@@ -42,14 +42,14 @@ Via Composer
4242

4343
## Requirements
4444

45-
The following versions of PHP are supported by this version.
45+
The following versions of PHP are supported by this version.
4646

4747
* PHP 5.3
4848
* PHP 5.4
4949
* PHP 5.5
5050
* PHP 5.6
5151

52-
HHVM support is also experimentally supported. It basically works, but CodeSniffer installation is screwing it up on
52+
HHVM support is also experimentally supported. It basically works, but CodeSniffer installation is screwing it up on
5353
Travis-CI.
5454

5555
## Documentation

src/Pagination/Cursor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class Cursor implements CursorInterface
2828

2929
/**
3030
* Prev cursor value
31-
*
31+
*
3232
* @var mixed
3333
*/
3434
protected $prev;

src/Pagination/IlluminatePaginatorAdapter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function __construct(Paginator $paginator)
4040
*/
4141
$this->setupPaginationContext();
4242
}
43-
43+
4444
/**
4545
* Get the number of items for the current page.
4646
*

src/Resource/Item.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
/**
1515
* Item Resource
1616
*
17-
* The Item Resource can stored any mixed data, usually an ORM, ODM or
18-
* other sort of intelligent result, DataMapper model, etc but could
17+
* The Item Resource can stored any mixed data, usually an ORM, ODM or
18+
* other sort of intelligent result, DataMapper model, etc but could
1919
* be a basic array, object, or whatever you like.
2020
*/
2121
class Item extends ResourceAbstract

0 commit comments

Comments
 (0)