Skip to content
This repository was archived by the owner on Jan 10, 2023. It is now read-only.
This repository was archived by the owner on Jan 10, 2023. It is now read-only.

Change exit code if no files were scanned #147

@DanielSchwiperich

Description

@DanielSchwiperich

phpcpd is giving an exit code of 1 if no files were found to scan.

This is different behaviour to similar tools like phpcs and phpmd.
It would be nice to have that behaviour changed so that's in line with those other tools.
(Useful in CI for example where the return values are evaluated and used to make a stage fail)

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions