|
1 | 1 | {
|
2 | 2 | "name": "doganoo/php-algorithms",
|
3 |
| - "type": "library", |
4 | 3 | "description": "A collection of common algorithms implemented in PHP. The collection is based on \"Cracking the Coding Interview\" by Gayle Laakmann McDowell",
|
| 4 | + "license": "MIT", |
| 5 | + "type": "library", |
5 | 6 | "keywords": [
|
6 | 7 | "algorithms",
|
7 | 8 | "data structures"
|
8 | 9 | ],
|
9 |
| - "homepage": "https://www.dogan-ucar.de/phpalgorithms-2/", |
10 |
| - "license": "MIT", |
11 | 10 | "authors": [
|
12 | 11 | {
|
13 | 12 | "name": "Dogan Ucar",
|
14 | 13 |
|
15 | 14 | "homepage": "https://www.dogan-ucar.de"
|
16 | 15 | }
|
17 | 16 | ],
|
| 17 | + "homepage": "https://www.dogan-ucar.de/phpalgorithms-2/", |
18 | 18 | "require": {
|
19 | 19 | "php": ">=7.4",
|
20 | 20 | "ext-json": "*",
|
21 |
| - "ext-pdo": "*", |
22 | 21 | "doganoo/php-util": "0.5.*"
|
23 | 22 | },
|
24 | 23 | "require-dev": {
|
25 | 24 | "ergebnis/composer-normalize": "^2.9",
|
26 | 25 | "phpcompatibility/php-compatibility": "^9.3",
|
27 | 26 | "phpstan/phpstan": "^0.12.54",
|
28 | 27 | "phpunit/phpunit": "6.5",
|
| 28 | + "roave/security-advisories": "dev-latest", |
29 | 29 | "squizlabs/php_codesniffer": "^3.5"
|
30 | 30 | },
|
31 | 31 | "autoload": {
|
|
34 | 34 | "doganoo\\PHPAlgorithmsTest\\": "tests/"
|
35 | 35 | }
|
36 | 36 | },
|
| 37 | + "config": { |
| 38 | + "allow-plugins": { |
| 39 | + "ergebnis/composer-normalize": true |
| 40 | + } |
| 41 | + }, |
37 | 42 | "scripts": {
|
38 |
| - "run-test": "vendor/bin/phpunit tests", |
39 |
| - "phpstan": "vendor/bin/phpstan analyse --level=8 --memory-limit=2G src tests", |
40 | 43 | "post-install-cmd": "\"vendor/bin/phpcs\" --config-set installed_paths vendor/phpcompatibility/php-compatibility",
|
41 | 44 | "post-update-cmd": "\"vendor/bin/phpcs\" --config-set installed_paths vendor/phpcompatibility/php-compatibility",
|
42 |
| - "php-compatibility": "./vendor/bin/phpcs -p . --standard=PHPCompatibility --runtime-set testVersion 7.4-8.0 --extensions=php --ignore=vendor/" |
| 45 | + "add-php-compatibility": "\"vendor/bin/phpcs\" --config-set installed_paths vendor/phpcompatibility/php-compatibility", |
| 46 | + "php-compatibility": "./vendor/bin/phpcs -p . --standard=PHPCompatibility --runtime-set testVersion 7.4-8.1 --extensions=php --ignore=vendor/", |
| 47 | + "phpstan": "vendor/bin/phpstan analyse --level=8 --memory-limit=2G src tests", |
| 48 | + "test": "vendor/bin/phpunit tests" |
43 | 49 | }
|
44 | 50 | }
|
0 commit comments