Skip to content
New issue

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

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

Already on GitHub? # to your account

4.0 | Zend.Debug.CodeAnalyzer: remove sniff #58

Open
wants to merge 1 commit into
base: 4.0
Choose a base branch
from

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Nov 9, 2023

Description

Recreation of upstream PR squizlabs/PHP_CodeSniffer#3802:

I have the impression that the Zend Code Analyzer tool as stand-alone tool is no longer available. Please correct me if I'm wrong.

I propose to remove the sniff which allowed for running that tool via PHPCS in PHPCS 4.0, along the same lines as was already done for external JS/CSS tools in commit ea52e7b.

Suggested changelog entry

The Zend.Debug.CodeAnalyzer sniff has been removed

@jrfnl
Copy link
Member Author

jrfnl commented Jan 5, 2024

@weierophinney Just checking - have you got an opinion on this proposed sniff removal ?

@weierophinney
Copy link

@jrfnl Go for it. We've been actively steering customers to XDebug for years, as (a) Zend Debugger was only ever supported in Zend Studio, and (b) Zend Studio was last actively developed in the PHP 7.1/7.2 timeline, making it irrelevant to most users regardless.

@jrfnl
Copy link
Member Author

jrfnl commented Jan 17, 2024

@weierophinney Thank you for confirming what I suspected. I will go ahead and soft deprecate this in 3.9.0, hard deprecate in the last 3.x minor and remove in 4.0.

I have the impression that the Zend Code Analyzer tool as stand-alone tool is no longer available. Please correct me if I'm wrong.

I propose to remove the sniff which allowed for running that tool via PHPCS in PHPCS 4.0, along the same lines as was already done for external JS/CSS tools in commit ea52e7b.
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants