Skip to content

Commit de63ce3

Browse files
committed
support for PHP ^7.1.3
1 parent 04655e5 commit de63ce3

File tree

231 files changed

+1973
-863
lines changed

Some content is hidden

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

231 files changed

+1973
-863
lines changed

CHANGELOG.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
1-
### 5.0.1 (14/11/2018)
1+
### 6.0.0 (29/11/2018)
22

33
#### Implementações
4-
* checagem para número de telefone e código de area
5-
4+
* A lib foi atualizada para funcionar no PHP 7.1.3 em diante
5+
6+
#### 5.0.1 (14/11/2018)
7+
8+
#### Implementações
9+
* checagem para número de telefone e código de area
10+
611
### 5.0.0 (21/10/2018)
712

813
#### Implementações

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,12 @@ Biblioteca de integração PagSeguro para PHP
33

44
[![Code Climate](https://codeclimate.com/github/pagseguro/pagseguro-php-sdk/badges/gpa.svg)](https://codeclimate.com/github/pagseguro/pagseguro-php-sdk)
55
[![Total Downloads](https://poser.pugx.org/pagseguro/pagseguro-php-sdk/d/total.svg)](https://packagist.org/packages/pagseguro/pagseguro-php-sdk)
6+
[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%207.1.3-blue.svg?style=flat-square)](https://php.net/)
67
[![Latest Stable Version](https://poser.pugx.org/pagseguro/pagseguro-php-sdk/v/stable.svg)](https://packagist.org/packages/pagseguro/pagseguro-php-sdk)
78
[![Latest Unstable Version](https://poser.pugx.org/pagseguro/pagseguro-php-sdk/v/unstable.svg)](https://packagist.org/packages/pagseguro/pagseguro-php-sdk)
89

10+
> Caso você deseje usar uma versão abaixo do PHP 7.1.3 por favor consulte o branch https://github.com/pagseguro/pagseguro-php-sdk/tree/5.x.x
11+
912
Descrição
1013
---------
1114

@@ -24,7 +27,7 @@ A biblioteca PagSeguro em PHP é um conjunto de classes de domínio que facilita
2427
Requisitos
2528
----------
2629

27-
- [PHP] ^5.6
30+
- [PHP] ^7.1.3
2831
- [SPL]
2932
- [cURL]
3033
- [SimpleXml]
@@ -51,7 +54,7 @@ Instalação
5154
```composer.json
5255
{
5356
"require": {
54-
"pagseguro/pagseguro-php-sdk" : "^5.0"
57+
"pagseguro/pagseguro-php-sdk" : "^6.0"
5558
}
5659
}
5760
```

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "pagseguro/pagseguro-php-sdk",
2+
"name": "uol-pagseguro-moscou/pagseguro-php-sdk",
33
"description": "Biblioteca de integração com o PagSeguro",
44
"license": "Apache-2.0",
55
"authors": [
@@ -8,13 +8,13 @@
88
}
99
],
1010
"require": {
11-
"php": "^5.6",
11+
"php": "^7.1.3",
1212
"ext-curl": "*",
1313
"lib-curl": "*",
1414
"lib-openssl": "*"
1515
},
1616
"require-dev": {
17-
"phpunit/phpunit": "^5.7"
17+
"phpunit/phpunit": "^7.0"
1818
},
1919
"autoload": {
2020
"psr-4": {

phpunit.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
convertNoticesToExceptions="true"
88
convertWarningsToExceptions="true"
99
processIsolation="false"
10-
stopOnFailure="false"
11-
syntaxCheck="false">
10+
stopOnFailure="false">
1211

1312
<filter>
1413
<whitelist>
@@ -28,6 +27,6 @@
2827

2928
<logging>
3029
<log type="coverage-html" target="tests/codeCoverage/html"
31-
lowUpperBound="50" highLowerBound="80" charset="UTF-8"/>
30+
lowUpperBound="50" highLowerBound="80" />
3231
</logging>
3332
</phpunit>

public/Authorization/Search/searchAuthorizationByCode.php

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,26 @@
11
<?php
2+
/**
3+
* 2007-2016 [PagSeguro Internet Ltda.]
4+
*
5+
* NOTICE OF LICENSE
6+
*
7+
* Licensed under the Apache License, Version 2.0 (the "License");
8+
* you may not use this file except in compliance with the License.
9+
* You may obtain a copy of the License at
10+
*
11+
* http://www.apache.org/licenses/LICENSE-2.0
12+
*
13+
* Unless required by applicable law or agreed to in writing, software
14+
* distributed under the License is distributed on an "AS IS" BASIS,
15+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
* See the License for the specific language governing permissions and
17+
* limitations under the License.
18+
*
19+
* @author PagSeguro Internet Ltda.
20+
* @copyright 2007-2016 PagSeguro Internet Ltda.
21+
* @license http://www.apache.org/licenses/LICENSE-2.0
22+
*
23+
*/
224

325
require_once "../../../vendor/autoload.php";
426

public/Authorization/Search/searchAuthorizationByDate.php

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,26 @@
11
<?php
2+
/**
3+
* 2007-2016 [PagSeguro Internet Ltda.]
4+
*
5+
* NOTICE OF LICENSE
6+
*
7+
* Licensed under the Apache License, Version 2.0 (the "License");
8+
* you may not use this file except in compliance with the License.
9+
* You may obtain a copy of the License at
10+
*
11+
* http://www.apache.org/licenses/LICENSE-2.0
12+
*
13+
* Unless required by applicable law or agreed to in writing, software
14+
* distributed under the License is distributed on an "AS IS" BASIS,
15+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
* See the License for the specific language governing permissions and
17+
* limitations under the License.
18+
*
19+
* @author PagSeguro Internet Ltda.
20+
* @copyright 2007-2016 PagSeguro Internet Ltda.
21+
* @license http://www.apache.org/licenses/LICENSE-2.0
22+
*
23+
*/
224

325
require_once "../../../vendor/autoload.php";
426

public/Authorization/Search/searchAuthorizationByNotification.php

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,26 @@
11
<?php
2+
/**
3+
* 2007-2016 [PagSeguro Internet Ltda.]
4+
*
5+
* NOTICE OF LICENSE
6+
*
7+
* Licensed under the Apache License, Version 2.0 (the "License");
8+
* you may not use this file except in compliance with the License.
9+
* You may obtain a copy of the License at
10+
*
11+
* http://www.apache.org/licenses/LICENSE-2.0
12+
*
13+
* Unless required by applicable law or agreed to in writing, software
14+
* distributed under the License is distributed on an "AS IS" BASIS,
15+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
* See the License for the specific language governing permissions and
17+
* limitations under the License.
18+
*
19+
* @author PagSeguro Internet Ltda.
20+
* @copyright 2007-2016 PagSeguro Internet Ltda.
21+
* @license http://www.apache.org/licenses/LICENSE-2.0
22+
*
23+
*/
224

325
require_once "../../../vendor/autoload.php";
426

public/Authorization/Search/searchAuthorizationByReference.php

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,26 @@
11
<?php
2+
/**
3+
* 2007-2016 [PagSeguro Internet Ltda.]
4+
*
5+
* NOTICE OF LICENSE
6+
*
7+
* Licensed under the Apache License, Version 2.0 (the "License");
8+
* you may not use this file except in compliance with the License.
9+
* You may obtain a copy of the License at
10+
*
11+
* http://www.apache.org/licenses/LICENSE-2.0
12+
*
13+
* Unless required by applicable law or agreed to in writing, software
14+
* distributed under the License is distributed on an "AS IS" BASIS,
15+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
* See the License for the specific language governing permissions and
17+
* limitations under the License.
18+
*
19+
* @author PagSeguro Internet Ltda.
20+
* @copyright 2007-2016 PagSeguro Internet Ltda.
21+
* @license http://www.apache.org/licenses/LICENSE-2.0
22+
*
23+
*/
224

325
require_once "../../../vendor/autoload.php";
426

public/Authorization/createAuthorization.php

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,26 @@
11
<?php
2+
/**
3+
* 2007-2016 [PagSeguro Internet Ltda.]
4+
*
5+
* NOTICE OF LICENSE
6+
*
7+
* Licensed under the Apache License, Version 2.0 (the "License");
8+
* you may not use this file except in compliance with the License.
9+
* You may obtain a copy of the License at
10+
*
11+
* http://www.apache.org/licenses/LICENSE-2.0
12+
*
13+
* Unless required by applicable law or agreed to in writing, software
14+
* distributed under the License is distributed on an "AS IS" BASIS,
15+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
* See the License for the specific language governing permissions and
17+
* limitations under the License.
18+
*
19+
* @author PagSeguro Internet Ltda.
20+
* @copyright 2007-2016 PagSeguro Internet Ltda.
21+
* @license http://www.apache.org/licenses/LICENSE-2.0
22+
*
23+
*/
224

325
require_once "../../vendor/autoload.php";
426

public/Authorization/createAuthorizationCompany.php

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,26 @@
11
<?php
2+
/**
3+
* 2007-2016 [PagSeguro Internet Ltda.]
4+
*
5+
* NOTICE OF LICENSE
6+
*
7+
* Licensed under the Apache License, Version 2.0 (the "License");
8+
* you may not use this file except in compliance with the License.
9+
* You may obtain a copy of the License at
10+
*
11+
* http://www.apache.org/licenses/LICENSE-2.0
12+
*
13+
* Unless required by applicable law or agreed to in writing, software
14+
* distributed under the License is distributed on an "AS IS" BASIS,
15+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
* See the License for the specific language governing permissions and
17+
* limitations under the License.
18+
*
19+
* @author PagSeguro Internet Ltda.
20+
* @copyright 2007-2016 PagSeguro Internet Ltda.
21+
* @license http://www.apache.org/licenses/LICENSE-2.0
22+
*
23+
*/
224

325
require_once "../../vendor/autoload.php";
426

0 commit comments

Comments
 (0)