Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 3 additions & 14 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,37 +37,26 @@
},
"require-dev": {
"automattic/vipwpcs": "^3.0",
"brain/monkey": "^2.6",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
"phpcompatibility/phpcompatibility-wp": "^3.0.0-alpha",
"phpstan/extension-installer": "^1.3",
"phpstan/phpstan": "^2.1.22",
"phpstan/phpstan-deprecation-rules": "^2.0.3",
"phpstan/phpstan-phpunit": "^2.0.3",
Copy link

Copilot AI Feb 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The phpstan/phpstan-phpunit dependency is still present in composer.json but is no longer needed since PHPUnit and its tests are being removed. This package provides PHPUnit-specific extensions for PHPStan and should be removed along with the other test-related dependencies.

Suggested change
"phpstan/phpstan-phpunit": "^2.0.3",

Copilot uses AI. Check for mistakes.
"phpunit/phpunit": "^11.0",
"phpstan/phpstan": "^2.1.22",
"slevomat/coding-standard": "^8.0",
"squizlabs/php_codesniffer": "^3.9",
"szepeviktor/phpstan-wordpress": "^2.0.2",
"wp-coding-standards/wpcs": "^3.1",
"wpackagist-plugin/plugin-check": "~1.6.0",
"yoast/phpunit-polyfills": "^3.0"
"wpackagist-plugin/plugin-check": "~1.6.0"
},
"autoload": {
"psr-4": {
"Core_Carousel\\": "inc/"
}
},
"autoload-dev": {
"psr-4": {
"Core_Carousel\\Tests\\": "tests/php/"
}
},
"scripts": {
"format": "phpcbf",
"lint": "phpcs",
"phpstan": "phpstan analyse --memory-limit=2G",
"test": "phpunit",
"test:unit": "phpunit --testsuite unit",
"test:coverage": "phpunit --coverage-html tests/_output/coverage"
"phpstan": "phpstan analyse --memory-limit=2G"
}
}
Loading