File tree Expand file tree Collapse file tree 4 files changed +5
-8
lines changed Expand file tree Collapse file tree 4 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,3 @@ composer.path = ${basedir}/composer.phar
5
5
# PHP Code Sniffer
6
6
phpcs.dir = ${basedir}/vendor/squizlabs/php_codesniffer
7
7
phpcs.symlink.path = vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Symfony3Custom
8
-
9
- # PHP Unit
10
- phpunit.executable = vendor/phpunit/phpunit/phpunit
Original file line number Diff line number Diff line change 26
26
</target >
27
27
28
28
<target name =" phpunit" depends =" symlink-this-coding-standard" description =" Run unit tests with PHPUnit" >
29
- <exec executable =" ${ phpunit.executable } " failonerror =" true" >
29
+ <exec executable =" phpunit" failonerror =" true" >
30
30
<arg value =" --verbose" />
31
31
<arg value =" --filter=Symfony3Custom_*" />
32
32
<arg value =" ${ phpcs.dir } /tests/AllTests.php" />
Original file line number Diff line number Diff line change 5
5
version : 7.1.0
6
6
7
7
test :
8
+ pre :
9
+ - composer global require "phpunit/phpunit=5.7.*"
10
+
8
11
override :
9
12
- ant test
Original file line number Diff line number Diff line change 25
25
}
26
26
},
27
27
"require" : {
28
- "squizlabs/php_codesniffer" : " ~2.0"
29
- },
30
- "require-dev" : {
31
- "phpunit/phpunit" : " ^5.5"
28
+ "squizlabs/php_codesniffer" : " 2.x-dev"
32
29
}
33
30
}
You can’t perform that action at this time.
0 commit comments