diff --git a/src/Command/PluginCommand.php b/src/Command/PluginCommand.php index 3bf567d1..dd3460b8 100644 --- a/src/Command/PluginCommand.php +++ b/src/Command/PluginCommand.php @@ -238,7 +238,7 @@ protected function _generateFiles( if (!$this->isVendor) { $vendorFiles = [ - '.gitignore.twig', 'README.md.twig', 'composer.json.twig', 'phpunit.xml.dist.twig', + '.gitignore.twig', 'README.md.twig', 'phpunit.xml.dist.twig', 'bootstrap.php.twig', 'schema.sql.twig', ]; diff --git a/tests/comparisons/Plugin/SimpleExample/composer.json b/tests/comparisons/Plugin/SimpleExample/composer.json new file mode 100644 index 00000000..9a29c635 --- /dev/null +++ b/tests/comparisons/Plugin/SimpleExample/composer.json @@ -0,0 +1,24 @@ +{ + "name": "your-name-here/simple-example", + "description": "SimpleExample plugin for CakePHP", + "type": "cakephp-plugin", + "license": "MIT", + "require": { + "php": ">=8.1", + "cakephp/cakephp": "^5.0" + }, + "require-dev": { + "phpunit/phpunit": "^10.1" + }, + "autoload": { + "psr-4": { + "SimpleExample\\": "src/" + } + }, + "autoload-dev": { + "psr-4": { + "SimpleExample\\Test\\": "tests/", + "Cake\\Test\\": "vendor/cakephp/cakephp/tests/" + } + } +}