Skip to content

Commit 550a244

Browse files
committed
Add a bunch of stub packages for WordPress development
1 parent afda524 commit 550a244

File tree

2 files changed

+417
-173
lines changed

2 files changed

+417
-173
lines changed

composer.json

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,16 @@
1313
}
1414
},
1515
"license": "MIT",
16-
"require-dev": {
17-
"squizlabs/php_codesniffer": "^3.5",
18-
"spatie/ray": "^1.28"
19-
},
2016
"require": {
21-
"nesbot/carbon": "^2.50"
17+
"php": "^7.4|^8.0",
18+
"nesbot/carbon": "^2.57"
19+
},
20+
"require-dev": {
21+
"squizlabs/php_codesniffer": "^3.6",
22+
"spatie/ray": "^1.28",
23+
"php-stubs/wordpress-tests-stubs": "^5.8",
24+
"php-stubs/wordpress-stubs": "^5.9",
25+
"php-stubs/wordpress-globals": "^0.2"
2226
},
2327
"scripts": {
2428
"lint": "./vendor/bin/phpcs --standard=PSR12 ./src"

0 commit comments

Comments
 (0)