mirror of
https://gh.wpcy.net/https://github.com/djav1985/v-wordpress-plugin-updater.git
synced 2026-04-28 08:02:16 +08:00
modified: composer.lock modified: mu-plugin/v-sys-plugin-updater-mu.php modified: mu-plugin/v-sys-plugin-updater.php modified: mu-plugin/v-sys-theme-updater-mu.php modified: mu-plugin/v-sys-theme-updater.php modified: tests/ApiKeyHelperTest.php modified: update-api/app/Controllers/ApiController.php modified: update-api/app/Controllers/HomeController.php deleted: update-api/app/Controllers/KeyController.php modified: update-api/app/Core/Router.php modified: update-api/app/Models/HostsModel.php modified: update-api/config.php modified: update-api/public/install.php deleted: update-api/storage/test.sqlite
65 lines
2.1 KiB
JSON
65 lines
2.1 KiB
JSON
{
|
|
"name": "php-stubs/wordpress-stubs",
|
|
"description": "WordPress function and class declaration stubs for static analysis.",
|
|
"license": "MIT",
|
|
"keywords": [
|
|
"wordpress",
|
|
"static analysis",
|
|
"phpstan"
|
|
],
|
|
"homepage": "https://github.com/php-stubs/wordpress-stubs",
|
|
"require-dev": {
|
|
"php": "^7.4 || ^8.0",
|
|
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
|
|
"nikic/php-parser": "^5.5",
|
|
"php-stubs/generator": "^0.8.3",
|
|
"phpdocumentor/reflection-docblock": "^5.4.1",
|
|
"phpstan/phpstan": "^2.1",
|
|
"phpunit/phpunit": "^9.5",
|
|
"szepeviktor/phpcs-psr-12-neutron-hybrid-ruleset": "^1.1.1",
|
|
"wp-coding-standards/wpcs": "3.1.0 as 2.3.0"
|
|
},
|
|
"conflict": {
|
|
"phpdocumentor/reflection-docblock": "5.6.1"
|
|
},
|
|
"suggest": {
|
|
"paragonie/sodium_compat": "Pure PHP implementation of libsodium",
|
|
"symfony/polyfill-php80": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions",
|
|
"szepeviktor/phpstan-wordpress": "WordPress extensions for PHPStan"
|
|
},
|
|
"minimum-stability": "stable",
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"PhpStubs\\WordPress\\Core\\": "src/"
|
|
},
|
|
"classmap": [
|
|
"tests/"
|
|
]
|
|
},
|
|
"config": {
|
|
"allow-plugins": {
|
|
"php-stubs/generator": true,
|
|
"dealerdirect/phpcodesniffer-composer-installer": true
|
|
},
|
|
"platform": {
|
|
"php": "7.4.30"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"post-install-cmd": "@composer --working-dir=source/ update --no-interaction",
|
|
"post-update-cmd": "@composer --working-dir=source/ update --no-interaction",
|
|
"cleanup": "git status --short --ignored | sed -n -e 's#^!! ##p' | xargs -r rm -vrf",
|
|
"test": [
|
|
"@test:phpunit",
|
|
"@test:phpstan",
|
|
"@test:cs"
|
|
],
|
|
"test:cs": "phpcs",
|
|
"test:cs:fix": "phpcbf",
|
|
"test:phpstan": "phpstan analyze",
|
|
"test:phpunit": "phpunit"
|
|
},
|
|
"scripts-descriptions": {
|
|
"cleanup": "Remove all ignored files."
|
|
}
|
|
}
|