-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathcomposer.json
More file actions
108 lines (108 loc) · 3.33 KB
/
Copy pathcomposer.json
File metadata and controls
108 lines (108 loc) · 3.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
{
"name": "calebdw/phpstan-laravel",
"type": "phpstan-extension",
"description": "A PHPStan extension for analysis of Laravel applications and packages.",
"homepage": "https://phpstan-laravel.dev",
"support": {
"docs": "https://phpstan-laravel.dev",
"issues": "https://github.com/calebdw/phpstan-laravel/issues",
"source": "https://github.com/calebdw/phpstan-laravel"
},
"keywords": [
"laravel",
"phpstan",
"phpstan-extension",
"php",
"package",
"static analysis",
"code analysis"
],
"license": "MIT",
"authors": [
{
"name": "Caleb White",
"email": "cdwhite3@pm.me"
}
],
"require": {
"php": "^8.3",
"illuminate/console": "^12.67.0 || ^13.26.1",
"illuminate/container": "^12.67.0 || ^13.26.1",
"illuminate/contracts": "^12.67.0 || ^13.26.1",
"illuminate/database": "^12.67.0 || ^13.26.1",
"illuminate/http": "^12.67.0 || ^13.26.1",
"illuminate/pipeline": "^12.67.0 || ^13.26.1",
"illuminate/support": "^12.67.0 || ^13.26.1",
"phpstan/phpstan": "^2.2.8",
"symfony/finder": "^7.2 || ^8.0",
"webmozart/assert": "^2.4"
},
"require-dev": {
"boundwize/structarmed": "^0.18.0",
"calebdw/pg-schema-parser": "^1.0",
"doctrine/coding-standard": "^14.0",
"iamcal/sql-parser": "^0.7.0",
"laravel/framework": "^12.67.0 || ^13.26.1",
"mockery/mockery": "^1.6",
"nikic/php-parser": "^5.6",
"orchestra/canvas": "^10.0 || ^11",
"orchestra/testbench-core": "^10.0 || ^11",
"phpmyadmin/sql-parser": "^5.9.0",
"phpstan/phpstan-deprecation-rules": "^2.0.1",
"phpstan/phpstan-webmozart-assert": "^2.0",
"phpunit/phpunit": "^12.5.8 || ^13.1.8"
},
"suggest": {
"calebdw/pg-schema-parser": "Required to parse PostgreSQL schema dumps with the `postgres` parser driver (MIT)",
"iamcal/sql-parser": "Required to parse squashed schema dumps with the `iamcal` parser driver (MIT)",
"orchestra/testbench": "Using phpstan-laravel for analysing a package needs Testbench",
"phpmyadmin/sql-parser": "Required to parse squashed schema dumps with the `phpmyadmin` parser driver (GPL-2.0-or-later)"
},
"autoload": {
"psr-4": {
"CalebDW\\PhpstanLaravel\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"App\\": "tests/application/app/",
"Database\\Factories\\": "tests/application/database/factories/",
"Database\\Migrations\\": "tests/application/database/migrations/"
},
"classmap": [
"tests/"
]
},
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"sort-packages": true,
"preferred-install": "dist",
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"extra": {
"phpstan": {
"includes": [
"extension.neon"
]
}
},
"scripts": {
"test:cs": "phpcs",
"test:types": "phpstan analyse --ansi --memory-limit 300M",
"test:architecture": "structarmed analyze",
"test:unit": "phpunit --colors=always",
"test:application": "tests/analyse.sh laravel",
"test:e2e": "tests/analyse.sh",
"test": [
"@test:types",
"@test:unit"
]
},
"scripts-descriptions": {
"test:application": "Analyse a freshly installed Laravel application (build/laravel)",
"test:e2e": "Analyse a real-world application, e.g. `composer test:e2e monicahq-monica`"
}
}