scrutinizer-ci / scrutinizer

Legacy repository - archives past feature requests/bug reports
https://scrutinizer-ci.com/docs
140 stars 36 forks source link

False flag code duplication #342

Open yoosefi opened 9 years ago

yoosefi commented 9 years ago

I have helper functions to generate prepared statements for PDO. However, scrutinizer thinks that because the object creation code is similar that it must be duplication.

insert+update https://scrutinizer-ci.com/g/hfw/h/inspections/c9ab3a8f-a172-4ca2-a7a4-75be847faaf8/code-structure/operation/H%5CD%5CR%5CA%3A%3Aapply

delete https://scrutinizer-ci.com/g/hfw/h/inspections/c9ab3a8f-a172-4ca2-a7a4-75be847faaf8/code-structure/operation/H%5CD%5CR%5CA%3A%3Adelete

select https://scrutinizer-ci.com/g/hfw/h/inspections/c9ab3a8f-a172-4ca2-a7a4-75be847faaf8/code-structure/operation/H%5CD%5CR%5CA%3A%3Aload