{"issue":{"state":"open","created_at":"2011-11-30T13:09:29Z","updated_at":"2011-12-07T18:21:05Z","user":{"gravatar_id":"20be223831d5504c22f5c5d889e91055","id":176898,"url":"https://api.github.com/users/mdevils","login":"mdevils","avatar_url":"https://secure.gravatar.com/avatar/20be223831d5504c22f5c5d889e91055?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":1,"body":"Hello, I used to define code coverage filter in PHP like this:\r\n\r\nPHP_CodeCoverage_Filter::getInstance()->addDirectoryToBlacklist('.');\r\nPHP_CodeCoverage_Filter::getInstance()->removeDirectoryFromBlacklist('config');\r\nPHP_CodeCoverage_Filter::getInstance()->removeDirectoryFromBlacklist('engine/test/unit/config');\r\n\r\nBut after upgrade to the latest PHPUnit I realized there are no more PHP_CodeCoverage_Filter::getInstance() method. What is the replacement? Defining filters in xml config doesn't match my requirements as I have multi-moduled architecture with specific ignore for each module.","assignee":null,"id":2401555,"number":82,"labels":[],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"title":"Code Coverage filter in PHP code","html_url":"https://github.com/sebastianbergmann/php-code-coverage/issues/82","closed_at":null,"url":"https://api.github.com/repos/sebastianbergmann/php-code-coverage/issues/82","milestone":null},"action":"created","comment":{"created_at":"2011-12-07T18:21:05Z","updated_at":"2011-12-07T18:21:05Z","user":{"gravatar_id":"0b2acdc778f45840d726007ca9b9ea2c","id":192067,"url":"https://api.github.com/users/mekras","login":"mekras","avatar_url":"https://secure.gravatar.com/avatar/0b2acdc778f45840d726007ca9b9ea2c?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"I have the similar problem but with a white list. So it forces me to downgrade PHPUnit, PHP_CodeCoverage and other related components :-(","id":3051113,"url":"https://api.github.com/repos/sebastianbergmann/php-code-coverage/issues/comments/3051113"}}