Skip to content

Commit

Permalink
support for PHP ^7.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
geekcom committed Dec 11, 2018
1 parent 04655e5 commit de63ce3
Show file tree
Hide file tree
Showing 231 changed files with 1,973 additions and 863 deletions.
11 changes: 8 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
### 5.0.1 (14/11/2018)
### 6.0.0 (29/11/2018)

#### Implementações
* checagem para número de telefone e código de area

* A lib foi atualizada para funcionar no PHP 7.1.3 em diante

#### 5.0.1 (14/11/2018)

#### Implementações
* checagem para número de telefone e código de area

### 5.0.0 (21/10/2018)

#### Implementações
Expand Down
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@ Biblioteca de integração PagSeguro para PHP

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

> 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
Descrição
---------

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

- [PHP] ^5.6
- [PHP] ^7.1.3
- [SPL]
- [cURL]
- [SimpleXml]
Expand All @@ -51,7 +54,7 @@ Instalação
```composer.json
{
"require": {
"pagseguro/pagseguro-php-sdk" : "^5.0"
"pagseguro/pagseguro-php-sdk" : "^6.0"
}
}
```
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "pagseguro/pagseguro-php-sdk",
"name": "uol-pagseguro-moscou/pagseguro-php-sdk",
"description": "Biblioteca de integração com o PagSeguro",
"license": "Apache-2.0",
"authors": [
Expand All @@ -8,13 +8,13 @@
}
],
"require": {
"php": "^5.6",
"php": "^7.1.3",
"ext-curl": "*",
"lib-curl": "*",
"lib-openssl": "*"
},
"require-dev": {
"phpunit/phpunit": "^5.7"
"phpunit/phpunit": "^7.0"
},
"autoload": {
"psr-4": {
Expand Down
5 changes: 2 additions & 3 deletions phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false">
stopOnFailure="false">

<filter>
<whitelist>
Expand All @@ -28,6 +27,6 @@

<logging>
<log type="coverage-html" target="tests/codeCoverage/html"
lowUpperBound="50" highLowerBound="80" charset="UTF-8"/>
lowUpperBound="50" highLowerBound="80" />
</logging>
</phpunit>
22 changes: 22 additions & 0 deletions public/Authorization/Search/searchAuthorizationByCode.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,26 @@
<?php
/**
* 2007-2016 [PagSeguro Internet Ltda.]
*
* NOTICE OF LICENSE
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @author PagSeguro Internet Ltda.
* @copyright 2007-2016 PagSeguro Internet Ltda.
* @license http://www.apache.org/licenses/LICENSE-2.0
*
*/

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

Expand Down
22 changes: 22 additions & 0 deletions public/Authorization/Search/searchAuthorizationByDate.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,26 @@
<?php
/**
* 2007-2016 [PagSeguro Internet Ltda.]
*
* NOTICE OF LICENSE
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @author PagSeguro Internet Ltda.
* @copyright 2007-2016 PagSeguro Internet Ltda.
* @license http://www.apache.org/licenses/LICENSE-2.0
*
*/

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

Expand Down
22 changes: 22 additions & 0 deletions public/Authorization/Search/searchAuthorizationByNotification.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,26 @@
<?php
/**
* 2007-2016 [PagSeguro Internet Ltda.]
*
* NOTICE OF LICENSE
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @author PagSeguro Internet Ltda.
* @copyright 2007-2016 PagSeguro Internet Ltda.
* @license http://www.apache.org/licenses/LICENSE-2.0
*
*/

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

Expand Down
22 changes: 22 additions & 0 deletions public/Authorization/Search/searchAuthorizationByReference.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,26 @@
<?php
/**
* 2007-2016 [PagSeguro Internet Ltda.]
*
* NOTICE OF LICENSE
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @author PagSeguro Internet Ltda.
* @copyright 2007-2016 PagSeguro Internet Ltda.
* @license http://www.apache.org/licenses/LICENSE-2.0
*
*/

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

Expand Down
22 changes: 22 additions & 0 deletions public/Authorization/createAuthorization.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,26 @@
<?php
/**
* 2007-2016 [PagSeguro Internet Ltda.]
*
* NOTICE OF LICENSE
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @author PagSeguro Internet Ltda.
* @copyright 2007-2016 PagSeguro Internet Ltda.
* @license http://www.apache.org/licenses/LICENSE-2.0
*
*/

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

Expand Down
22 changes: 22 additions & 0 deletions public/Authorization/createAuthorizationCompany.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,26 @@
<?php
/**
* 2007-2016 [PagSeguro Internet Ltda.]
*
* NOTICE OF LICENSE
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @author PagSeguro Internet Ltda.
* @copyright 2007-2016 PagSeguro Internet Ltda.
* @license http://www.apache.org/licenses/LICENSE-2.0
*
*/

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

Expand Down
22 changes: 22 additions & 0 deletions public/Authorization/createAuthorizationPersonal.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,26 @@
<?php
/**
* 2007-2016 [PagSeguro Internet Ltda.]
*
* NOTICE OF LICENSE
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @author PagSeguro Internet Ltda.
* @copyright 2007-2016 PagSeguro Internet Ltda.
* @license http://www.apache.org/licenses/LICENSE-2.0
*
*/

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

Expand Down
22 changes: 22 additions & 0 deletions public/Authorization/createAuthorizationSeller.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,26 @@
<?php
/**
* 2007-2016 [PagSeguro Internet Ltda.]
*
* NOTICE OF LICENSE
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @author PagSeguro Internet Ltda.
* @copyright 2007-2016 PagSeguro Internet Ltda.
* @license http://www.apache.org/licenses/LICENSE-2.0
*
*/

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

Expand Down
22 changes: 22 additions & 0 deletions public/Checkout/createPayment.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,26 @@
<?php
/**
* 2007-2016 [PagSeguro Internet Ltda.]
*
* NOTICE OF LICENSE
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @author PagSeguro Internet Ltda.
* @copyright 2007-2016 PagSeguro Internet Ltda.
* @license http://www.apache.org/licenses/LICENSE-2.0
*
*/

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

Expand Down
Loading

0 comments on commit de63ce3

Please sign in to comment.