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

Sniff for conditional complexity. #29

Open
bmitch opened this issue Dec 4, 2016 · 3 comments
Open

Sniff for conditional complexity. #29

bmitch opened this issue Dec 4, 2016 · 3 comments

Comments

@bmitch
Copy link
Owner

bmitch commented Dec 4, 2016

Checks if if statement has too many conditions.

@kevin-schmitt
Copy link
Contributor

@villfa
Copy link
Collaborator

villfa commented Feb 22, 2022

I think this new sniff would check if a single if contains too many conditions, like:

if ($cond1 && $cond2 && $cond3 /* and so on... */ && $cond42)

@kevin-schmitt
Copy link
Contributor

Thanks,

Can you assign to me please ?

:)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants