Files
wp-plugin-starter-template-…/composer.json
marcusquinn e6dcda3f6e Fix GitHub Actions failures: code quality, tests, and linting
- Fix shellcheck warnings in bin/install-wp-tests.sh (quote variables, fix command -v usage)
- Remove trailing spaces in .github/workflows/phpunit.yml
- Add phpmd.xml to exclude camelCase checks for WordPress naming conventions
- Update composer.json to use phpmd.xml configuration
- Remove trailing commas in .eslintrc.js for Codacy compliance
- Add .markdownlint.json to configure markdown linting rules
- Improve Cypress test reliability with increased timeouts
- Update loginAsAdmin command with better error handling
- Make plugin activation checks more robust in Cypress tests

🤖 Generated with [Qoder][https://qoder.com]
2025-11-16 03:51:12 +00:00

62 lines
2.1 KiB
JSON

{
"name": "wpallstars/wp-plugin-starter-template-for-ai-coding",
"description": "A starter template for WordPress plugins with AI development workflows.",
"type": "wordpress-plugin",
"version": "0.1.10",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "WP All Stars",
"email": "support@wpallstars.com"
}
],
"minimum-stability": "stable",
"require": {
"php": ">=7.4"
},
"require-dev": {
"phpunit/phpunit": "^9.5.0",
"10up/wp_mock": "^1.0",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
"wp-coding-standards/wpcs": "^3.0",
"phpcompatibility/phpcompatibility-wp": "^2.1",
"phpstan/phpstan": "^1.10.0",
"szepeviktor/phpstan-wordpress": "^1.3",
"phpmd/phpmd": "^2.13.0",
"symfony/dependency-injection": "^5.4",
"symfony/config": "^5.4",
"symfony/filesystem": "^5.4",
"symfony/deprecation-contracts": "^2.5",
"doctrine/instantiator": "^1.5.0",
"psr/log": "^1.1"
},
"autoload": {
"psr-4": {
"WPALLSTARS\\PluginStarterTemplate\\": "includes/",
"WP_Plugin_Starter_Template_For_AI_Coding\\": "includes/"
}
},
"autoload-dev": {
"classmap": [
"includes/Admin/class-admin.php",
"tests/phpunit/"
]
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"scripts": {
"phpcs": "vendor/bin/phpcs --standard=phpcs.xml",
"phpcs:simple": "vendor/bin/phpcs --standard=phpcs-simple.xml",
"phpcbf": "vendor/bin/phpcbf --standard=phpcs.xml",
"phpcbf:simple": "vendor/bin/phpcbf --standard=phpcs-simple.xml",
"phpstan": "vendor/bin/phpstan analyse --level=5 .",
"phpmd": "vendor/bin/phpmd . text phpmd.xml --exclude vendor,node_modules,tests,bin,build,dist",
"test": "vendor/bin/phpunit",
"lint": ["@phpcs", "@phpstan", "@phpmd"],
"fix": ["@phpcbf"]
}
}