|
1 | 1 | { |
2 | | - "name": "slim/php-view", |
3 | | - "type": "library", |
4 | | - "description": "Render PHP view scripts into a PSR-7 Response object.", |
5 | | - "keywords": [ |
6 | | - "slim", |
7 | | - "framework", |
8 | | - "view", |
9 | | - "template", |
10 | | - "php", |
11 | | - "phtml", |
12 | | - "renderer" |
13 | | - ], |
14 | | - "license": "MIT", |
15 | | - "authors": [ |
16 | | - { |
17 | | - "name": "Glenn Eggleton", |
18 | | - "email": "geggleto@gmail.com" |
19 | | - } |
20 | | - ], |
21 | | - "require": { |
22 | | - "php": "^7.4 || ^8.0", |
23 | | - "psr/http-message": "^1.1" |
24 | | - }, |
25 | | - "require-dev": { |
26 | | - "phpunit/phpunit": "^9.6", |
27 | | - "slim/psr7": "^1.6", |
28 | | - "squizlabs/php_codesniffer": "^3.10" |
29 | | - }, |
30 | | - "autoload": { |
31 | | - "psr-4": { |
32 | | - "Slim\\Views\\": "src" |
33 | | - } |
34 | | - }, |
35 | | - "autoload-dev": { |
36 | | - "psr-4": { |
37 | | - "Slim\\Tests\\": "tests" |
38 | | - } |
39 | | - }, |
40 | | - "scripts": { |
41 | | - "test": [ |
42 | | - "@phpcs", |
43 | | - "@phpunit" |
44 | | - ], |
45 | | - "phpunit": "phpunit", |
46 | | - "phpcs": "phpcs", |
47 | | - "test:coverage": "phpunit --configuration phpunit.xml.dist --coverage-clover build/logs/clover.xml --coverage-html build/coverage" |
48 | | - }, |
49 | | - "config": { |
50 | | - "sort-packages": true |
| 2 | + "name": "slim/php-view", |
| 3 | + "description": "Render PHP view scripts into a PSR-7 Response object.", |
| 4 | + "license": "MIT", |
| 5 | + "type": "library", |
| 6 | + "keywords": [ |
| 7 | + "slim", |
| 8 | + "framework", |
| 9 | + "view", |
| 10 | + "template", |
| 11 | + "php", |
| 12 | + "phtml", |
| 13 | + "renderer" |
| 14 | + ], |
| 15 | + "authors": [ |
| 16 | + { |
| 17 | + "name": "Glenn Eggleton", |
| 18 | + "email": "geggleto@gmail.com" |
| 19 | + } |
| 20 | + ], |
| 21 | + "require": { |
| 22 | + "php": "^7.4 || ^8.0", |
| 23 | + "psr/http-message": "^1.1" |
| 24 | + }, |
| 25 | + "require-dev": { |
| 26 | + "phpstan/phpstan": "^1", |
| 27 | + "phpunit/phpunit": "^9", |
| 28 | + "slim/psr7": "^1.6", |
| 29 | + "squizlabs/php_codesniffer": "^3.10" |
| 30 | + }, |
| 31 | + "autoload": { |
| 32 | + "psr-4": { |
| 33 | + "Slim\\Views\\": "src" |
51 | 34 | } |
| 35 | + }, |
| 36 | + "autoload-dev": { |
| 37 | + "psr-4": { |
| 38 | + "Slim\\Tests\\": "tests" |
| 39 | + } |
| 40 | + }, |
| 41 | + "config": { |
| 42 | + "sort-packages": true |
| 43 | + }, |
| 44 | + "scripts": { |
| 45 | + "sniffer:check": "phpcs --standard=phpcs.xml", |
| 46 | + "sniffer:fix": "phpcbf --standard=phpcs.xml", |
| 47 | + "stan": "phpstan analyse -c phpstan.neon --no-progress --ansi", |
| 48 | + "test": "phpunit --configuration phpunit.xml --do-not-cache-result --colors=always", |
| 49 | + "test:all": [ |
| 50 | + "@sniffer:check", |
| 51 | + "@stan", |
| 52 | + "@test" |
| 53 | + ], |
| 54 | + "test:coverage": "php -d xdebug.mode=coverage -r \"require 'vendor/bin/phpunit';\" -- --configuration phpunit.xml --do-not-cache-result --colors=always --coverage-clover build/logs/clover.xml --coverage-html build/coverage" |
| 55 | + } |
52 | 56 | } |
0 commit comments