api cleaned for phpcs