Skip to content

Commit

Permalink
Atualização da biblioteca de QR Code para suportar o PHP 7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
caiquearaujo committed Feb 12, 2021
1 parent 7c5787d commit 3da1031
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 42 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 1.1.1

* Suporte para PHP 7.2

## 1.1.0

* Essa é a primeira grande mudança da biblioteca. Lapidamos melhor alguns métodos da classe `Parser`, adicionamos modificadores na classe `Payload` e criamos a classe `Reader` para extrair dados de códigos Pix válidos.
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
}
},
"require": {
"php": "^7.1",
"chillerlan/php-qrcode": "^4.3"
"php": "^7.2",
"chillerlan/php-qrcode": "^3.3"
},
"require-dev": {
"phpunit/phpunit": "^6.4"
Expand Down
70 changes: 31 additions & 39 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/PayloadTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ public function throwExceptionWhenPixKeyNotSet ()
/** @test */
public function throwExceptionWhenInvalidPixKey ()
{
$this->expectExceptionMessage('A chave aleatória `0000` está inválida.');
$this->expectExceptionMessage('O valor `Chave Aleatória` para 0000 está inválido.');

(new Payload())
->setPixKey($this->pixData['keyType'], '0000')
Expand Down

0 comments on commit 3da1031

Please sign in to comment.