all errors fixed from phpcs