PHP code example of digitalrevolution / phpunit-file-coverage-inspection

1. Go to this page and download the library: Download digitalrevolution/phpunit-file-coverage-inspection library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

digitalrevolution / phpunit-file-coverage-inspection example snippets

shell script
php vendor/bin/phpfci baseline --baseDir /home/ci/workspace coverage.xml ./phpfci.xml
shell script
php vendor/bin/phpfci inspect coverage.xml --reportCheckstyle=reports/checkstyle.xml
shell script
php vendor/bin/phpfci inspect coverage.xml --reportGitlab=reports/gitlab.errors.json
shell script
php vendor/bin/phpfci inspect coverage.xml --reportGitlab=reports/gitlab.errors.json --reportText
shell script
php vendor/bin/phpfci inspect coverage.xml
shell script
php vendor/bin/phpfci inspect coverage.xml --reportText