Skip to content

Commit

Permalink
[CR#133910] Ajout des dependances
Browse files Browse the repository at this point in the history
C'est mieux ainsi
  • Loading branch information
Guillaume DUBOST committed Mar 27, 2019
1 parent f731a59 commit 8d373cb
Show file tree
Hide file tree
Showing 4 changed files with 2,662 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
bin/
tmp/
vendor/
composer.lock
build/
11 changes: 5 additions & 6 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,31 +4,30 @@
depends="phploc, phpcs, phpcpd, phpmd, phpunit">
</target>
<target name="phploc">
<exec executable="./bin/phploc" passthru="true" checkreturn="true">
<exec executable="phploc" passthru="true" checkreturn="true">
<arg path="src/"/>
</exec>
</target>
<target name="phpcs">
<exec executable="./bin/phpcs" passthru="true" checkreturn="true">
<exec executable="phpcs" passthru="true" checkreturn="true">
<arg value="-p"/>
<arg value="--standard=PSR2"/>
<arg path="src/"/>
</exec>
</target>
<target name="phpcpd">
<exec executable="./bin/phpcpd" passthru="true" checkreturn="true">
<arg value="--progress"/>
<exec executable="phpcpd" passthru="true" checkreturn="true">
<arg path="src/"/>
</exec>
</target>
<target name="phpmd">
<exec executable="./bin/phpmd" passthru="true" checkreturn="true">
<exec executable="phpmd" passthru="true" checkreturn="true">
<arg path="src/"/>
<arg value="text"/>
<arg value="phpmd.xml"/>
</exec>
</target>
<target name="phpunit" description="Run phpunit test">
<exec executable="./bin/phpunit" passthru="true" checkreturn="true" />
<exec executable="phpunit" passthru="true" checkreturn="true" />
</target>
</project>
26 changes: 14 additions & 12 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,21 @@
},
"require-dev": {
"phpunit/phpunit": "4.2.*",
"sebastian/phpcpd": "dev-master",
"squizlabs/php_codesniffer": "dev-master",
"phpmd/phpmd": "2.0.0",
"phploc/phploc": "2.x",
"pdepend/pdepend": "2.0.0",
"satooshi/php-coveralls": "dev-master",
"phing/phing":"*@stable"
},
"config": {
"bin-dir": "bin"
"sebastian/phpcpd": "^2.0",
"squizlabs/php_codesniffer": "^2.5",
"phpmd/phpmd": "^2.3",
"phploc/phploc": "3.x",
"pdepend/pdepend": "^2.2",
"satooshi/php-coveralls": "^1.0",
"phing/phing":"^2.13"
},
"autoload": {
"psr-4": {
"ETNA\\Doctrine\\Extensions\\": "src",
"ETNA\\Doctrine\\Extensions\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "Tests"
}
},
Expand All @@ -39,6 +40,7 @@
}
},
"scripts" : {
"phing": "phing",
"post-install-cmd": [
"mkdir -p build",
"chmod 777 build"
Expand All @@ -47,7 +49,7 @@
"repositories": [
{
"type": "composer",
"url": "http://blu-composer.herokuapp.com"
"url": "https://blu-composer.herokuapp.com"
}
]
}
Loading

0 comments on commit 8d373cb

Please sign in to comment.