There are some exceptions, such as switch statements, where the indentation of the cases are optional, so both of the below are fine.
This seems odd:
- In JS the indentation is required and enforced by eslint, so this isn't true in that case
- in PHP it seems odds to allow no indentation when every other type of braced block requires indentation
I think it would be simpler just to remove this exception.