Skip to content

Commit 7c50f67

Browse files
committedJan 1, 2014
Now PHPLOC will count view files, too. Also, migrations template will not be checked in PDepend and PHPCS checks.
1 parent 2719b07 commit 7c50f67

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed
 

‎build.xml

+1-3
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ regarding code quality, all inside the `reports` directory.
3131
<arg value="--exclude" />
3232
<arg value="runtime" />
3333
<arg value="--exclude" />
34-
<arg value="views" />
35-
<arg value="--exclude" />
3634
<arg value="www" />
3735

3836
<arg value="--log-xml" />
@@ -50,7 +48,7 @@ regarding code quality, all inside the `reports` directory.
5048
<target name="pdepend" depends="prepare-reports-dir">
5149
<exec executable="bin/pdepend" dir="." passthru="true">
5250

53-
<arg value="--ignore=config,lib,extensions,runtime,views,www" />
51+
<arg value="--ignore=config,lib,extensions,runtime,views,www,migrations/template" />
5452

5553
<!-- Note that this option is for INPUT file, not GENERATED one! -->
5654
<arg value="--coverage-report=reports/clover.xml" />

‎carcass/ruleset.xml

+3
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@
2424
<exclude-pattern>*/runtime/*</exclude-pattern>
2525
<exclude-pattern>*/assets/*</exclude-pattern>
2626

27+
<!-- Have to exclude migrations template because it has invalid PHP -->
28+
<exclude-pattern>*/migrations/template/*</exclude-pattern>
29+
2730
<rule ref="PEAR.Classes.ClassDeclaration" />
2831
<rule ref="Generic.Classes.DuplicateClassName" />
2932

0 commit comments

Comments
 (0)
Please sign in to comment.