Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

require-dev.craftcms/ecs : NULL value found, but a string is required #9

Closed
bymayo opened this issue Jan 11, 2023 · 1 comment
Closed
Assignees
Labels
bug Something isn't working

Comments

@bymayo
Copy link

bymayo commented Jan 11, 2023

Description

When running anything with Composer e.g. composer require x/y I get an error craftcms/ecs and craftcms/phpstan mainly because I opted out of these when using the generator. I resolved this by just removing it from require-dev in composer.json but obviously the generator doesn't need to add this in.

Steps to reproduce

  1. Run generator to make a plugin
  2. Opt out of ecs and phpstan
  3. Try installing any composer package

Additional info

  • Craft version: 4.3.6.1
  • PHP version: 8.1.12
  • Database driver & version: MySQL 5.7
  • Plugins & versions: n/a
@bymayo bymayo added the bug Something isn't working label Jan 11, 2023
@brandonkelly brandonkelly self-assigned this Jan 11, 2023
@brandonkelly
Copy link
Member

Thanks for reporting that! Just released Generator 1.2.0 which includes a fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants