Skip to content

Rule: Keyword new should not be used #17

Open
@jissereitsma

Description

@jissereitsma

The new keyword should not be used to instantiate new classes. Constructor DI needs to be used instead.

Metadata

Metadata

Assignees

Labels

experimentalShould be implemented with "experimental" severity to try it out

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions