There are many different coding standards, so the first thing you need to check is which one the code you are using should be following.
If the code in question is following PSR-2 (not PSR-4, which is an unrelated standard), then section 2.4 clearly states:
Code MUST use an indent of 4 spaces, and MUST NOT use tabs for indenting.
Note that this doesn't mean "every line of code in a file should be indented by exactly 4 spaces", it means "each time you open a new structure which requires indenting, increase the indent by exactly 4 spaces".
So 24 spaces would be perfectly valid for 6 layers of indenting; e.g. an array definition within an if within a loop within a switch within a function within a class.
To reiterate, this assumes PSR-2 is actually the agreed standard for this code; 24 spaces would also be valid for 3 levels of indentation if the coding standard specified 8 spaces per indent. There might even be some exotic coding standard that uses indentation to mean something other than nesting level, so that the 24 spaces were to produce some alignment that wasn't obvious to you.