Update PHP_CodeSniffer repository link - #52
Closed
rodrigoprimo wants to merge 248 commits into
Closed
Conversation
setting up few basic rules
* travis: add --fix option to make sure it works (experimental) * [examples+cs] add elements visibility, lowercase elements and method arguments checker * [cs] add various checkers, link topics to docs to make it easy to find origin * [cs] drop consecutive lines checker, breaks 2 lines before class * [cs] disable braces fixer, buggy
Update ValidClass.php
This release's headliner is a new OptimizeGlobalCallsSniff that automatically generates grouped `use function` / `use const` statements for global calls — eliminating runtime namespace fallback overhead and unlocking PHP compiler optimizations. Alongside it, presets can now be fixer-only or sniffer-only without causing errors. `<?php declare(strict_types=1);` is now allowed on the opening line.
dg
force-pushed
the
master
branch
2 times, most recently
from
April 14, 2026 20:11
de36e23 to
e13ccd0
Compare
dg
force-pushed
the
master
branch
2 times, most recently
from
July 13, 2026 14:53
daa0eac to
eaa695a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PHP_CodeSniffer has moved to a new GitHub organization. The
squizlabs/PHP_CodeSnifferrepository is now archived and the project is actively maintained at https://github.com/PHPCSStandards/PHP_CodeSniffer.See: squizlabs/PHP_CodeSniffer#3932