11{
2- "name" : " jamesrweb/codewars-api-client" ,
2+ "authors" : [
3+ {
4+ "email" : " james@jamesrobb.co.uk" ,
5+ "name" : " James Robb"
6+ }
7+ ],
8+ "autoload" : {
9+ "psr-4" : {
10+ "CodewarsApiClient\\ " : " src/"
11+ }
12+ },
13+ "autoload-dev" : {
14+ "files" : [
15+ " tests/Helpers/Regex.php"
16+ ],
17+ "psr-4" : {
18+ "Tests\\ " : " tests/"
19+ }
20+ },
321 "description" : " A client for the Codewars API" ,
4- "type" : " library" ,
5- "license" : " MIT" ,
22+ "homepage" : " https://jamesrweb.github.io/codewars-api-client" ,
623 "keywords" : [
724 " codewars" ,
825 " api-client"
926 ],
27+ "license" : " MIT" ,
28+ "minimum-stability" : " stable" ,
29+ "name" : " jamesrweb/codewars-api-client" ,
1030 "readme" : " README.md" ,
11- "homepage" : " https://jamesrweb.github.io/codewars-api-client" ,
1231 "repositories" : [
1332 {
1433 "type" : " composer" ,
1938 "url" : " https://github.com/jamesrweb/codewars-api-client"
2039 }
2140 ],
22- "authors" : [
23- {
24- "name" : " James Robb" ,
25- "email" : " james@jamesrobb.co.uk"
26- }
27- ],
28- "scripts" : {
29- "lint" : " phpstan analyse -c ./config/phpstan/phpstan.neon" ,
30- "format" : " php-cs-fixer fix --config ./config/php-cs-fixer/.php_cs --using-cache no" ,
31- "start" : " php -t public -S localhost:8080" ,
32- "test" : " phpunit tests --testdox --configuration ./config/phpunit/phpunit.xml" ,
33- "test:watch" : " phpunit-watcher watch tests --testdox --configuration phpunit.xml"
34- },
35- "minimum-stability" : " stable" ,
3641 "require" : {
42+ "nyholm/psr7" : " ^1.4" ,
3743 "php" : " >=8.0" ,
38- "symfony/http-client" : " ^5.2" ,
3944 "psr/http-client" : " ^1.0" ,
4045 "psr/http-message" : " ^1.0" ,
41- "nyholm/psr7 " : " ^1.4 " ,
46+ "symfony/http-client " : " ^5.2 " ,
4247 "thecodingmachine/safe" : " ^1.3"
4348 },
4449 "require-dev" : {
45- "phpunit/phpunit" : " ^9" ,
46- "spatie/phpunit-watcher" : " ^1.23" ,
4750 "friendsofphp/php-cs-fixer" : " ^2.18" ,
51+ "infection/infection" : " ^0.21.5" ,
4852 "madewithlove/php-cs-fixer-config" : " ^2.0" ,
49- "phpstan/phpstan " : " ^0.12.76 " ,
53+ "nette/schema " : " ^1.2 " ,
5054 "phpstan/extension-installer" : " ^1.1" ,
55+ "phpstan/phpstan" : " ^0.12.76" ,
5156 "phpstan/phpstan-strict-rules" : " ^0.12.9" ,
52- "nette/schema" : " ^1.2"
57+ "phpunit/phpunit" : " ^9" ,
58+ "spatie/phpunit-watcher" : " ^1.23" ,
59+ "thecodingmachine/phpstan-safe-rule" : " ^1.0"
5360 },
54- "autoload" : {
55- "psr-4" : {
56- "CodewarsApiClient\\ " : " src/"
57- }
61+ "scripts" : {
62+ "ci" : [
63+ " composer run lint" ,
64+ " composer run format" ,
65+ " composer run test"
66+ ],
67+ "format" : " php-cs-fixer fix --config ./config/php-cs-fixer/config.php" ,
68+ "lint" : " phpstan analyse -c ./config/phpstan/phpstan.neon" ,
69+ "test" : [
70+ " composer run test:unit" ,
71+ " composer run test:mutation"
72+ ],
73+ "test:mutation" : [
74+ " @putenv XDEBUG_MODE=coverage" ,
75+ " infection --no-interaction --threads=4 --coverage=../../var/coverage/xml --configuration=./config/infection/config.json"
76+ ],
77+ "test:unit" : [
78+ " @putenv XDEBUG_MODE=coverage" ,
79+ " phpunit tests --configuration ./config/php-unit/phpunit.xml"
80+ ]
5881 },
59- "autoload-dev" : {
60- "files" : [" tests/Helpers/Regex.php" ],
61- "psr-4" : {
62- "Tests\\ " : " tests/"
63- }
64- }
65- }
82+ "type" : " library"
83+ }
0 commit comments