Skip to content

Generators: remove deprecated methods - #985

Merged
jrfnl merged 1 commit into
4.xfrom
phpcs-4.0/feature/generators-remove-deprecated-methods
Apr 14, 2025
Merged

Generators: remove deprecated methods#985
jrfnl merged 1 commit into
4.xfrom
phpcs-4.0/feature/generators-remove-deprecated-methods

Conversation

@jrfnl

@jrfnl jrfnl commented Apr 14, 2025

Copy link
Copy Markdown
Member

Description

These methods were soft deprecated in PHPCS 3.12.0 via PR #755 and hard deprecated in PHPCS 3.x via PR #889.

Includes removing the associated tests which verified the deprecation notice was being thrown.

Related to #6

Suggested changelog entry

Removed
The deprecated PHP_CodeSniffer\Generators\[HTML|Markdown|Text]::print*() methods.

These methods were _soft_ deprecated in PHPCS 3.12.0 via PR 755 and hard deprecated in PHPCS 3.x via PR 889.

Includes removing the associated tests which verified the deprecation notice was being thrown.

Related to 6
@jrfnl
jrfnl force-pushed the phpcs-4.0/feature/generators-remove-deprecated-methods branch from 56f4085 to f79d50b Compare April 14, 2025 15:50
@rodrigoprimo
rodrigoprimo self-requested a review April 14, 2025 17:24
@jrfnl
jrfnl merged commit 56abd67 into 4.x Apr 14, 2025
@jrfnl
jrfnl deleted the phpcs-4.0/feature/generators-remove-deprecated-methods branch April 14, 2025 18:26
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.

3 participants