Skip to content

Commit 4100a9b

Browse files
author
Южаков Георгий
committed
Update php unit. Update Test for php7.2
1 parent 0d669dc commit 4100a9b

77 files changed

Lines changed: 3850 additions & 2942 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ vendor
44
examples/init.php
55
atlassian-ide-plugin.xml
66
nbproject/
7+
.phpunit.result.cache

.travis.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,18 @@ sudo: false
22
language: php
33

44
php:
5-
- 5.4
6-
- 5.5
7-
- 5.6
8-
- 7.0
9-
- hhvm
10-
5+
- 7.2
6+
- 7.3
7+
- 7.4
8+
- 8.0
119
matrix:
1210
allow_failures:
13-
- php: hhvm
11+
- php: 8.0
1412

1513
before_script:
1614
- composer self-update
1715
- composer install
1816
- phpenv rehash
1917

2018
script:
21-
- phpunit --coverage-text
19+
- ./vendor/bin/phpunit --coverage-text

composer.json

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,28 +18,34 @@
1818
}
1919
],
2020
"require": {
21-
"php": ">=5.3.0",
22-
"ext-dom": "*",
23-
"ext-curl": "*",
24-
"ext-json": "*"
21+
"php": "^7.2"
2522
},
2623
"require-dev": {
24+
"ext-dom": "*",
25+
"ext-curl": "*",
26+
"ext-json": "*",
2727
"symfony/http-foundation": "~2.1",
2828
"predis/predis": "0.8.*@dev",
29-
"phpunit/phpunit": "3.7.*",
30-
"squizlabs/php_codesniffer": "2.*"
29+
"squizlabs/php_codesniffer": "2.*",
30+
"phpunit/phpunit": "8.5"
3131
},
3232
"suggest": {
3333
"symfony/http-foundation": "Allows using the Symfony Session storage backend.",
3434
"predis/predis": "Allows using the Redis storage backend.",
3535
"ext-openssl": "Allows for usage of secure connections with the stream-based HTTP client."
3636
},
3737
"autoload": {
38-
"psr-0": {
39-
"OAuth": "src",
40-
"OAuth\\Unit": "tests"
38+
"psr-4": {
39+
"OAuth\\": "src/OAuth"
40+
}
41+
},
42+
"autoload-dev": {
43+
"psr-4": {
44+
"OAuthTest\\Unit\\": "tests/Unit",
45+
"OAuthTest\\Mocks\\": "tests/Mocks"
4146
}
4247
},
48+
4349
"extra": {
4450
"branch-alias": {
4551
"dev-master": "0.1-dev"

0 commit comments

Comments
 (0)