fixed exclude paths in phpdoc command

fixes #2184
Merge branch 'master' of github.com:yiisoft/yii2

* 'master' of github.com:yiisoft/yii2:
  added more tests.