|
1 | 1 | { |
2 | 2 | "name": "phpcfdi/cfdi-expresiones", |
3 | 3 | "description": "Genera expresiones de CFDI 4.0, CFDI 3.3, CFDI 3.2, RET 1.0 y RET 2.0", |
4 | | - "keywords": ["phpcfdi", "sat", "cfdi"], |
5 | | - "homepage": "https://github.com/phpcfdi/cfdi-expresiones", |
6 | 4 | "license": "MIT", |
| 5 | + "keywords": [ |
| 6 | + "phpcfdi", |
| 7 | + "sat", |
| 8 | + "cfdi" |
| 9 | + ], |
7 | 10 | "authors": [ |
8 | 11 | { |
9 | 12 | "name": "Carlos C Soto", |
10 | 13 | "email": "eclipxe13@gmail.com", |
11 | 14 | "homepage": "https://eclipxe.com.mx/" |
12 | 15 | } |
13 | 16 | ], |
| 17 | + "homepage": "https://github.com/phpcfdi/cfdi-expresiones", |
14 | 18 | "support": { |
15 | | - "source": "https://github.com/phpcfdi/cfdi-expresiones", |
16 | | - "issues": "https://github.com/phpcfdi/cfdi-expresiones/issues" |
17 | | - }, |
18 | | - "prefer-stable": true, |
19 | | - "config": { |
20 | | - "optimize-autoloader": true, |
21 | | - "preferred-install": { |
22 | | - "*": "dist" |
23 | | - } |
| 19 | + "issues": "https://github.com/phpcfdi/cfdi-expresiones/issues", |
| 20 | + "source": "https://github.com/phpcfdi/cfdi-expresiones" |
24 | 21 | }, |
25 | 22 | "require": { |
26 | | - "php": ">=7.3", |
| 23 | + "php": ">=8.1", |
27 | 24 | "ext-dom": "*", |
28 | 25 | "ext-mbstring": "*" |
29 | 26 | }, |
30 | 27 | "require-dev": { |
31 | | - "phpunit/phpunit": "^9.5", |
32 | | - "ext-json": "*" |
| 28 | + "ext-json": "*", |
| 29 | + "phpunit/phpunit": "^10.5.45" |
33 | 30 | }, |
| 31 | + "prefer-stable": true, |
34 | 32 | "autoload": { |
35 | 33 | "psr-4": { |
36 | 34 | "PhpCfdi\\CfdiExpresiones\\": "src/" |
|
41 | 39 | "PhpCfdi\\CfdiExpresiones\\Tests\\": "tests/" |
42 | 40 | } |
43 | 41 | }, |
| 42 | + "config": { |
| 43 | + "optimize-autoloader": true, |
| 44 | + "preferred-install": { |
| 45 | + "*": "dist" |
| 46 | + } |
| 47 | + }, |
44 | 48 | "scripts": { |
45 | | - "dev:build": ["@dev:fix-style", "@dev:test"], |
| 49 | + "dev:build": [ |
| 50 | + "@dev:fix-style", |
| 51 | + "@dev:test" |
| 52 | + ], |
46 | 53 | "dev:check-style": [ |
| 54 | + "@php tools/composer-normalize normalize --dry-run", |
47 | 55 | "@php tools/php-cs-fixer fix --dry-run --verbose", |
48 | 56 | "@php tools/phpcs --colors -sp" |
49 | 57 | ], |
| 58 | + "dev:coverage": [ |
| 59 | + "@php -dzend_extension=xdebug.so -dxdebug.mode=coverage vendor/bin/phpunit --coverage-html build/coverage/html/" |
| 60 | + ], |
50 | 61 | "dev:fix-style": [ |
| 62 | + "@php tools/composer-normalize normalize", |
51 | 63 | "@php tools/php-cs-fixer fix --verbose", |
52 | 64 | "@php tools/phpcbf --colors -sp" |
53 | 65 | ], |
|
57 | 69 | "@php tools/phpstan analyse --no-progress", |
58 | 70 | "@php tools/psalm --no-progress", |
59 | 71 | "@php tools/infection --no-progress --no-interaction --show-mutations" |
60 | | - ], |
61 | | - "dev:coverage": [ |
62 | | - "@php -dzend_extension=xdebug.so -dxdebug.mode=coverage vendor/bin/phpunit --coverage-html build/coverage/html/" |
63 | 72 | ] |
64 | 73 | }, |
65 | 74 | "scripts-descriptions": { |
66 | 75 | "dev:build": "DEV: run dev:fix-style and dev:tests, run before pull request", |
67 | | - "dev:check-style": "DEV: search for code style errors using php-cs-fixer and phpcs", |
68 | | - "dev:fix-style": "DEV: fix code style errors using php-cs-fixer and phpcbf", |
69 | | - "dev:test": "DEV: run dev:check-style, phpunit, phpstan, psalm and infection", |
70 | | - "dev:coverage": "DEV: run phpunit with xdebug and storage coverage in build/coverage/html/" |
| 76 | + "dev:check-style": "DEV: search for code style errors using composer-normalize, php-cs-fixer and phpcs", |
| 77 | + "dev:coverage": "DEV: run phpunit with xdebug and storage coverage in build/coverage/html/", |
| 78 | + "dev:fix-style": "DEV: fix code style errors using composer-normalize, php-cs-fixer and phpcbf", |
| 79 | + "dev:test": "DEV: run dev:check-style, phpunit, phpstan, psalm and infection" |
71 | 80 | } |
72 | 81 | } |
0 commit comments