|
1 | 1 | {
|
2 | 2 | "name": "phpcfdi/cfdi-cleaner",
|
3 | 3 | "description": "Clean up Mexican CFDI",
|
4 |
| - "keywords": ["cfdi", "sat", "mexico"], |
5 |
| - "homepage": "https://github.com/phpcfdi/cfdi-cleaner", |
6 | 4 | "license": "MIT",
|
| 5 | + "keywords": [ |
| 6 | + "cfdi", |
| 7 | + "sat", |
| 8 | + "mexico" |
| 9 | + ], |
7 | 10 | "authors": [
|
8 | 11 | {
|
9 | 12 | "name": "Carlos C Soto",
|
10 | 13 | "email": "eclipxe13@gmail.com"
|
11 | 14 | }
|
12 | 15 | ],
|
| 16 | + "homepage": "https://github.com/phpcfdi/cfdi-cleaner", |
13 | 17 | "require": {
|
14 | 18 | "php": ">=7.3",
|
15 | 19 | "ext-dom": "*",
|
16 | 20 | "ext-libxml": "*",
|
17 | 21 | "symfony/polyfill-php80": "^1.22"
|
18 | 22 | },
|
19 | 23 | "require-dev": {
|
20 |
| - "phpunit/phpunit": "^9.3", |
21 |
| - "ext-json": "*" |
| 24 | + "ext-json": "*", |
| 25 | + "phpunit/phpunit": "^9.3" |
22 | 26 | },
|
23 | 27 | "autoload": {
|
24 | 28 | "psr-4": {
|
|
31 | 35 | }
|
32 | 36 | },
|
33 | 37 | "scripts": {
|
34 |
| - "dev:build": ["@dev:fix-style", "@dev:test"], |
| 38 | + "dev:build": [ |
| 39 | + "@dev:fix-style", |
| 40 | + "@dev:test" |
| 41 | + ], |
35 | 42 | "dev:check-style": [
|
| 43 | + "@php tools/composer-normalize normalize --dry-run", |
36 | 44 | "@php tools/php-cs-fixer fix --dry-run --verbose",
|
37 | 45 | "@php tools/phpcs --colors -sp"
|
38 | 46 | ],
|
| 47 | + "dev:coverage": [ |
| 48 | + "@php -dzend_extension=xdebug.so -dxdebug.mode=coverage vendor/bin/phpunit --coverage-html build/coverage/html/" |
| 49 | + ], |
39 | 50 | "dev:fix-style": [
|
| 51 | + "@php tools/composer-normalize normalize", |
40 | 52 | "@php tools/php-cs-fixer fix --verbose",
|
41 | 53 | "@php tools/phpcbf --colors -sp"
|
42 | 54 | ],
|
43 | 55 | "dev:test": [
|
44 | 56 | "@dev:check-style",
|
45 | 57 | "@php vendor/bin/phpunit --testdox --verbose --stop-on-failure",
|
46 | 58 | "@php tools/phpstan analyse --verbose"
|
47 |
| - ], |
48 |
| - "dev:coverage": [ |
49 |
| - "@php -dzend_extension=xdebug.so -dxdebug.mode=coverage vendor/bin/phpunit --coverage-html build/coverage/html/" |
50 | 59 | ]
|
51 | 60 | },
|
52 | 61 | "scripts-descriptions": {
|
53 | 62 | "dev:build": "DEV: run dev:fix-style and dev:tests, run before pull request",
|
54 |
| - "dev:check-style": "DEV: search for code style errors using php-cs-fixer and phpcs", |
55 |
| - "dev:fix-style": "DEV: fix code style errors using php-cs-fixer and phpcbf", |
56 |
| - "dev:test": "DEV: run dev:check-style, phpunit and phpstan", |
57 |
| - "dev:coverage": "DEV: run phpunit with xdebug and storage coverage in build/coverage/html/" |
| 63 | + "dev:check-style": "DEV: search for code style errors using composer-normalize, php-cs-fixer and phpcs", |
| 64 | + "dev:coverage": "DEV: run phpunit with xdebug and storage coverage in build/coverage/html/", |
| 65 | + "dev:fix-style": "DEV: fix code style errors using composer-normalize, php-cs-fixer and phpcbf", |
| 66 | + "dev:test": "DEV: run dev:check-style, phpunit and phpstan" |
58 | 67 | }
|
59 | 68 | }
|
0 commit comments