Skip to content

Commit ca59df6

Browse files
committed
remove phpcpd as abandoned
1 parent 8d5411e commit ca59df6

File tree

5 files changed

+2
-24
lines changed

5 files changed

+2
-24
lines changed

.github/workflows/styles.yml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -32,19 +32,6 @@ jobs:
3232
- run: composer install --prefer-dist
3333
- run: ./vendor/bin/phpmd ./ text ./phpmd.xml --suffixes php,inc,test --exclude vendor,bin,tests
3434

35-
phpcpd:
36-
name: phpcpd
37-
runs-on: ubuntu-latest
38-
steps:
39-
- name: Setup PHP
40-
uses: shivammathur/setup-php@v2
41-
with:
42-
php-version: '8.5'
43-
extensions: mbstring, intl, gd, xml, dom, json, fileinfo, curl, zip, iconv
44-
- uses: actions/checkout@v2
45-
- run: composer install --prefer-dist
46-
- run: ./vendor/bin/phpcpd ./ --suffix .php --suffix .inc --suffix .test --exclude vendor --exclude bin --exclude tests
47-
4835
phpstan:
4936
name: phpstan
5037
runs-on: ubuntu-latest

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
### Removed
1313
- removed support PHP 8.0
14+
- remove phpcpd as abandoned
1415

1516
## [1.0.2] - 2025-06-03
1617
### Added

CONTRIBUTING.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,20 +53,14 @@ It can modernize your code (like converting the pow function to the ** operator
5353
./vendor/bin/phpstan analyse ./ --error-format=checkstyle
5454
```
5555

56-
### Improve global code quality using PHPCPD (Code duplication) & PHPMD (PHP Mess Detector)
56+
### Improve global code quality using PHPMD (PHP Mess Detector)
5757

5858
Detect overcomplicated expressions & Unused parameters, methods, properties
5959

6060
```bash
6161
./vendor/bin/phpmd ./ text ./phpmd.xml --suffixes php,inc,test --exclude vendor,bin,tests
6262
```
6363

64-
Copy/Paste Detector
65-
66-
```bash
67-
./vendor/bin/phpcpd ./ --names=*.php,*.inc,*.test --names-exclude=*.md --ansi --exclude=vendor --exclude=bin --exclude=tests
68-
```
69-
7064
### Checks compatibility with PHP interpreter versions
7165

7266
```bash

bin/post-commit

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ echo "\n🚔 \033[0;32mRunning Code Sniffer Symfony for /public ...\033[0m"
44
echo "\n💩 \033[0;32mRunning PHP Mess Detector ...\033[0m"
55
./vendor/bin/phpmd ./ text ./phpmd.xml --suffixes php,inc,test --exclude vendor,bin,tests
66

7-
echo "\n🛂 \033[0;32mRunning PHP Copy/Paste Detector ...\033[0m"
8-
./vendor/bin/phpcpd ./ --names=*.php,*.inc,*.test --names-exclude=*.md --ansi --exclude=vendor --exclude=bin --exclude=tests
9-
107
echo "\n🍫 \033[0;32mRunning PhpCodeFixer ...\033[0m"
118
./vendor/bin/phpcf --target 7.3 --file-extensions php,inc,test ./
129

composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
"phpunit/php-code-coverage": "^9.2.0",
1111
"friendsofphp/php-cs-fixer": "^3.21",
1212
"phpmd/phpmd": "^2.8",
13-
"sebastian/phpcpd": "^6.0",
1413
"php-coveralls/php-coveralls": "^2.1",
1514
"php-mock/php-mock-phpunit": "^2.4",
1615
"vimeo/psalm": "^6.0",

0 commit comments

Comments
 (0)