Skip to content

Commit

Permalink
Apply composer-normalize
Browse files Browse the repository at this point in the history
  • Loading branch information
eclipxe13 committed Nov 8, 2022
1 parent ff013c4 commit fdec9e7
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 14 deletions.
35 changes: 21 additions & 14 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,29 +1,33 @@
{
"name": "phpcfdi/sat-catalogos-populate",
"description": "Herramienta para crear y actualizar los catálogos de SAT/CFDI en una base de datos SQLite3",
"keywords": ["sat", "cfdi", "catalogos"],
"homepage": "https://github.com/phpcfdi/sat-catalogos-populate",
"license": "MIT",
"keywords": [
"sat",
"cfdi",
"catalogos"
],
"authors": [
{
"name": "Carlos C Soto",
"email": "[email protected]"
}
],
"homepage": "https://github.com/phpcfdi/sat-catalogos-populate",
"support": {
"source": "https://github.com/phpcfdi/sat-catalogos-populate",
"issues": "https://github.com/phpcfdi/sat-catalogos-populate/issues"
"issues": "https://github.com/phpcfdi/sat-catalogos-populate/issues",
"source": "https://github.com/phpcfdi/sat-catalogos-populate"
},
"require": {
"php": ">=8.1",
"ext-pdo": "*",
"ext-sqlite3": "*",
"ext-dom": "*",
"ext-json": "*",
"ext-pdo": "*",
"ext-simplexml": "*",
"ext-dom": "*",
"psr/log": "^1.0",
"ext-sqlite3": "*",
"guzzlehttp/guzzle": "^7.0",
"psr/http-message": "^1.0",
"psr/log": "^1.0",
"symfony/dom-crawler": "^5.2"
},
"require-dev": {
Expand All @@ -44,12 +48,18 @@
}
},
"scripts": {
"dev:build": ["@dev:fix-style", "@dev:test"],
"dev:build": [
"@dev:fix-style",
"@dev:test"
],
"dev:check-style": [
"@php tools/composer-normalize normalize --dry-run",
"@php tools/php-cs-fixer fix --dry-run --verbose",
"@php tools/phpcs --colors -sp"
],
"dev:coverage": [
"@php -dzend_extension=xdebug.so -dxdebug.mode=coverage vendor/bin/phpunit --testdox --coverage-html build/coverage/html/"
],
"dev:fix-style": [
"@php tools/composer-normalize normalize",
"@php tools/php-cs-fixer fix --verbose",
Expand All @@ -59,16 +69,13 @@
"@dev:check-style",
"@php vendor/bin/phpunit --testdox --verbose --stop-on-failure",
"@php tools/phpstan analyse --no-progress --no-interaction"
],
"dev:coverage": [
"@php -dzend_extension=xdebug.so -dxdebug.mode=coverage vendor/bin/phpunit --testdox --coverage-html build/coverage/html/"
]
},
"scripts-descriptions": {
"dev:build": "DEV: run dev:fix-style and dev:tests, run before pull request",
"dev:check-style": "DEV: search for code style errors using composer-normalize, php-cs-fixer and phpcs",
"dev:coverage": "DEV: run phpunit with xdebug and storage coverage in build/coverage/html/",
"dev:fix-style": "DEV: fix code style errors using composer-normalize, php-cs-fixer and phpcbf",
"dev:test": "DEV: run dev:check-style, phpunit and phpstan",
"dev:coverage": "DEV: run phpunit with xdebug and storage coverage in build/coverage/html/"
"dev:test": "DEV: run dev:check-style, phpunit and phpstan"
}
}
1 change: 1 addition & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
- Update GH actions to 8.1.
- Remove composer requierement when not needed.
- Fix composer script `dev:coverage`.
- Implement development tool `composer-normalize`.

## Version 2.4.2 2022-04-01

Expand Down

0 comments on commit fdec9e7

Please sign in to comment.