|
1 | 1 | {
|
2 |
| - "name": "php-units-of-measure/php-units-of-measure", |
3 |
| - |
| 2 | + "name": "php-units-of-measure/php-units-of-measure", |
4 | 3 | "description": "A PHP library for converting between standard units of measure.",
|
5 |
| - |
6 | 4 | "keywords": [
|
7 |
| - "measurements", "data", "conversion" |
8 |
| - ], |
9 |
| - |
10 |
| - "homepage": "https://github.com/PhpUnitsOfMeasure/php-units-of-measure", |
11 |
| - |
| 5 | + "measurements", |
| 6 | + "data", |
| 7 | + "conversion" |
| 8 | + ], |
| 9 | + "homepage": "https://github.com/PhpUnitsOfMeasure/php-units-of-measure", |
12 | 10 | "license": "MIT",
|
13 |
| - |
14 | 11 | "authors": [
|
15 | 12 | {
|
16 |
| - "name": "Jonathan Hanson", |
17 |
| - |
18 |
| - "homepage": "http://www.jonathan-hanson.org/", |
19 |
| - "role": "Developer" |
| 13 | + "name": "Jonathan Hanson", |
| 14 | + "role": "Developer" |
20 | 15 | }
|
21 | 16 | ],
|
22 |
| - |
23 | 17 | "support": {
|
24 |
| - |
25 | 18 | "issues": "https://github.com/PhpUnitsOfMeasure/php-units-of-measure/issues",
|
26 | 19 | "source": "https://github.com/PhpUnitsOfMeasure/php-units-of-measure"
|
27 | 20 | },
|
28 |
| - |
29 | 21 | "require": {
|
30 |
| - "php": ">=5.5.0" |
| 22 | + "php": ">=7.4.0" |
31 | 23 | },
|
32 |
| - |
33 | 24 | "require-dev": {
|
34 |
| - "phpunit/phpunit": "4.8.*", |
35 |
| - "squizlabs/php_codesniffer": "2.8.1" |
| 25 | + "phpunit/phpunit": "5.*", |
| 26 | + "squizlabs/php_codesniffer": "3.7.2" |
36 | 27 | },
|
37 |
| - |
38 | 28 | "replace": {
|
39 | 29 | "triplepoint/php-units-of-measure": "*"
|
40 | 30 | },
|
41 |
| - |
42 | 31 | "autoload": {
|
43 | 32 | "psr-4": {
|
44 | 33 | "PhpUnitsOfMeasure\\": "source/"
|
45 | 34 | }
|
46 | 35 | },
|
47 | 36 | "autoload-dev": {
|
48 | 37 | "psr-4": {
|
49 |
| - "PhpUnitsOfMeasureTest\\": "tests/" |
| 38 | + "PhpUnitsOfMeasureTest\\": "tests/" |
50 | 39 | }
|
| 40 | + }, |
| 41 | + "scripts": { |
| 42 | + "test": "phpunit -c ./tests/phpunit.xml.dist ./tests", |
| 43 | + "lint": "phpcs --encoding=utf-8 --extensions=php --standard=./tests/phpcs.xml -nsp ./" |
51 | 44 | }
|
52 | 45 | }
|
0 commit comments