[feature/session-storage] Cleanup native.php for coding guidelines consistency

PHPBB3-9733