Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Before submitting a pull request:

If the project maintainer has any additional requirements, you will find them listed here.

- **[PSR-2 Coding Standard](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md)** - The easiest way to apply the conventions is to install [PHP Code Sniffer](https://pear.php.net/package/PHP_CodeSniffer).
- **[Laravel Pint](https://github.com/laravel/pint)** - PHP style is enforced with Pint (PSR-12–oriented, via PHP-CS-Fixer). Run `composer install`, then `./vendor/bin/pint` before pushing (`composer run format` instead if your package defines that script). The **Fix PHP code style issues** GitHub Action also runs on push and may commit formatting fixes.
Copy link

Copilot AI Mar 21, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The guidance to run composer run format is misleading here: this repo’s composer.json defines a format script that runs php-cs-fixer, not Pint. Either update the docs to point only to ./vendor/bin/pint (or add a dedicated Pint script), or change the format script to run Pint so the instructions match actual behavior.

Suggested change
- **[Laravel Pint](https://github.com/laravel/pint)** - PHP style is enforced with Pint (PSR-12–oriented, via PHP-CS-Fixer). Run `composer install`, then `./vendor/bin/pint` before pushing (`composer run format` instead if your package defines that script). The **Fix PHP code style issues** GitHub Action also runs on push and may commit formatting fixes.
- **[Laravel Pint](https://github.com/laravel/pint)** - PHP style is enforced with Pint (PSR-12–oriented, via PHP-CS-Fixer). Run `composer install`, then `./vendor/bin/pint` before pushing. The **Fix PHP code style issues** GitHub Action also runs on push and may commit formatting fixes.

Copilot uses AI. Check for mistakes.

- **Add tests!** - Your patch won't be accepted if it doesn't have tests.

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'Checkout Repository'
uses: actions/checkout@v6
uses: actions/checkout@v6.0.2
Copy link

Copilot AI Mar 21, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This workflow upgrades actions/checkout to v6.0.2, while other workflows (e.g. .github/workflows/run-tests.yml) still use actions/checkout@v4. Mixing major versions across workflows makes maintenance harder and risks subtle differences in checkout behavior; consider standardizing on the same major version across all workflows (either keep v4 everywhere or bump all workflows together after verifying compatibility).

Suggested change
uses: actions/checkout@v6.0.2
uses: actions/checkout@v4

Copilot uses AI. Check for mistakes.
- name: 'Dependency Review'
uses: actions/dependency-review-action@v4
uses: actions/dependency-review-action@v4.9.0
11 changes: 6 additions & 5 deletions .github/workflows/fix-php-code-style-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,21 @@ name: Fix PHP code style issues

on: [push]

permissions:
contents: write

jobs:
php-code-styling:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
uses: actions/checkout@v6.0.2
Copy link

Copilot AI Mar 21, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This workflow upgrades actions/checkout to v6.0.2, while other workflows (e.g. .github/workflows/run-tests.yml) still use actions/checkout@v4. Mixing major versions across workflows makes maintenance harder and risks subtle differences in checkout behavior; consider standardizing on the same major version across all workflows (either keep v4 everywhere or bump all workflows together after verifying compatibility).

Suggested change
uses: actions/checkout@v6.0.2
uses: actions/checkout@v4

Copilot uses AI. Check for mistakes.

- name: Fix PHP code style issues
uses: aglipanci/laravel-pint-action@2.5
uses: aglipanci/laravel-pint-action@2.6

- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v6
uses: stefanzweifel/git-auto-commit-action@v7.1.0
with:
commit_message: Fix styling
28 changes: 24 additions & 4 deletions .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,42 @@
name: PHPStan

on: [push]
on:
push:
paths:
- '**/*.php'
- 'phpstan.neon.dist'
- 'phpstan-baseline.neon'
- 'composer.json'
- 'composer.lock'
pull_request:
paths:
- '**/*.php'
- 'phpstan.neon.dist'
- 'phpstan-baseline.neon'
- 'composer.json'
- 'composer.lock'
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
phpstan:
name: phpstan
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6.0.2
Copy link

Copilot AI Mar 21, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This workflow upgrades actions/checkout to v6.0.2, while other workflows (e.g. .github/workflows/run-tests.yml) still use actions/checkout@v4. Mixing major versions across workflows makes maintenance harder and risks subtle differences in checkout behavior; consider standardizing on the same major version across all workflows (either keep v4 everywhere or bump all workflows together after verifying compatibility).

Suggested change
- uses: actions/checkout@v6.0.2
- uses: actions/checkout@v4

Copilot uses AI. Check for mistakes.

- name: Setup PHP
uses: shivammathur/setup-php@v2
uses: shivammathur/setup-php@2.37.0
with:
php-version: '8.4'
coverage: none

- name: Install composer dependencies
uses: ramsey/composer-install@v3
uses: ramsey/composer-install@4.0.0

- name: Run PHPStan
run: ./vendor/bin/phpstan --error-format=github
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@ jobs:
release:
name: Release
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6.0.2
Copy link

Copilot AI Mar 21, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This workflow upgrades actions/checkout to v6.0.2, while other workflows (e.g. .github/workflows/run-tests.yml) still use actions/checkout@v4. Mixing major versions across workflows makes maintenance harder and risks subtle differences in checkout behavior; consider standardizing on the same major version across all workflows (either keep v4 everywhere or bump all workflows together after verifying compatibility).

Suggested change
- uses: actions/checkout@v6.0.2
- uses: actions/checkout@v4

Copilot uses AI. Check for mistakes.
with:
fetch-depth: '0'
- name: Bump version and push tag
uses: anothrNick/github-tag-action@master
uses: anothrNick/github-tag-action@1.75.0
env:
GITHUB_TOKEN: ${{ secrets.MY_GITHUB_TOKEN }}
WITH_V: true
Expand Down
55 changes: 0 additions & 55 deletions CONTRIBUTING.md

This file was deleted.

3 changes: 0 additions & 3 deletions SECURITY.md

This file was deleted.

Loading