Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:eduardokum/laravel-boleto into d…
Browse files Browse the repository at this point in the history
…evelop
  • Loading branch information
eduardokum committed Oct 9, 2024
2 parents 9c3fcd2 + b74112c commit df8b209
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 16 deletions.
7 changes: 3 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,15 @@ RUN apk add --no-cache \
libzip-dev \
zlib-dev \
libsodium-dev \
icu-dev
icu-dev \
libpng-dev

RUN docker-php-ext-configure intl
RUN docker-php-ext-install zip sodium intl
RUN docker-php-ext-install zip sodium intl gd
RUN docker-php-ext-enable zip sodium

RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer



WORKDIR /var/www

EXPOSE 9000
Expand Down
8 changes: 2 additions & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
version: '3.7'

services:

laravel-boleto:
laravel.boleto:
build: .
container_name: laravel-boleto
tty: true
volumes:
- .:/var/www
- '.:/var/www'
networks:
- laravel-boleto-network

networks:
laravel-boleto-network:
driver: bridge
2 changes: 1 addition & 1 deletion docs/source/usage/boleto/caixa.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Caixa Econônica Federal
Caixa Econômica Federal
=======================

This bank has the following mandatory fields:
Expand Down
2 changes: 1 addition & 1 deletion docs/source/usage/remessa/caixa.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Caixa Econônica Federal
Caixa Econômica Federal
=======================

This bank has the following mandatory fields:
Expand Down
2 changes: 1 addition & 1 deletion docs/source/usage/remessa/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Banrisul yes* yes
Banco do Brasil yes* yes
Banco do Nordeste no yes*
Bradesco yes* yes
Caixa Econônica Federal yes* yes
Caixa Econômica Federal yes* yes
HSBC no yes
Itaú yes* yes
Santander yes* yes
Expand Down
4 changes: 2 additions & 2 deletions docs/source/usage/retorno/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Banrisul yes* yes*
Banco do Brasil yes yes*
Banco do Nordeste no no
Bradesco yes yes*
Caixa Econônica Federal yes yes*
Caixa Econômica Federal yes yes*
HSBC no yes
Itaú yes yes*
Santander yes yes
Expand Down Expand Up @@ -129,7 +129,7 @@ Bradesco
// To process the file
$return->processar();
Caixa Econônica Federal
Caixa Econômica Federal
-----------------------

.. code-block:: php
Expand Down
2 changes: 1 addition & 1 deletion src/Boleto/AbstractBoleto.php
Original file line number Diff line number Diff line change
Expand Up @@ -2097,7 +2097,7 @@ public function validarPix()
throw new ValidationException('Informado tipo de chave de Pix porém não foi informado a chave');
}
if (! $this->getPixChaveTipo()) {
throw new ValidationException('Informado tipo de chave de Pix porém não foi informado a chave');
throw new ValidationException('Informado chave de Pix porém não foi informado o tipo de chave');
}
// if (! $this->getID()) {
// throw new ValidationException('ID necessita ser informado para geração da cobrança');
Expand Down

0 comments on commit df8b209

Please sign in to comment.