-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #113 from henriquemoody/cleanup
Cleanup
- Loading branch information
Showing
52 changed files
with
842 additions
and
1,857 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 |
---|---|---|
@@ -1,33 +1,3 @@ | ||
.foundation | ||
library/Zend/ | ||
library/Symfony/ | ||
.buildpath | ||
.project | ||
.DS_Store | ||
.settings/ | ||
.foundation-tmp | ||
phar | ||
*.phar | ||
tests/reports | ||
pirum | ||
nbproject | ||
*.7z | ||
*.jar | ||
*.rar | ||
*.zip | ||
*.gz | ||
*.bzip | ||
*.xz | ||
*.lzma | ||
*.iso | ||
*.tar | ||
*.dmg | ||
*.xpi | ||
*.gem | ||
*.egg | ||
*.deb | ||
*.rpm | ||
*.tgz | ||
composer.lock | ||
Makefile | ||
vendor/ | ||
Rest.kdev4 |
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,21 @@ | ||
filter: | ||
excluded_paths: | ||
- bin/* | ||
- public/* | ||
- tests/* | ||
|
||
checks: | ||
php: | ||
code_rating: true | ||
|
||
tools: | ||
external_code_coverage: true | ||
php_analyzer: true | ||
php_changetracking: true | ||
php_code_sniffer: | ||
config: | ||
standard: "PSR2" | ||
php_cpd: true | ||
php_mess_detector: true | ||
php_pdepend: true | ||
sensiolabs_security_checker: true |
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 |
---|---|---|
@@ -1,23 +1,32 @@ | ||
# a Courtesy of Respect/Foundation | ||
sudo: | ||
false | ||
|
||
language: php | ||
|
||
env: FOUNDATION_NO_WAIT=1 | ||
language: | ||
php | ||
|
||
php: | ||
- 5.3 | ||
- 5.4 | ||
- 5.5 | ||
- 5.6 | ||
- hhvm | ||
- hhvm-nightly | ||
|
||
cache: | ||
directories: | ||
- vendor | ||
|
||
before_script: | ||
- make composer-install-dev | ||
- phpenv rehash | ||
- composer install --dev --no-interaction --prefer-source | ||
|
||
script: | ||
- make testdox | ||
- vendor/bin/phpunit --configuration phpunit.xml.dist --colors --coverage-clover=coverage.clover | ||
|
||
after_script: | ||
- wget https://scrutinizer-ci.com/ocular.phar | ||
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover | ||
|
||
notifications: | ||
irc: | ||
channels: | ||
- "irc.freenode.org#php-respect" | ||
use_notice: true | ||
matrix: | ||
allow_failures: | ||
- php: hhvm | ||
- php: hhvm-nightly |
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,58 @@ | ||
# Contributing to Respect\Rest | ||
|
||
Contributions to Respect\Rest are always welcome. You make our lives easier by | ||
sending us your contributions through GitHub pull requests. | ||
|
||
Pull requests for bug fixes must be based on the current stable branch whereas | ||
pull requests for new features must be based on `master`. | ||
|
||
Due to time constraints, we are not always able to respond as quickly as we | ||
would like. Please do not take delays personal and feel free to remind us here, | ||
on IRC, or on Gitter if you feel that we forgot to respond. | ||
|
||
## Using Respect\Rest From a Git Checkout | ||
|
||
The following commands can be used to perform the initial checkout of Respect\Rest: | ||
|
||
```shell | ||
git clone git://github.com/Respect/Rest.git | ||
cd Rest | ||
``` | ||
|
||
Retrieve Respect\Rest's dependencies using [Composer](http://getcomposer.org/): | ||
|
||
```shell | ||
composer install | ||
``` | ||
|
||
## Running Tests | ||
|
||
After run `composer install` on the library's root directory you must run PHPUnit. | ||
|
||
### Linux | ||
|
||
You can test the project using the commands: | ||
```shell | ||
$ vendor/bin/phpunit | ||
``` | ||
|
||
### Windows | ||
|
||
You can test the project using the commands: | ||
```shell | ||
> vendor\bin\phpunit | ||
``` | ||
|
||
No test should fail. | ||
|
||
You can tweak the PHPUnit's settings by copying `phpunit.xml.dist` to `phpunit.xml` | ||
and changing it according to your needs. | ||
|
||
## Standards | ||
|
||
We are trying to follow the [PHP-FIG](http://www.php-fig.org)'s standards, so | ||
when you send us a pull request, be sure you are following them. | ||
|
||
## Sending your code to us | ||
|
||
Please see http://help.github.com/pull-requests/. |
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.