We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b2e6fd7 + a05449c commit 818733cCopy full SHA for 818733c
Makefile
@@ -0,0 +1,6 @@
1
+.PHONY: image
2
+
3
+IMAGE_NAME ?= codeclimate/codeclimate-phpmd
4
5
+image:
6
+ docker build --tag codeclimate/codeclimate-phpmd .
Runner.php
@@ -35,8 +35,8 @@ public function queueWithIncludePaths()
35
{
36
foreach ($this->config['include_paths'] as $f) {
37
if ($f !== '.' and $f !== '..') {
38
- if (is_dir("/code$f")) {
39
- $this->queuePaths("/code$f", "$f/");
+ if (is_dir("/code/$f")) {
+ $this->queuePaths("/code/$f", "$f");
40
continue;
41
}
42
$this->server->addwork(array("/code/$f"));
0 commit comments