Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PSR12/ControlStructureSpacing: small tweak
No need to create a new instance of the PSR2 sniff every single time the sniff is triggered. Re-using the same object, just like is done with sniffs in general, will work just as well. This will have a (tiny) positive impact on performance, though the impact is so small, it can be considered neglible. Also: the `process()` method of the PSR2 sniff is a `void` method, so returning its return value is moot.
- Loading branch information