Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: brainbits/phpcs-standard
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 7.0.1
Choose a base ref
...
head repository: brainbits/phpcs-standard
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 7.0.2
Choose a head ref
  • 3 commits
  • 3 files changed
  • 1 contributor

Commits on Feb 26, 2025

  1. fix: Use SlevomatCodingStandard.TypeHints.DNFTypeHintFormat instead o…

    …f deprecated SlevomatCodingStandard.TypeHints.UnionTypeHintFormat sniff
    Stephan Wentz committed Feb 26, 2025

    Verified

    This commit was signed with the committer’s verified signature.
    jmikola Jeremy Mikola
    Copy the full SHA
    74cb5d6 View commit details
  2. test: Update to phpunit 12

    Stephan Wentz committed Feb 26, 2025
    Copy the full SHA
    aac8a97 View commit details
  3. ci: Remove php 8.1 and 8.2 checks

    Stephan Wentz committed Feb 26, 2025
    Copy the full SHA
    832bcd8 View commit details
Showing with 4 additions and 3 deletions.
  1. +1 −2 .github/workflows/build.yml
  2. +2 −0 Brainbits/ruleset.xml
  3. +1 −1 composer.json
3 changes: 1 addition & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -18,9 +18,8 @@ jobs:
matrix:
dependencies: ["lowest", "highest"]
php-version:
- "8.1"
- "8.2"
- "8.3"
- "8.4"
operating-system: ["ubuntu-latest"]

steps:
2 changes: 2 additions & 0 deletions Brainbits/ruleset.xml
Original file line number Diff line number Diff line change
@@ -5,5 +5,7 @@
<rule ref="Doctrine">
<exclude name="Generic.Formatting.MultipleStatementAlignment.NotSame" />
<exclude name="Generic.Formatting.SpaceAfterNot.Incorrect" />
<exclude name="SlevomatCodingStandard.TypeHints.UnionTypeHintFormat" />
</rule>
<rul ref="SlevomatCodingStandard.TypeHints.DNFTypeHintFormat" />
</ruleset>
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@
"squizlabs/php_codesniffer": "^3.9"
},
"require-dev": {
"phpunit/phpunit": "^10.5"
"phpunit/phpunit": "^12.0.5"
},
"scripts": {
"tests": [