Title: Code Standards: tests/search/test-class-search.php
Author: WordPress VIP Documentation
Published: December 11, 2020
Last modified: August 5, 2025

---

 1. [Changelog](https://docs.wpvip.com/changelog/)
 2. [VIP MU plugins [Production]](https://docs.wpvip.com/changelog/vip-mu-plugins-production/)
 3. Code Standards: tests/search/test-class-search.php

# Code Standards: tests/search/test-class-search.php

---

 11 December 2020

05:15:15 GMT+0000

 [ VIP MU plugins [Production] ](https://docs.wpvip.com/changelog/vip-mu-plugins-production/)

 [ Permalink  ](https://docs.wpvip.com/changelog/vip-mu-plugins-production/code-standards-improvement-vip-go-mu-plugins-tests-search-test-class-search-php/)

We’re continuing to clean up code that isn’t 100% compliant with our coding standards.

This change also adds the `phpcs:errors` NPM script to our package.json. This brings
yet another tool for cleaning up existing non-standard code and ensuring all added
code is compliant with our standards.

This script is useable by running:

    ```wp-block-syntaxhighlighter-code
    ~$ npm run phpcs:errors
    ```

The most up to date details on this script are available in our [package.json file](https://github.com/Automattic/vip-go-mu-plugins/blob/master/package.json).

https://github.com/Automattic/vip-go-mu-plugins/pull/1904

#code-standards, #mu-plugins