[Bugfix]: Ensure getConditionVariableTypes() is used in all DAOs#18789
[Bugfix]: Ensure getConditionVariableTypes() is used in all DAOs#18789kingjia90 merged 2 commits intopimcore:11.5from
getConditionVariableTypes() is used in all DAOs#18789Conversation
Review Checklist
|
|
|
Sonar complaints about the long lines (they were already too long before the change, though). |
|
Thank you for your PR!
No need that 😉 i've marked them all as accepted for the moment, we (actually Herbert) had some idea to use tools like RectorPHP to automate this kind of coding standard work to polish all the legacy code. |
|
Rector is a great tool! But I don't think it does any formatting. I usually run PHP-CS-Fixer after Rector to format the changed code. But I don't think PHP-CS-Fixer can do this kind of formatting (splitting long lines) either. You probably need something like Mago for that 🤔 |
|
@jdreesen @kingjia90 Rector alone will not do the Job. Rector is AST-based, not whitespace-aware, so it’s intentionally not meant for layout formatting. But Rector can help in a two step approach.
|
|
Is there any chance that this will be considered for Pimcore 11.5.13? |
|
Friendly ping. The other PR (pimcore/ecommerce-framework-bundle#277) has already been merged. |

Changes in this pull request
Passes the types to all queries in all DAOs.
This is necessary for advanced queries, e.g., with
IN(?).Doctrine needs the types in this case.
Additional info
This was already done for Notes in #9935.
There is a similar PR in pimcore/ecommerce-framework-bundle#277