1
1
{
2
- "name" : " josantonius/errorhandler" ,
3
- "type" : " library" ,
4
- "description" : " PHP library for handling exceptions and errors." ,
2
+ "name" : " josantonius/error-handler" ,
3
+ "description" : " PHP library for handling errors." ,
4
+ "license" : " MIT" ,
5
+ "type" : " library" ,
5
6
"keywords" : [
6
- " Exception" ,
7
- " Exception handler" ,
8
- " Error handler" ,
7
+ " error" ,
8
+ " error-handler" ,
9
9
" throw" ,
10
- " Error" ,
11
- " Throwable" ,
12
- " HHVM" ,
13
- " PHP"
10
+ " throwable" ,
11
+ " php"
14
12
],
15
- "license" : " MIT" ,
16
13
"authors" : [
17
14
{
18
- "name" : " Josantonius" ,
19
- "email" : " hello@josantonius.com " ,
20
- "homepage" : " https://josantonius.com " ,
21
- "role" : " Developer"
15
+ "name" : " Josantonius" ,
16
+ "email" : " hello@josantonius.dev " ,
17
+ "homepage" : " https://josantonius.dev " ,
18
+ "role" : " Developer"
22
19
}
23
20
],
24
21
"support" : {
25
- "issues" : " https://github.com/josantonius/php-errorhandler/issues" ,
26
- "forum" : " http://stackoverflow.com/tags/josantonius/php-errorhandler" ,
27
- "source" : " https://github.com/josantonius/php-errorhandler"
28
- },
29
- "config" : {
30
- "preferred-install" : " dist"
22
+ "issues" : " https://github.com/josantonius/php-error-handler/issues" ,
23
+ "source" : " https://github.com/josantonius/php-error-handler" ,
24
+ "discussions" : " https://github.com/josantonius/php-error-handler/discussions"
31
25
},
32
- "minimum-stability" : " stable" ,
33
26
"require" : {
34
- "php" : " ^5.6 || ^7.0 "
27
+ "php" : " ^8.1 "
35
28
},
36
29
"require-dev" : {
37
- "phpunit/phpunit" : " ^5.7 || ^6.0" ,
38
- "squizlabs/php_codesniffer" : " ^3.0" ,
39
- "friendsofphp/php-cs-fixer" : " ^2.3 || ^2.8" ,
40
- "phpmd/phpmd" : " ^2.6"
30
+ "phpmd/phpmd" : " ^2.6" ,
31
+ "phpunit/phpunit" : " ^9.5" ,
32
+ "squizlabs/php_codesniffer" : " ^3.7"
41
33
},
34
+ "minimum-stability" : " stable" ,
42
35
"autoload" : {
43
36
"psr-4" : {
44
37
"Josantonius\\ ErrorHandler\\ " : " src/"
45
38
}
46
39
},
47
40
"autoload-dev" : {
48
41
"psr-4" : {
49
- "Josantonius\\ ErrorHandler\\ " : " tests/"
42
+ "Josantonius\\ ErrorHandler\\ Tests \\ " : " tests/"
50
43
}
51
44
},
45
+ "config" : {
46
+ "preferred-install" : " dist"
47
+ },
52
48
"extra" : {
53
49
"branch-alias" : {
54
50
"dev-master" : " 1.0-dev"
55
51
}
56
52
},
57
53
"scripts" : {
58
- "phpunit" : " vendor/bin/phpunit --colors=always;" ,
59
- "phpcs" : " vendor/bin/phpcs --standard=phpcs.xml $(find . -name '*.php');" ,
60
- "phpmd" : " vendor/bin/phpmd src,tests text ./phpmd.xml" ,
54
+ "coverage" : " vendor/bin/phpunit --coverage-clover=coverage.xml" ,
61
55
"fix" : [
62
- " vendor/bin/php-cs-fixer fix -v" ,
63
56
" vendor/bin/phpcbf src tests"
64
57
],
58
+ "htmlCoverage" : " vendor/bin/phpunit --coverage-html coverage" ,
59
+ "phpcs" : " vendor/bin/phpcs --standard=phpcs.xml $(find . -name '*.php');" ,
60
+ "phpmd" : " vendor/bin/phpmd src,tests text ./phpmd.xml" ,
61
+ "phpunit" : " vendor/bin/phpunit --colors=always;" ,
65
62
"tests" : [
66
63
" clear" ,
67
64
" @phpmd" ,
68
65
" @phpcs" ,
69
66
" @phpunit"
70
67
]
71
68
}
72
- }
69
+ }
0 commit comments