Skip to content

Commit c497b28

Browse files
authored
Switch PHPCPD to tool
1 parent fe5037d commit c497b28

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/test-phpcpd.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,8 @@ jobs:
3434
uses: shivammathur/setup-php@v2
3535
with:
3636
php-version: '8.0'
37-
tools: phive
38-
extensions: intl, json, mbstring, xml
37+
tools: phpcpd
38+
extensions: dom, mbstring
3939

4040
- name: Detect code duplication
41-
run: |
42-
sudo phive --no-progress install --global --trust-gpg-keys 4AA394086372C20A phpcpd
43-
phpcpd --exclude system/Test --exclude system/ThirdParty --exclude system/Database/SQLSRV/Builder.php --exclude system/Database/SQLSRV/Forge.php app/ public/ system/
41+
run: phpcpd --exclude system/Test --exclude system/ThirdParty --exclude system/Database/SQLSRV/Builder.php --exclude system/Database/SQLSRV/Forge.php -- app/ public/ system/

0 commit comments

Comments
 (0)