Skip to content

Instantly share code, notes, and snippets.

@ozh
Last active November 26, 2021 02:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save ozh/e7024a0c395d8b26e7689e7947b674c5 to your computer and use it in GitHub Desktop.
Save ozh/e7024a0c395d8b26e7689e7947b674c5 to your computer and use it in GitHub Desktop.
Scrutinizer Code Coverage PHPCS

Scrutinizer with code coverage YOURLS with PHPCS

composer require --dev phpcompatibility/php-compatibility
php includes/vendor/squizlabs/php_codesniffer/bin/phpcs --standard=includes/vendor/phpcompatibility/php-compatibility/PHPCompatibility -- includes/functions-links.php



composer require --no-scripts wp-coding-standards/wpcs
php phpcs.phar --config-set installed_paths includes/vendor/wp-coding-standards/wpcs



tools:
    external_code_coverage:
        timeout: 600    # Timeout in seconds.
        
        
        
        

        
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment