Skip to content
PHP Copy/Paste Detector (PHPCPD) - is a Copy/Paste Detector (CPD) for PHP code
Makefile
Branch: master
Clone or download
Pull request Compare This branch is even with RichVRed:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.dockerignore
LICENSE
Makefile
README.md
phpcpd.dockerfile

README.md

phpcpd - Copy/Paste Detector (CPD) for PHP code

Docker Pulls Docker Stars GitHub issues license

Docker container to install and run phpcpd

Installation / Usage

  1. Install the rvannauker/phpcpd container:
docker pull rvannauker/phpcpd
  1. Run phpcpd through the phpcpd container:
sudo docker run --rm --volume $(pwd):/workspace --name="phpcpd" "rvannauker/phpcpd" {destination}

Download the source:

To run, test and develop the PHPCPD Dockerfile itself, you must use the source directly:

  1. Download the source:
git clone https://github.com/RichVRed/docker-phpcpd.git
  1. Build the container:
sudo docker build --force-rm --tag "rvannauker/phpcpd" --file phpcpd.dockerfile .
  1. Test running the container:
 $ docker run rvannauker/phpcpd --help
You can’t perform that action at this time.