Update StaticAccess.php

References to self::, parent:: and static:: aren't static unless the method itself is declared static.

Statements such as "new Exception()" should also be allowed.