-
Notifications
You must be signed in to change notification settings - Fork 51
Comparing changes
Open a pull request
base repository: doctrine/coding-standard
base: 12.0.0
head repository: doctrine/coding-standard
compare: 13.0.0
Commits on Apr 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f2efad6 - Browse repository at this point
Copy the full SHA f2efad6View commit details -
Merge pull request #317 from phansys/php_matrix
Add PHP 8.2 to the build matrix
Configuration menu - View commit details
-
Copy full SHA for 3446dbe - Browse repository at this point
Copy the full SHA 3446dbeView commit details -
Configuration menu - View commit details
-
Copy full SHA for a6bb07d - Browse repository at this point
Copy the full SHA a6bb07dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 75c0b44 - Browse repository at this point
Copy the full SHA 75c0b44View commit details
Commits on Apr 25, 2023
-
Merge pull request #316 from phansys/hadolint
Lint Dockerfile files with Hadolint
Configuration menu - View commit details
-
Copy full SHA for 99b196d - Browse repository at this point
Copy the full SHA 99b196dView commit details -
Merge pull request #315 from phansys/shellcheck
Lint shell scripts with ShellCheck
Configuration menu - View commit details
-
Copy full SHA for c0fb0e6 - Browse repository at this point
Copy the full SHA c0fb0e6View commit details
Commits on Apr 27, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8f57dc1 - Browse repository at this point
Copy the full SHA 8f57dc1View commit details
Commits on Apr 28, 2023
-
Merge pull request #319 from tomudding/fix/duplicate-onelinedoccomment
Remove duplicate `RequireOneLineDocComment` rule
Configuration menu - View commit details
-
Copy full SHA for 3e88327 - Browse repository at this point
Copy the full SHA 3e88327View commit details
Commits on Oct 9, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 89c3e07 - Browse repository at this point
Copy the full SHA 89c3e07View commit details
Commits on Oct 11, 2023
-
Merge pull request #320 from simPod/enumspacing
feat: enable SlevomatCodingStandard.Classes.EnumCaseSpacing sniff
Configuration menu - View commit details
-
Copy full SHA for 0308bc4 - Browse repository at this point
Copy the full SHA 0308bc4View commit details
Commits on Jan 10, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 952e5f5 - Browse repository at this point
Copy the full SHA 952e5f5View commit details
Commits on Jan 12, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 2b558dd - Browse repository at this point
Copy the full SHA 2b558ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 41d3d91 - Browse repository at this point
Copy the full SHA 41d3d91View commit details
Commits on Feb 24, 2025
-
Require slevomat/coding-standard v8.16
Use DNFTypeHintFormat instead of deprecated UnionTypeHintFormat sniff. Drop support for php 7.2 + 7.3 since it's super ancient and slevomat/coding-standard does not support in anymore as well.
Configuration menu - View commit details
-
Copy full SHA for a18e94d - Browse repository at this point
Copy the full SHA a18e94dView commit details -
Merge pull request #325 from simPod/bumpie
Require slevomat/coding-standard v8.16
Configuration menu - View commit details
-
Copy full SHA for 39e4a76 - Browse repository at this point
Copy the full SHA 39e4a76View commit details -
Merge pull request #323 from doctrine/website-schema
Create website schema validation workflow
Configuration menu - View commit details
-
Copy full SHA for 6b00877 - Browse repository at this point
Copy the full SHA 6b00877View commit details -
Configuration menu - View commit details
-
Copy full SHA for 049a486 - Browse repository at this point
Copy the full SHA 049a486View commit details
Commits on Mar 18, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 4ca4a1e - Browse repository at this point
Copy the full SHA 4ca4a1eView commit details
Commits on Mar 20, 2025
-
Merge pull request #329 from simPod/action-cache
ci: use actions/cache@v4
Configuration menu - View commit details
-
Copy full SHA for 74f8512 - Browse repository at this point
Copy the full SHA 74f8512View commit details -
Merge pull request #326 from simPod/8384
test: run on php 8.3 and 8.4
Configuration menu - View commit details
-
Copy full SHA for 3cc2cef - Browse repository at this point
Copy the full SHA 3cc2cefView commit details -
test: increase errors in PropertyDeclaration
Probably caused by update in slevomat or squizlabs I don't really want to dig what's new, all are legit finds: ``` vendor/bin/phpcs `find tests/input/PropertyDeclaration.php` WARNING: The PHPCS Coding Standards for doctrine/coding-standards standard uses 1 deprecated sniff ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- - SlevomatCodingStandard.TypeHints.UnionTypeHintFormat This sniff has been deprecated since Slevomat Coding Standard 8.16.0 and will be removed in Slevomat Coding Standard 9.0.0. Use SlevomatCodingStandard.TypeHints.DNFTypeHintFormat instead. Deprecated sniffs are still run, but will stop working at some point in the future. E 1 / 1 (100%) FILE: tests/input/PropertyDeclaration.php -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 16 ERRORS AFFECTING 5 LINES -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 9 | ERROR | [x] Equals sign not aligned correctly; expected 1 space but found 2 spaces (Generic.Formatting.MultipleStatementAlignment.Incorrect) 10 | ERROR | [x] There must be exactly one space between type hint and property $stringProperty. (SlevomatCodingStandard.Classes.PropertyDeclaration.MultipleSpacesBetweenTypeHintAndProperty) 10 | ERROR | [x] There must be 1 space after the property type declaration; 2 found (PSR2.Classes.PropertyDeclaration.SpacingAfterType) 11 | ERROR | [x] Scope keyword "public" must be followed by a single space; found 2 (Squiz.WhiteSpace.ScopeKeywordSpacing.Incorrect) 11 | ERROR | [x] There must be exactly one space before type hint of property $intProperty. (SlevomatCodingStandard.Classes.PropertyDeclaration.MultipleSpacesBeforeTypeHint) 12 | ERROR | [x] Usage of short nullable type hint in "?string" is disallowed. (SlevomatCodingStandard.TypeHints.UnionTypeHintFormat.DisallowedShortNullable) 12 | ERROR | [x] There must be no whitespace between type hint nullability symbol and type hint of property $nullableString. (SlevomatCodingStandard.Classes.PropertyDeclaration.WhitespaceAfterNullabilitySymbol) 15 | ERROR | [x] Expected 1 space after visibility modifier "public"; 2 found (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterVisbility) 15 | ERROR | [x] Scope keyword "public" must be followed by a single space; found 2 (Squiz.WhiteSpace.ScopeKeywordSpacing.Incorrect) 15 | ERROR | [x] There must be exactly one space between modifiers of property $foo. (SlevomatCodingStandard.Classes.PropertyDeclaration.MultipleSpacesBetweenModifiers) 15 | ERROR | [x] Expected 1 space after readonly modifier; 2 found (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterReadonly) 15 | ERROR | [x] Scope keyword "readonly" must be followed by a single space; found 2 (Squiz.WhiteSpace.ScopeKeywordSpacing.Incorrect) 15 | ERROR | [x] There must be exactly one space before type hint of property $foo. (SlevomatCodingStandard.Classes.PropertyDeclaration.MultipleSpacesBeforeTypeHint) 15 | ERROR | [x] Expected 1 space between type hint and argument "$foo"; 2 found (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterHint) 15 | ERROR | [x] There must be exactly one space between parameter type hint and parameter $foo. (SlevomatCodingStandard.TypeHints.ParameterTypeHintSpacing.MultipleSpacesBetweenTypeHintAndParameter) 15 | ERROR | [x] There must be exactly one space between type hint and property $foo. (SlevomatCodingStandard.Classes.PropertyDeclaration.MultipleSpacesBetweenTypeHintAndProperty) -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 16 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Time: 95ms; Memory: 12MB ```
Configuration menu - View commit details
-
Copy full SHA for 3710972 - Browse repository at this point
Copy the full SHA 3710972View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b3d705 - Browse repository at this point
Copy the full SHA 5b3d705View commit details
Commits on Mar 21, 2025
-
Merge pull request #332 from simPod/fix-property-declaration
test: increase errors in PropertyDeclaration
Configuration menu - View commit details
-
Copy full SHA for 9ef5984 - Browse repository at this point
Copy the full SHA 9ef5984View commit details -
Merge pull request #333 from greg0ire/13.0.x
Merge 12.0.x up into 13.0.x
Configuration menu - View commit details
-
Copy full SHA for 67d8f07 - Browse repository at this point
Copy the full SHA 67d8f07View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c1fef7 - Browse repository at this point
Copy the full SHA 7c1fef7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5fcb4d3 - Browse repository at this point
Copy the full SHA 5fcb4d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a8ccdc - Browse repository at this point
Copy the full SHA 9a8ccdcView commit details -
Merge pull request #328 from simPod/style-xml
style: format phpcs.xml.dist
Configuration menu - View commit details
-
Copy full SHA for 8421d3a - Browse repository at this point
Copy the full SHA 8421d3aView commit details -
Merge pull request #330 from greg0ire/dependabot-for-gh-actions
Setup Dependabot for Github Actions
Configuration menu - View commit details
-
Copy full SHA for 6ada74a - Browse repository at this point
Copy the full SHA 6ada74aView commit details -
chore(deps): bump actions/checkout from 2 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v2...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for 565c315 - Browse repository at this point
Copy the full SHA 565c315View commit details -
chore(deps): bump doctrine/.github from 2.0.0 to 7.2.2
Bumps [doctrine/.github](https://github.com/doctrine/.github) from 2.0.0 to 7.2.2. - [Release notes](https://github.com/doctrine/.github/releases) - [Commits](doctrine/.github@2.0.0...7.2.2) --- updated-dependencies: - dependency-name: doctrine/.github dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for e29d319 - Browse repository at this point
Copy the full SHA e29d319View commit details -
Merge pull request #327 from simPod/sniffie
feat: enable SlevomatCodingStandard.TypeHints.ClassConstantTypeHint
Configuration menu - View commit details
-
Copy full SHA for ab80779 - Browse repository at this point
Copy the full SHA ab80779View commit details
Commits on Mar 23, 2025
-
Merge pull request #335 from doctrine/dependabot/github_actions/doctr…
…ine/dot-github-7.2.2 chore(deps): bump doctrine/.github from 2.0.0 to 7.2.2
Configuration menu - View commit details
-
Copy full SHA for 2b7de8f - Browse repository at this point
Copy the full SHA 2b7de8fView commit details -
Merge pull request #334 from doctrine/dependabot/github_actions/actio…
…ns/checkout-4 chore(deps): bump actions/checkout from 2 to 4
Configuration menu - View commit details
-
Copy full SHA for 9749fc1 - Browse repository at this point
Copy the full SHA 9749fc1View commit details -
Configuration menu - View commit details
-
Copy full SHA for f9122e6 - Browse repository at this point
Copy the full SHA f9122e6View commit details -
Merge pull request #337 from greg0ire/13.0.x
Merge 12.0.x up into 13.0.x
Configuration menu - View commit details
-
Copy full SHA for 8132673 - Browse repository at this point
Copy the full SHA 8132673View commit details
There are no files selected for viewing
This file was deleted.
This file was deleted.