File tree 6 files changed +60
-6
lines changed
6 files changed +60
-6
lines changed Original file line number Diff line number Diff line change
1
+ filter :
2
+ excluded_paths : [test/*]
3
+ checks :
4
+ php :
5
+ code_rating : true
6
+ remove_extra_empty_lines : true
7
+ remove_php_closing_tag : true
8
+ remove_trailing_whitespace : true
9
+ fix_use_statements :
10
+ remove_unused : true
11
+ preserve_multiple : false
12
+ preserve_blanklines : true
13
+ order_alphabetically : true
14
+ fix_php_opening_tag : true
15
+ fix_linefeed : true
16
+ fix_line_ending : true
17
+ fix_identation_4spaces : true
18
+ fix_doc_comments : true
19
+ tools :
20
+ external_code_coverage :
21
+ timeout : 600
22
+ runs : 3
23
+ php_analyzer : true
24
+ php_code_coverage : false
25
+ php_code_sniffer :
26
+ config :
27
+ standard : PSR2
28
+ filter :
29
+ paths : ['src']
30
+ php_loc :
31
+ enabled : true
32
+ excluded_dirs : [vendor, test]
33
+ php_cpd :
34
+ enabled : true
35
+ excluded_dirs : [vendor, test]
Original file line number Diff line number Diff line change 4
4
- 5.4
5
5
- 5.5
6
6
- 5.6
7
+ - 7.0
7
8
- hhvm
8
9
9
10
before_script :
10
11
- travis_retry composer self-update
11
12
- travis_retry composer install --no-interaction --prefer-source --dev
13
+ - travis_retry pyrus install pear/PHP_CodeSniffer
14
+ - travis_retry phpenv rehash
15
+
16
+ script :
17
+ - phpcs --standard=psr2 src/
18
+ - phpunit --coverage-text --coverage-clover=coverage.clover
19
+
20
+ after_script :
21
+ - wget https://scrutinizer-ci.com/ocular.phar
22
+ - php ocular.phar code-coverage:upload --format=php-clover coverage.clover
23
+
24
+ matrix :
25
+ allow_failures :
26
+ - php : 7.0
27
+ - php : hhvm
Original file line number Diff line number Diff line change 1
1
# Github Provider for OAuth 2.0 Client
2
-
3
- [ ![ Build Status] ( https://travis-ci.org/thephpleague/oauth2-github.svg?branch=master )] ( https://travis-ci.org/thephpleague/oauth2-github )
4
- [ ![ Latest Stable Version] ( https://poser.pugx.org/league/oauth2-github/v/stable.svg )] ( https://packagist.org/packages/league/oauth2-github )
2
+ [ ![ Latest Version] ( https://img.shields.io/github/release/thephpleague/oauth2-github.svg?style=flat-square )] ( https://github.com/thephpleague/oauth2-github/releases )
3
+ [ ![ Software License] ( https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square )] ( LICENSE.md )
4
+ [ ![ Build Status] ( https://img.shields.io/travis/thephpleague/oauth2-github/master.svg?style=flat-square )] ( https://travis-ci.org/thephpleague/oauth2-github )
5
+ [ ![ Coverage Status] ( https://img.shields.io/scrutinizer/coverage/g/thephpleague/oauth2-github.svg?style=flat-square )] ( https://scrutinizer-ci.com/g/thephpleague/oauth2-github/code-structure )
6
+ [ ![ Quality Score] ( https://img.shields.io/scrutinizer/g/thephpleague/oauth2-github.svg?style=flat-square )] ( https://scrutinizer-ci.com/g/thephpleague/oauth2-github )
7
+ [ ![ Total Downloads] ( https://img.shields.io/packagist/dt/league/oauth2-github.svg?style=flat-square )] ( https://packagist.org/packages/league/oauth2-github )
5
8
6
9
This package provides Github OAuth 2.0 support for the PHP League's [ OAuth 2.0 Client] ( https://github.com/thephpleague/oauth2-client ) .
7
10
Original file line number Diff line number Diff line change 33
33
},
34
34
"autoload-dev" : {
35
35
"psr-4" : {
36
- "League\\ OAuth2\\ Client\\ Test\\ " : " tests /src/"
36
+ "League\\ OAuth2\\ Client\\ Test\\ " : " test /src/"
37
37
}
38
38
}
39
39
}
Original file line number Diff line number Diff line change 12
12
>
13
13
<testsuites >
14
14
<testsuite name =" Package Test Suite" >
15
- <directory suffix =" .php" >./tests /</directory >
15
+ <directory suffix =" .php" >./test /</directory >
16
16
</testsuite >
17
17
</testsuites >
18
- </phpunit >
18
+ </phpunit >
File renamed without changes.
You can’t perform that action at this time.
0 commit comments