简体   繁体   English

Ubuntu机器上的PHP复制粘贴检测器

[英]PHP Copy Paste Detector on Ubuntu machine

I want to install PHP Copy Paste Detector on Ubuntu machine, for this I used that command:- 我想在Ubuntu机器上安装PHP Copy Paste Detector,为此我使用了以下命令:

    sudo pear config-set auto_discover 1

that is run scussfully, but when I try that command:- 一直运行,但是当我尝试该命令时:-

   sudo pear install pear.phpunit.de/phpcpd

this is showing error message error is :- 这显示错误消息错误是:

   No releases available for package "pear.phpunit.de/phpcpd"
   install failed

I tried many command for this like:- 我尝试了很多命令,例如:

  pear config-set auto_discover 1
  pear install --force --alldeps pear.phpqatools.org/phpqatools
  sudo pear channel-discover pear.phpunit.de
  pear clear-cache  etc. but one help full for me.

Sebastian Bergmann, author of phpunit, switched off phpunit's pear channel some time ago rendering your efforts useless. phpunit的作者塞巴斯蒂安·伯格曼(Sebastian Bergmann)不久前关闭了phpunit的梨频道,这使您的工作无济于事。

You now need to use either the .phar or install phpcpd via composer instead - details are here at https://github.com/sebastianbergmann/phpcpd 现在,您需要使用.phar或通过composer安装phpcpd,详情请参见https://github.com/sebastianbergmann/phpcpd

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM