diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 764cfb0..558be5c 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,10 +1,9 @@ name: Lint on: - push: + pull_request: branches: - main - pull_request: jobs: composer: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2775009..01aad15 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,10 +1,9 @@ name: PHP Tests on: - push: + pull_request: branches: - main - pull_request: jobs: pest: @@ -14,9 +13,9 @@ jobs: fail-fast: false matrix: php: - - "8.2" - "8.3" - "8.4" + - "8.5" steps: - name: Checkout uses: actions/checkout@v7 diff --git a/pint.json b/pint.json index d559909..5181c3f 100644 --- a/pint.json +++ b/pint.json @@ -4,10 +4,12 @@ "android", "ios", "resources", - "stubs" + "stubs", + ".github" ], "notPath": [ - "vendor" + "vendor", + "rector.php" ], "rules": { "declare_strict_types": true, diff --git a/rector.php b/rector.php index 6da6224..810956c 100644 --- a/rector.php +++ b/rector.php @@ -9,14 +9,13 @@ __DIR__.'/src', __DIR__.'/tests', ]) - ->withPhpSets(php82: true) + ->withPhpSets(php83: true) ->withPreparedSets( deadCode: true, codeQuality: true, typeDeclarations: true, privatization: true, earlyReturn: true, - strictBooleans: true, ) ->withSkip([ __DIR__.'/stubs',