CARVIEW |
Select Language
HTTP/2 200
date: Sat, 19 Jul 2025 14:32:06 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
etag: W/"d3981b419c25a34dac025498e3d3e4b9"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=r1Tz9wbllZQC7q8KlJcE3IQBtp6upx7TDPZ2x0UeJG56Fl4S%2FRN23IsGkbTQ8GmcJe%2BS6E41Z4Z%2FxWbV9V89XK0cC88Fv1%2FdiC%2BUGlJwuhWbgMPKWmhXiKJVtEYe%2BM0QNwgq%2BZb7n07NSHsGi6vYByCTFvCzJOPDz2ad%2BnGrmJ9JmmkRVRufF4O64rANeFQ%2B6TKkiDJLKU2JFJJ%2FV%2BbBRpKZkyhI%2FnMlXbGXYE%2FcHoLF%2FyinCVWqhZ2NDrE3U35SpaIJRuxTPwLojyOmv5e53Q%3D%3D--ztREIYlKEV3%2BOZpX--SFLlrqg0xmZKpEZoUUWsDA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1001561832.1752935526; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 14:32:06 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 14:32:06 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: C856:0A55:51B907:654867:687BAC66
Release 3.13.1 - 2025-06-13 · PHPCSStandards/PHP_CodeSniffer · GitHub
Loading
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 77
3.13.1 - 2025-06-13
Compare
·
41 commits
to master
since this release
1b71b4d
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
- Added support for PHP 8.4 properties with asymmetric visibility to File::getMemberProperties() through a new
set_scope
array index in the return value. #1116- Thanks to Juliette Reinders Folmer for the patches.
- Added support for PHP 8.4 (constructor promoted) properties with asymmetric visibility to File::getMethodParameters() through new
set_visibility
andset_visibility_token
array indexes in the return value. #1116- Thanks to Juliette Reinders Folmer for the patches.
- Added support for PHP 8.4 asymmetric visibility modifiers to the following sniffs:
- Generic.PHP.LowerCaseKeyword #1117
- PEAR.NamingConventions.ValidVariableName #1118
- PSR2.Classes.PropertyDeclaration #1119
- Squiz.Commenting.BlockComment #1120
- Squiz.Commenting.DocCommentAlignment #1120
- Squiz.Commenting.VariableComment #1120
- Squiz.Functions.FunctionDeclarationArgumentSpacing #1121
- Squiz.Scope.MemberVarScope #1122
- Squiz.WhiteSpace.MemberVarSpacing #1123
- Squiz.WhiteSpace.ScopeKeywordSpacing #1124
- Thanks to Juliette Reinders Folmer for the patches.
Changed
- The PSR2.Classes.PropertyDeclaration will now check that a set-visibility modifier keyword is placed after a potential general visibility keyword. #1119
- Errors will be reported via a new
AvizKeywordOrder
error code. - Thanks to Juliette Reinders Folmer for the patch.
- Errors will be reported via a new
- The Squiz.Functions.FunctionDeclarationArgumentSpacing will now check spacing after a set-visibility modifier keyword. #1121
- Errors will be reported via a new
SpacingAfterSetVisibility
error code. - Thanks to Juliette Reinders Folmer for the patch.
- Errors will be reported via a new
- The Squiz.Scope.MemberVarScope will now flag missing "read" visibility, when "write" visibility is set, under a separate error code
AsymReadMissing
. #1122- Thanks to Juliette Reinders Folmer for the patch.
- The documentation for the following sniffs has been improved:
- PEAR.Classes.ClassDeclaration
- Squiz.WhiteSpace.FunctionOpeningBraceSpace
- Thanks to Brian Dunne and Rodrigo Primo for the patches.
- Various housekeeping, including improvements to the tests and documentation.
- Thanks to Dan Wallis, Rodrigo Primo and Juliette Reinders Folmer for their contributions.
Other
- The latest PHP_CodeSniffer XSD file is now available via the following permalink: https://schema.phpcodesniffer.com/phpcs.xsd. #1094
Older XSD files can be referenced via permalinks based on their minor:https://schema.phpcodesniffer.com/#.#/phpcs.xsd
. - The GPG signature for the PHAR files has been rotated. The new fingerprint is: D91D86963AF3A29B6520462297B02DD8E5071466.
Statistics
Closed: 3 issues
Merged: 24 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!
Assets 6
6 people reacted
0
Join discussion
You can’t perform that action at this time.