Skip to content

BTI-565 phpunit/phpunit should be in require-dev instead of require #1503

@kis28viktor

Description

@kis28viktor

Hi,

I noticed that phpunit/phpunit is currently listed under the require section in composer.json.

PHPUnit is a development/testing dependency and is not needed at runtime. Having it in require means it gets installed in production environments as well, which:

  • increases the production dependency footprint
  • may cause version conflicts with projects that manage PHPUnit separately
  • goes against common Composer best practices

Would it be possible to move phpunit/phpunit from require to require-dev instead?

This would make the extension easier and safer to use in production setups.

Thanks!

Metadata

Metadata

Labels

Priority: NormalThis issue has a normal/medium priority.Status: Waiting for releaseThis issue has been solved, but is not released yet.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions