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

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 jrfnl added this to the 4.0.0 milestone Nov 9, 2023
@jrfnl jrfnl force-pushed the phpcs-4.x/remove-external-tooling-sniffs branch from feb27d9 to 1ce2237 Compare November 11, 2023 04:10
@jrfnl jrfnl force-pushed the phpcs-4.x/remove-external-tooling-sniffs branch from 1ce2237 to 87c22c8 Compare December 6, 2023 00:37
@jrfnl jrfnl force-pushed the phpcs-4.x/remove-external-tooling-sniffs branch from 87c22c8 to 3148a61 Compare December 7, 2023 16:04
@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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants