3.12.0 - 2025-03-18 #887
Closed
jrfnl
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Added
is_final
array index in the return value. PHP 8.4 | Report final properties inFile::getMemberProperties()
#834Changed
-h
(Help) option now contains a more extensive list of "config" options which can be set. Help: update list of config options #809--sniffs
or--exclude
command line arguments. Improve error message for an invalid sniff code #344--generator
command line argument. PHP fatal error when user passes an invalid generator #709, Config: display user-friendly message when invalid generator is passed #771title
attribute is missing, the documentation generation will now fall back to the sniff name as the title. Generator::getTitle(): fall back to file name if title is missing #820SpacingBeforePropertyModifier
orNoSpaceBeforePropertyModifier
error codes. Squiz/FunctionDeclarationArgumentSpacing: handle constructor property promotion #792SpacingBeforeHint
orNoSpaceBeforeHint
error code, which was misleading.final
andabstract
modifier keywords. Squiz/ScopeKeywordSpacing: check spaces afterabstract
andfinal
keyword #604Internal.PropertyDoesNotExist
error code.inc
files #773Deprecated
All deprecation are slated for removal in PHP_CodeSniffer 4.0.
Sniff
interface. See 4.0 | Deprecate and remove support for Sniffs not implementing the PHPCSSniff
interface #694.PHP_CodeSniffer\Generators\Text::printTitle()
in favour ofPHP_CodeSniffer\Generators\Text::getFormattedTitle()
PHP_CodeSniffer\Generators\Text::printTextBlock()
in favour ofPHP_CodeSniffer\Generators\Text::getFormattedTextBlock()
PHP_CodeSniffer\Generators\Text::printCodeComparisonBlock()
in favour ofPHP_CodeSniffer\Generators\Text::getFormattedCodeComparisonBlock()
PHP_CodeSniffer\Generators\Markdown::printHeader()
in favour ofPHP_CodeSniffer\Generators\Markdown::getFormattedHeader()
PHP_CodeSniffer\Generators\Markdown::printFooter()
in favour ofPHP_CodeSniffer\Generators\Markdown::getFormattedFooter()
PHP_CodeSniffer\Generators\Markdown::printTextBlock()
in favour ofPHP_CodeSniffer\Generators\Markdown::getFormattedTextBlock()
PHP_CodeSniffer\Generators\Markdown::printCodeComparisonBlock()
in favour ofPHP_CodeSniffer\Generators\Markdown::getFormattedCodeComparisonBlock()
PHP_CodeSniffer\Generators\HTML::printHeader()
in favour ofPHP_CodeSniffer\Generators\HTML::getFormattedHeader()
PHP_CodeSniffer\Generators\HTML::printToc()
in favour ofPHP_CodeSniffer\Generators\HTML::getFormattedToc()
PHP_CodeSniffer\Generators\HTML::printFooter()
in favour ofPHP_CodeSniffer\Generators\HTML::getFormattedFooter()
PHP_CodeSniffer\Generators\HTML::printTextBlock()
in favour ofPHP_CodeSniffer\Generators\HTML::getFormattedTextBlock()
PHP_CodeSniffer\Generators\HTML::printCodeComparisonBlock()
in favour ofPHP_CodeSniffer\Generators\HTML::getFormattedCodeComparisonBlock()
Fixed
readonly
properties.[0 => '']
.Other
New Contributors
The PHP_CodeSniffer project is happy to welcome the following new contributors:
@asispts, @braindawg, @DanielEScherzer, @peterwilsoncc
Statistics
Closed: 5 issues
Merged: 74 pull requests
Follow @phpcs on Mastodon or @PHP_CodeSniffer on X to stay informed.
Please consider funding the PHP_CodeSniffer project. If you already do so: thank you!
This discussion was created from the release 3.12.0 - 2025-03-18.
Beta Was this translation helpful? Give feedback.
All reactions