Closed derrabus closed 3 months ago
SqlFormatter has a heavy constructor that compiles a couple of regular expressions. We can achieve a little speedup by reusing the formatter instance.
SqlFormatter
Failing PHPStan job addressed in #1437.
Summary
SqlFormatter
has a heavy constructor that compiles a couple of regular expressions. We can achieve a little speedup by reusing the formatter instance.