Skip to content

Commit a062802

Browse files
Updates
1 parent ae53dc7 commit a062802

File tree

6 files changed

+61
-18
lines changed

6 files changed

+61
-18
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
/tests export-ignore
44
/.gitattributes export-ignore
55
/.gitignore export-ignore
6+
/.php_cs export-ignore
67
/.travis.yml export-ignore
78
/phpunit.xml.dist export-ignore
89
/CHANGELOG.md export-ignore

.php_cs

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<?php
2+
3+
$fixers = array(
4+
'psr0',
5+
'encoding',
6+
'short_tag',
7+
'braces',
8+
'elseif',
9+
'eof_ending',
10+
'function_declaration',
11+
'indentation',
12+
'line_after_namespace',
13+
'linefeed',
14+
'lowercase_constants',
15+
'lowercase_keywords',
16+
'multiple_use',
17+
'php_closing_tag',
18+
'trailing_spaces',
19+
'duplicate_semicolon',
20+
'extra_empty_lines',
21+
'include',
22+
'multiline_array_trailing_comma',
23+
'namespace_no_leading_whitespace',
24+
'new_with_braces',
25+
'object_operator',
26+
'operators_spaces',
27+
'phpdoc_params',
28+
'single_array_no_trailing_comma',
29+
'spaces_before_semicolon',
30+
'spaces_cast',
31+
'standardize_not_equal',
32+
'ternary_spaces',
33+
'unused_use',
34+
'whitespacy_lines',
35+
'multiline_spaces_before_semicolon',
36+
'ordered_use',
37+
'remove_lines_between_uses',
38+
);
39+
40+
return Symfony\CS\Config\Config::create()->fixers($fixers)
41+
->finder(Symfony\CS\Finder\DefaultFinder::create()->in(__DIR__));

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ before_script:
1313
script:
1414
- bash -c 'if [ "$TRAVIS_PHP_VERSION" == "hhvm" ]; then vendor/bin/phpunit; fi;'
1515
- bash -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then vendor/bin/phpunit --coverage-clover build/logs/clover.xml; fi;'
16+
- bash -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then vendor/bin/phpcs src -p --standard=psr2 --ignore=*.blade.php; fi;'
17+
- bash -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then vendor/bin/php-cs-fixer --dry-run -vv fix; fi;'
1618

17-
after_success:
19+
after_script:
1820
- bash -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi;'
1921
- bash -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml; fi;'

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ CHANGE LOG
22
==========
33

44

5-
## V1.0 RC 1 (Upcoming)
5+
## V1.0 (Upcoming)
66

7-
* Initial testing release
7+
* Initial release

README.md

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,17 @@
11
Laravel Parse
22
=============
33

4+
Laravel Parse was created by, and is maintained by [Graham Campbell](https://github.com/GrahamCampbell), and is a [Parse SDK](https://github.com/ParsePlatform/parse-php-sdk) bridge for [Laravel 4.1/4.2](http://laravel.com). Feel free to check out the [change log](CHANGELOG.md), [releases](https://github.com/GrahamCampbell/Laravel-Parse/releases), [license](LICENSE.md), [api docs](http://docs.grahamjcampbell.co.uk), and [contribution guidelines](CONTRIBUTING.md).
45

5-
[![Build Status](https://img.shields.io/travis/GrahamCampbell/Laravel-Parse/master.svg?style=flat-square)](https://travis-ci.org/GrahamCampbell/Laravel-Parse)
6-
[![Coverage Status](https://img.shields.io/scrutinizer/coverage/g/GrahamCampbell/Laravel-Parse.svg?style=flat-square)](https://scrutinizer-ci.com/g/GrahamCampbell/Laravel-Parse/code-structure)
7-
[![Quality Score](https://img.shields.io/scrutinizer/g/GrahamCampbell/Laravel-Parse.svg?style=flat-square)](https://scrutinizer-ci.com/g/GrahamCampbell/Laravel-Parse)
8-
[![Software License](https://img.shields.io/badge/license-Apache%202.0-brightgreen.svg?style=flat-square)](LICENSE.md)
9-
[![Latest Version](https://img.shields.io/github/release/GrahamCampbell/Laravel-Parse.svg?style=flat-square)](https://github.com/GrahamCampbell/Laravel-Parse/releases)
10-
11-
12-
### Looking for a laravel 5 compatable version?
13-
14-
Checkout the [master branch](https://github.com/GrahamCampbell/Laravel-Parse/tree/master), installable by requiring `"graham-campbell/parse": "~2.0"`.
15-
16-
17-
## Introduction
6+
![Laravel Parse](https://cloud.githubusercontent.com/assets/2829600/4432306/c14b319a-468c-11e4-81e8-29754fa09a86.PNG)
187

19-
Laravel Parse was created by, and is maintained by [Graham Campbell](https://github.com/GrahamCampbell), and is a [Parse SDK](https://github.com/ParsePlatform/parse-php-sdk) bridge for [Laravel 4.1/4.2](http://laravel.com). Feel free to check out the [change log](CHANGELOG.md), [releases](https://github.com/GrahamCampbell/Laravel-Parse/releases), [license](LICENSE.md), [api docs](http://docs.grahamjcampbell.co.uk), and [contribution guidelines](CONTRIBUTING.md).
8+
<p align="center">
9+
<a href="https://travis-ci.org/GrahamCampbell/Laravel-Parse"><img src="https://img.shields.io/travis/GrahamCampbell/Laravel-Parse/master.svg?style=flat-square" alt="Build Status"></img></a>
10+
<a href="https://scrutinizer-ci.com/g/GrahamCampbell/Laravel-Parse/code-structure"><img src="https://img.shields.io/scrutinizer/coverage/g/GrahamCampbell/Laravel-Parse.svg?style=flat-square" alt="Coverage Status"></img></a>
11+
<a href="https://scrutinizer-ci.com/g/GrahamCampbell/Laravel-Parse"><img src="https://img.shields.io/scrutinizer/g/GrahamCampbell/Laravel-Parse.svg?style=flat-square" alt="Quality Score"></img></a>
12+
<a href="LICENSE.md"><img src="https://img.shields.io/badge/license-Apache%202.0-brightgreen.svg?style=flat-square" alt="Software License"></img></a>
13+
<a href="https://github.com/GrahamCampbell/Laravel-Parse/releases"><img src="https://img.shields.io/github/release/GrahamCampbell/Laravel-Parse.svg?style=flat-square" alt="Latest Version"></img></a>
14+
</p>
2015

2116

2217
## Installation
@@ -29,6 +24,10 @@ Once Laravel Parse is installed, you need to register the service provider. Open
2924

3025
* `'GrahamCampbell\Parse\ParseServiceProvider'`
3126

27+
#### Looking for a laravel 5 compatable version?
28+
29+
Checkout the [master branch](https://github.com/GrahamCampbell/Laravel-Parse/tree/master), installable by requiring `"graham-campbell/parse": "~2.0"`.
30+
3231

3332
## Configuration
3433

src/config/config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,6 @@
4747
|
4848
*/
4949

50-
'master_key' => 'your-master-key'
50+
'master_key' => 'your-master-key',
5151

5252
);

0 commit comments

Comments
 (0)