Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove phpcpd and phploc tasks #1708

Closed
mrook opened this issue Apr 26, 2023 · 2 comments
Closed

Remove phpcpd and phploc tasks #1708

mrook opened this issue Apr 26, 2023 · 2 comments
Milestone

Comments

@mrook
Copy link
Member

mrook commented Apr 26, 2023

These task should be removed because the upstream projects (1, 2) are no longer maintained, and the hacks to override the CLI behavior is no longer possible to maintain.

  1. https://github.com/sebastianbergmann/phpcpd
  2. https://github.com/sebastianbergmann/phploc
@mrook mrook added this to the 3.0.0-RC5 milestone Apr 26, 2023
@mrook mrook changed the title Remove phpcpd task Remove phpcpd and phploc tasks Apr 26, 2023
mrook added a commit that referenced this issue Apr 26, 2023
@mrook mrook closed this as completed Apr 27, 2023
@aik099
Copy link

aik099 commented Nov 7, 2024

@mrook , Please restore these tasks, because at the specific phpcpd and phploc library versions they work perfectly with Phing 2.x even, when analyzing PHP 7.4 code.

@mrook
Copy link
Member Author

mrook commented Nov 7, 2024

Hello @aik099 . Phing 2.x is no longer supported, see our website. You can continue to use that version which includes phpcpd/phploc support. Phing 3.x will not restore that support. An alternative is to use the exec task to invoke the legacy phpcpd/phploc binaries directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants