-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bc6e74f
commit b36043c
Showing
54 changed files
with
488 additions
and
104 deletions.
There are no files selected for viewing
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: Pipeline | ||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
pull_request: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
testsuite: | ||
name: Testes Automatizados | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
php-version: ['7.1', '7.2', '7.3', '7.4'] | ||
|
||
steps: | ||
- name: Setup PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: ${{ matrix.php-version }} | ||
extensions: json, curl | ||
|
||
- name: checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set phpunit version | ||
if: matrix.php-version == '7.1' | ||
run: composer require "phpunit/phpunit:^6.0" -W --dev | ||
|
||
- name: Composer Install | ||
run: | | ||
composer install --no-progress -o --no-ansi --no-interaction | ||
- name: Análises Estáticas | ||
if: matrix.php-version != '7.1' | ||
run: | | ||
composer stan | ||
- name: Rodanto PHPUnit | ||
run: | | ||
composer test |
Empty file.
Empty file.
Empty file.
This file was deleted.
Oops, something went wrong.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,29 @@ | ||
{ | ||
"name": "nfephp-org/sped-ibge", | ||
"type": "library", | ||
"description": "Librery to access the services of IBGE to obtain the codes used by the system SPED", | ||
"description": "Library to access the services of IBGE to obtain the codes used by the system SPED", | ||
"homepage": "https://github.com/nfephp-org/sped-ibge", | ||
"keywords": ["Sped", "IBGE", "Municipios", "Estatos"], | ||
"license": ["LGPL-3.0-or-later", "GPL-3.0-or-later", "MIT"], | ||
"authors": [ | ||
{ | ||
"name": "Roberto L. Machado", | ||
"email": "[email protected]", | ||
"homepage": "https://github.com/nfephp-org", | ||
"role": "Developer" | ||
} | ||
], | ||
"require": { | ||
"php" : ">=7.0", | ||
"ext-curl": "*", | ||
"ext-json": "*", | ||
"league/flysystem": "^1.0" | ||
"ext-json": "*" | ||
}, | ||
"require-dev": { | ||
"squizlabs/php_codesniffer": "^2.8", | ||
"phpunit/phpunit": "^5.7", | ||
"squizlabs/php_codesniffer": "dev-master", | ||
"phpunit/phpunit": "^6", | ||
"scrutinizer/ocular": "^1.3", | ||
"phpstan/phpstan": "^0.9.1" | ||
"phpstan/phpstan": "^0.12.99", | ||
"phpcompatibility/php-compatibility": "^9.3" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
|
@@ -35,10 +36,10 @@ | |
} | ||
}, | ||
"scripts": { | ||
"test": "phpunit", | ||
"phpcbf": "vendor/bin/phpcbf --standard=psr2 src/", | ||
"phpcs": "vendor/bin/phpcs --standard=psr2 src/", | ||
"phpstan": "vendor/bin/phpstan analyse src/ --level 7" | ||
"test": "vendor/bin/phpunit -c phpunit.xml.dist", | ||
"phpcbf": "vendor/bin/phpcbf src/ tests/", | ||
"phpcs": "vendor/bin/phpcs src/ tests/", | ||
"stan": "vendor/bin/phpstan analyse src/ tests/" | ||
}, | ||
"extra": { | ||
"branch-alias": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
parameters: | ||
ignoreErrors: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
includes: | ||
- phpstan-baseline.neon | ||
|
||
parameters: | ||
level: 5 | ||
checkMissingIterableValueType: false | ||
checkGenericClassInNonGenericObjectType: false | ||
treatPhpDocTypesAsCertain: false |
Empty file.
Oops, something went wrong.