|
1 | 1 | { |
2 | 2 | "name": "dave-liddament/php-language-extensions", |
3 | 3 | "description": "Attributes for extending the PHP language, using static analysis to enforce new language constructs", |
4 | | - "keywords": ["static analysis", "package attribute", "friend attribute", "sealed attribute"], |
5 | | - "type" : "library", |
| 4 | + "keywords": [ |
| 5 | + "static analysis", |
| 6 | + "package attribute", |
| 7 | + "friend attribute", |
| 8 | + "sealed attribute" |
| 9 | + ], |
| 10 | + "type": "library", |
6 | 11 | "minimum-stability": "stable", |
7 | 12 | "license": "MIT", |
8 | 13 | "authors": [ |
|
13 | 18 | ], |
14 | 19 | "autoload": { |
15 | 20 | "psr-4": { |
16 | | - "DaveLiddament\\PhpLanguageExtensions\\" : "src/" |
| 21 | + "DaveLiddament\\PhpLanguageExtensions\\": "src/" |
17 | 22 | } |
18 | 23 | }, |
19 | | - "require" : { |
20 | | - "php": ">=8.0 <8.3" |
| 24 | + "require": { |
| 25 | + "php": "^8.0 || ^8.1 || ^8.2" |
21 | 26 | }, |
22 | 27 | "require-dev": { |
23 | 28 | "phpstan/phpstan": "^1.5", |
|
26 | 31 | "vimeo/psalm": "^4.22" |
27 | 32 | }, |
28 | 33 | "scripts": { |
29 | | - "composer-validate" : "@composer validate --no-check-all --strict", |
30 | | - "cs-fix" : "php-cs-fixer fix", |
31 | | - "cs" : "php-cs-fixer fix --dry-run -v", |
32 | | - "phpstan" : "phpstan analyse", |
33 | | - "psalm" : "psalm", |
34 | | - "lint" : "parallel-lint src", |
35 | | - "ci" : [ |
36 | | - "@composer-validate", |
37 | | - "@lint", |
38 | | - "@cs", |
39 | | - "@phpstan", |
40 | | - "@psalm" |
41 | | - ] |
42 | | - } |
| 34 | + "composer-validate": "@composer validate --no-check-all --strict", |
| 35 | + "cs-fix": "php-cs-fixer fix", |
| 36 | + "cs": [ |
| 37 | + "@putenv @PHP_CS_FIXER_IGNORE_ENV=1", |
| 38 | + "php-cs-fixer fix --dry-run -v" |
| 39 | + ], |
| 40 | + "phpstan": "phpstan analyse", |
| 41 | + "psalm": "psalm", |
| 42 | + "lint": "parallel-lint src", |
| 43 | + "ci": [ |
| 44 | + "@composer-validate", |
| 45 | + "@lint", |
| 46 | + "@cs", |
| 47 | + "@phpstan", |
| 48 | + "@psalm" |
| 49 | + ] |
| 50 | + } |
43 | 51 | } |
0 commit comments