Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[+]: fixed performance issue #9

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# http://editorconfig.org
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
#trim_trailing_whitespace = true
#insert_final_newline = true
10 changes: 10 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
* text=auto

/tests export-ignore
/.editorconfig export-ignore
/.scrutinizer.yml export-ignore
/.styleci.yml export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/.travis.yml export-ignore
/phpunit.xml.dist export-ignore
3 changes: 3 additions & 0 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
tools:
external_code_coverage:
timeout: 800
12 changes: 12 additions & 0 deletions .styleci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
preset: psr2

enabled:
- unused_use
- include
- self_accessor
- single_quote
- ordered_use

disabled:
- indentation
- braces
29 changes: 20 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,28 @@
language: php

sudo: false

php:
- "5.6"
- "5.5"
- "5.4"
- "5.3"
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- nightly
- hhvm

before_script:
- composer require satooshi/php-coveralls:dev-master
- composer install
- wget https://scrutinizer-ci.com/ocular.phar
- travis_retry composer self-update
- travis_retry composer require satooshi/php-coveralls:dev-master
- travis_retry composer install --no-interaction --prefer-source
- composer dump-autoload -o

script:
- phpunit --coverage-clover tmp/clover.xml
- mkdir -p build/logs
- php vendor/bin/phpunit -c phpunit.xml.dist

after_success:
- php vendor/bin/coveralls -v
after_script:
- php vendor/bin/coveralls -v
- php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
- bash <(curl -s https://codecov.io/bash)
3 changes: 3 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
"require": {
"php": ">=5.3.0"
},
"require-dev": {
"phpunit/phpunit": "4.*"
},
"autoload": {
"psr-0": {
"SimpleAcl": "library/"
Expand Down
Loading