diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 83be9131..615df730 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -14,7 +14,7 @@ jobs: analyse: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - uses: shivammathur/setup-php@v2 with: php-version: '8.4' @@ -27,6 +27,12 @@ jobs: - run: composer apply-typed_class_constant - run: composer analyse + spelling: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v5 + - uses: crate-ci/typos@v1.36.0 + test: name: PHP ${{ matrix.php-version }} ${{ matrix.description }} strategy: @@ -86,7 +92,7 @@ jobs: env: PHP_CS_FIXER_FUTURE_MODE: 1 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - uses: shivammathur/setup-php@v2 with: diff --git a/README.md b/README.md index a8b070bd..2917886e 100644 --- a/README.md +++ b/README.md @@ -178,13 +178,13 @@ Function parameters, if any is having attribute or hook, must be separated by a = 8.1 */ public function testFoo1() {} - public function testFo2o() { + public function testFoo2() { new class extends TestCase { /** * @requires PHP >= 8.2 @@ -90,7 +90,7 @@ class FooTest extends TestCase { * @requires PHP 8.1 */ public function testFoo1() {} - public function testFo2o() { + public function testFoo2() { new class extends TestCase { /** * @requires PHP 8.2 diff --git a/tests/Fixer/TypedClassConstantFixerTest.php b/tests/Fixer/TypedClassConstantFixerTest.php index c1d85a9a..7ced3c83 100644 --- a/tests/Fixer/TypedClassConstantFixerTest.php +++ b/tests/Fixer/TypedClassConstantFixerTest.php @@ -312,7 +312,7 @@ class Bar { class HellCoreServiceManagerHelper { const mixed OPTION_666__YES__1010011010_VALUE_4_1_3 - = IS_OVERRIDEN_BY_BEELZEBOSS + = IS_OVERRIDDEN_BY_BEELZEBOSS ? "Hell yeah" : CIRCLES_MANAGER_ACCESS === [0o1232, 'super_manager', false, -66.6] ? true @@ -326,7 +326,7 @@ class HellCoreServiceManagerHelper class HellCoreServiceManagerHelper { const OPTION_666__YES__1010011010_VALUE_4_1_3 - = IS_OVERRIDEN_BY_BEELZEBOSS + = IS_OVERRIDDEN_BY_BEELZEBOSS ? "Hell yeah" : CIRCLES_MANAGER_ACCESS === [0o1232, 'super_manager', false, -66.6] ? true