Made "locations" parameter required (at least one position), tested phpcs against empty config