File tree Expand file tree Collapse file tree 3 files changed +56
-1
lines changed Expand file tree Collapse file tree 3 files changed +56
-1
lines changed Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ cd $( dirname $0 ) /../../
4+
5+ # https://github.com/sebastianbergmann/phpcpd
6+ vendor/bin/phpcpd \
7+ --exclude src/Surfnet/StepupGateway/GatewayBundle/Tests/Sso2fa/CookieServiceTest.php \
8+ --exclude src/Surfnet/StepupGateway/GatewayBundle/Tests/Service/Gateway/ConsumeAssertionServiceTest.php \
9+ --exclude src/Surfnet/StepupGateway/SecondFactorOnlyBundle/Tests/Service/Gateway/RespondServiceTest.php \
10+ ./src $1
Original file line number Diff line number Diff line change 6161 "dmore/chrome-mink-driver" : " 2.9.*" ,
6262 "friends-of-behat/mink-extension" : " ^2.7.5" ,
6363 "friends-of-behat/symfony-extension" : " ^2.6.2" ,
64+ "irstea/phpcpd-shim" : " ^6.0" ,
6465 "malukenho/docheader" : " ^1.1.0" ,
6566 "matthiasnoback/symfony-config-test" : " ^6.1" ,
6667 "mockery/mockery" : " ^1.6.12" ,
102103 ],
103104 "check-ci" : [
104105 " @phplint" ,
106+ " @phpcpd" ,
105107 " @validate-lockfile" ,
106108 " @license-headers" ,
107109 " @phpstan" ,
115117 "phplint" : " ./ci/qa/phplint" ,
116118 "validate-lockfile" : " ./ci/qa/validate" ,
117119 "phpcs" : " ./ci/qa/phpcs" ,
120+ "phpcpd" : " ./ci/qa/phpcpd" ,
118121 "phpcbf" : " ./ci/qa/phpcbf" ,
119122 "phpstan" : " ./ci/qa/phpstan" ,
120123 "phpmd" : " ./ci/qa/phpmd" ,
You can’t perform that action at this time.
0 commit comments