Force Exclude files from PHPUnit Code Coverage

前端 未结 5 2065
北恋
北恋 2021-02-19 10:31

Is it possible to forcefully exclude a folder from PHPUnit\'s code coverage?

Problem I\'ve got is, that I have a Symfony 1.4 project, which has folders at ./lib/ve

5条回答
  •  我在风中等你
    2021-02-19 10:44

    Ok, so I thought that you can have either the blacklist section OR the whitelist section, turns out you can have both, so I blacklisted those folders and it worked:

        
            
                  ./lib/vendor
                  ./lib/helper
            
        
    

提交回复
热议问题