Skip to content

Commit 3cf6fee

Browse files
committed
Remove phpcpd (deprecated) from dist and explain docs
Better stop having the deprecated phpcpd command available in the dist and explain docs, so newcomers won't enable it by default. It's going to be removed in v5. Part of #262, credit goes to @jrchamp
1 parent 7b22048 commit 3cf6fee

File tree

4 files changed

+0
-15
lines changed

4 files changed

+0
-15
lines changed

.travis.dist.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ install:
5151

5252
script:
5353
- moodle-plugin-ci phplint
54-
- moodle-plugin-ci phpcpd
5554
- moodle-plugin-ci phpmd
5655
- moodle-plugin-ci phpcs --max-warnings 0
5756
- moodle-plugin-ci phpdoc --max-warnings 0

docs/GHAFileExplained.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -142,11 +142,6 @@ jobs:
142142
if: ${{ !cancelled() }} # prevents CI run stopping if step failed.
143143
run: moodle-plugin-ci phplint
144144

145-
- name: PHP Copy/Paste Detector # DEPRECATED
146-
continue-on-error: true # This step will show errors but will not fail
147-
if: ${{ !cancelled() }}
148-
run: moodle-plugin-ci phpcpd
149-
150145
- name: PHP Mess Detector
151146
continue-on-error: true
152147
if: ${{ !cancelled() }}

docs/TravisFileExplained.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,6 @@ install:
129129
script:
130130
# This step lints your PHP files to check for syntax errors.
131131
- moodle-plugin-ci phplint
132-
# This step runs the PHP Copy/Paste Detector on your plugin.
133-
# This helps to find code duplication.
134-
# (DEPRECATED)
135-
- moodle-plugin-ci phpcpd
136132
# This step runs the PHP Mess Detector on your plugin. This helps to find
137133
# potential problems with your code which can result in
138134
# refactoring opportunities.

gha.dist.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,6 @@ jobs:
7070
if: ${{ !cancelled() }}
7171
run: moodle-plugin-ci phplint
7272

73-
- name: PHP Copy/Paste Detector
74-
continue-on-error: true # This step will show errors but will not fail
75-
if: ${{ !cancelled() }}
76-
run: moodle-plugin-ci phpcpd
77-
7873
- name: PHP Mess Detector
7974
continue-on-error: true # This step will show errors but will not fail
8075
if: ${{ !cancelled() }}

0 commit comments

Comments
 (0)