Open yoosefi opened 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
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