|
1 | 1 | { |
2 | 2 | "name": "phpcfdi/xml-cancelacion", |
3 | 3 | "description": "Genera documentos de cancelación de CFDI firmados (XMLSEC)", |
4 | | - "keywords": ["phpcfdi", "sat", "cfdi", "Cancelacion", "PeticionConsultaRelacionados", "SolicitudAceptacionRechazo"], |
5 | | - "homepage": "https://github.com/phpcfdi/xml-cancelacion", |
6 | 4 | "license": "MIT", |
| 5 | + "keywords": [ |
| 6 | + "phpcfdi", |
| 7 | + "sat", |
| 8 | + "cfdi", |
| 9 | + "Cancelacion", |
| 10 | + "PeticionConsultaRelacionados", |
| 11 | + "SolicitudAceptacionRechazo" |
| 12 | + ], |
7 | 13 | "authors": [ |
8 | 14 | { |
9 | 15 | "name": "Carlos C Soto", |
10 | 16 | "email": "eclipxe13@gmail.com" |
11 | 17 | } |
12 | 18 | ], |
| 19 | + "homepage": "https://github.com/phpcfdi/xml-cancelacion", |
13 | 20 | "support": { |
14 | | - "source": "https://github.com/phpcfdi/xml-cancelacion", |
15 | | - "issues": "https://github.com/phpcfdi/xml-cancelacion/issues" |
16 | | - }, |
17 | | - "prefer-stable": true, |
18 | | - "config": { |
19 | | - "optimize-autoloader": true, |
20 | | - "preferred-install": { |
21 | | - "*": "dist" |
22 | | - } |
| 21 | + "issues": "https://github.com/phpcfdi/xml-cancelacion/issues", |
| 22 | + "source": "https://github.com/phpcfdi/xml-cancelacion" |
23 | 23 | }, |
24 | 24 | "require": { |
25 | 25 | "php": "^8.1", |
|
29 | 29 | "phpcfdi/credentials": "^1.1.1" |
30 | 30 | }, |
31 | 31 | "require-dev": { |
32 | | - "robrichards/xmlseclibs": "^3.1.0", |
33 | | - "phpunit/phpunit": "^10.5.46" |
| 32 | + "phpunit/phpunit": "^10.5.46", |
| 33 | + "robrichards/xmlseclibs": "^3.1.0" |
34 | 34 | }, |
35 | 35 | "suggest": { |
36 | 36 | "robrichards/xmlseclibs": "Create document signatures (partially) using xmlseclibs" |
37 | 37 | }, |
| 38 | + "prefer-stable": true, |
38 | 39 | "autoload": { |
39 | 40 | "psr-4": { |
40 | 41 | "PhpCfdi\\XmlCancelacion\\": "src/" |
|
45 | 46 | "PhpCfdi\\XmlCancelacion\\Tests\\": "tests/" |
46 | 47 | } |
47 | 48 | }, |
| 49 | + "config": { |
| 50 | + "optimize-autoloader": true, |
| 51 | + "preferred-install": { |
| 52 | + "*": "dist" |
| 53 | + } |
| 54 | + }, |
48 | 55 | "scripts": { |
49 | | - "dev:build": ["@dev:fix-style", "@dev:test"], |
| 56 | + "dev:build": [ |
| 57 | + "@dev:fix-style", |
| 58 | + "@dev:test" |
| 59 | + ], |
50 | 60 | "dev:check-style": [ |
| 61 | + "@php tools/composer-normalize normalize --dry-run", |
51 | 62 | "@php tools/php-cs-fixer fix --dry-run --verbose", |
52 | 63 | "@php tools/phpcs --colors -sp" |
53 | 64 | ], |
| 65 | + "dev:coverage": [ |
| 66 | + "@php -dzend_extension=xdebug.so -dxdebug.mode=coverage vendor/bin/phpunit --coverage-html build/coverage/html/" |
| 67 | + ], |
54 | 68 | "dev:fix-style": [ |
| 69 | + "@php tools/composer-normalize normalize", |
55 | 70 | "@php tools/php-cs-fixer fix --verbose", |
56 | 71 | "@php tools/phpcbf --colors -sp" |
57 | 72 | ], |
|
60 | 75 | "@php vendor/bin/phpunit --testdox --display-all-issues --stop-on-failure", |
61 | 76 | "@php tools/phpstan analyse --no-progress", |
62 | 77 | "@php tools/infection --no-progress --no-interaction --show-mutations" |
63 | | - ], |
64 | | - "dev:coverage": [ |
65 | | - "@php -dzend_extension=xdebug.so -dxdebug.mode=coverage vendor/bin/phpunit --coverage-html build/coverage/html/" |
66 | 78 | ] |
67 | 79 | }, |
68 | 80 | "scripts-descriptions": { |
69 | 81 | "dev:build": "DEV: run dev:fix-style and dev:tests, run before pull request", |
70 | | - "dev:check-style": "DEV: search for code style errors using php-cs-fixer and phpcs", |
71 | | - "dev:fix-style": "DEV: fix code style errors using php-cs-fixer and phpcbf", |
72 | | - "dev:test": "DEV: run dev:check-style, phpunit, phpstan and infection", |
73 | | - "dev:coverage": "DEV: run phpunit with xdebug and storage coverage in build/coverage/html/" |
| 82 | + "dev:check-style": "DEV: search for code style errors using composer-normalize, php-cs-fixer and phpcs", |
| 83 | + "dev:coverage": "DEV: run phpunit with xdebug and storage coverage in build/coverage/html/", |
| 84 | + "dev:fix-style": "DEV: fix code style errors using composer-normalize, php-cs-fixer and phpcbf", |
| 85 | + "dev:test": "DEV: run dev:check-style, phpunit, phpstan and infection" |
74 | 86 | } |
75 | 87 | } |
0 commit comments