Reports visibility modifiers that are specified in the incorrect order.

According to PSR-12, the correct order is as follows:

See PSR-12: Extended Coding Style (php-fig.org) for details.