Skip to content

Commit caa363c

Browse files
committed
Activate ccabs.
1 parent c476291 commit caa363c

File tree

3 files changed

+25
-14
lines changed

3 files changed

+25
-14
lines changed

build.default.properties

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
###################################################################
2+
## This file is part of the ##
3+
## Contao Community Alliance Build System (CCABS) ##
4+
## ##
5+
## https://github.com/contao-community-alliance/build-system ##
6+
###################################################################
7+
8+
phpcs.standard=vendor/metamodels/php-coding-standard/MetaModels/ruleset.xml

build.xml

+9-12
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
1-
<?xml version="1.0"?>
2-
<project name="contao-debugger" default="test">
3-
<target name="phpunit">
4-
<exec dir="${basedir}" executable="vendor/bin/phpunit" failonerror="true" />
5-
</target>
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
This project uses the Contao Community Alliance Build System (CCABS)
64
7-
<target name="phpcs">
8-
<exec dir="${basedir}" executable="vendor/bin/phpcs" failonerror="true">
9-
<arg line="--standard=${basedir}/vendor/metamodels/php-coding-standard/MetaModels/ruleset.xml ${basedir}/src"/>
10-
</exec>
11-
</target>
12-
13-
<target name="test" depends="phpunit,phpcs"/>
5+
For documentation visit:
6+
https://github.com/contao-community-alliance/build-system
7+
-->
8+
<project name="cyberspectrum/contao-debugger" default="build">
9+
<!-- import the main build system -->
10+
<import file="vendor/contao-community-alliance/build-system/ccabs.main.xml" />
1411
</project>

composer.json

+8-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,14 @@
2121
},
2222
"require-dev": {
2323
"metamodels/php-coding-standard": "*",
24-
"pdepend/pdepend": "1.1.*",
25-
"phpunit/phpunit": ">=3.7.10,<4-dev"
24+
"pdepend/pdepend": "~2.0",
25+
"phpunit/phpunit": "~3.7",
26+
"sebastian/phpcpd": "~1.4",
27+
"phploc/phploc": "~2.0",
28+
"phpmd/phpmd": "~2.0",
29+
"squizlabs/php_codesniffer": "~1.0",
30+
"contao-community-alliance/build-system-tool-branch-alias-validation": "~1.0",
31+
"contao-community-alliance/build-system": "~1.0"
2632
},
2733
"autoload": {
2834
"psr-0": {

0 commit comments

Comments
 (0)