Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge upstream #7

Merged
merged 74 commits into from
Dec 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
50e3f60
Bump ramsey/composer-install from 1 to 2
dependabot[bot] Nov 21, 2022
9875b71
Merge pull request #271 from spatie/dependabot/github_actions/ramsey/…
riasvdv Dec 1, 2022
9ed4a06
FIX run-tests workflow failing on prefer-lowest runs
Dec 19, 2022
cb79b71
Merge pull request #273 from riccardodallavia/main
freekmurze Dec 19, 2022
31104b4
docs: update broken Shields badges
owenvoke Dec 19, 2022
035420f
Merge pull request #274 from owenvoke/patch-1
freekmurze Dec 19, 2022
9a8ebdb
Bump aglipanci/laravel-pint-action from 1.0.0 to 2.1.0
dependabot[bot] Jan 2, 2023
9f829d4
UPDATE laravel-package-tools dependency version
Jan 18, 2023
38acbf3
Merge pull request #276 from riccardodallavia/main
freekmurze Jan 18, 2023
69c9756
Bug reporting via GH forms
peterfox Jan 29, 2023
de867e8
Bump dependabot/fetch-metadata from 1.3.5 to 1.3.6
dependabot[bot] Jan 30, 2023
34ecc31
Merge pull request #278 from spatie/dependabot/github_actions/dependa…
github-actions[bot] Jan 30, 2023
092a58d
Merge pull request #277 from peterfox/use-gh-issue-templates
freekmurze Jan 30, 2023
f70342f
Merge pull request #275 from spatie/dependabot/github_actions/aglipan…
freekmurze Feb 8, 2023
03f65fa
bump default versions to Laravel 10
olumby Feb 20, 2023
bd3b589
Merge pull request #281 from olumby/laravel-10
freekmurze Feb 20, 2023
dc1f117
use Pest 2 by default
freekmurze Feb 24, 2023
3bca2ed
Set permissions to contents: write
stefanzweifel Feb 25, 2023
a69f6a9
Merge pull request #282 from stefanzweifel/main
freekmurze Feb 25, 2023
c57cad5
add arch test
freekmurze Feb 25, 2023
733c0ad
Merge branch 'main' of github.com:spatie/package-skeleton-laravel
freekmurze Feb 25, 2023
d077f46
wip
freekmurze Feb 25, 2023
364d029
Fix styling
freekmurze Feb 25, 2023
c42bf03
wip
freekmurze Feb 25, 2023
82fa828
Merge branch 'main' of github.com:spatie/package-skeleton-laravel
freekmurze Feb 25, 2023
9d4fbc5
update phpunit.xml.dist for PHPUnit 10
olumby Mar 1, 2023
cac7de5
Merge pull request #283 from olumby/phpunit-10
freekmurze Mar 1, 2023
5606a16
Ignore PHPUnit 10 cache
Mar 6, 2023
3092ce7
Merge pull request #284 from phh/patch-2
freekmurze Mar 6, 2023
da9f335
Bump aglipanci/laravel-pint-action from 2.1.0 to 2.2.0
dependabot[bot] Mar 20, 2023
19ee1ce
Merge pull request #286 from spatie/dependabot/github_actions/aglipan…
github-actions[bot] Mar 20, 2023
9f71e19
add slashes
bnzo Mar 20, 2023
00c475f
Merge pull request #287 from bnzo/patch-1
freekmurze Mar 20, 2023
5082b6e
Bump dependabot/fetch-metadata from 1.3.6 to 1.4.0
dependabot[bot] Apr 24, 2023
0383892
Merge pull request #292 from spatie/dependabot/github_actions/dependa…
github-actions[bot] Apr 24, 2023
8a8aa24
Add --ci on test
lloricode May 13, 2023
b344b60
Merge pull request #294 from lloricode/patch-1
freekmurze May 13, 2023
ef6bade
Bump dependabot/fetch-metadata from 1.4.0 to 1.5.1
dependabot[bot] May 29, 2023
7ff7f41
Merge pull request #295 from spatie/dependabot/github_actions/dependa…
github-actions[bot] May 29, 2023
62c4872
Bump dependabot/fetch-metadata from 1.5.1 to 1.6.0
dependabot[bot] Jul 3, 2023
bd7e67d
Merge pull request #297 from spatie/dependabot/github_actions/dependa…
github-actions[bot] Jul 3, 2023
c380b08
Update phpunit.xml.dist
nckrtl Jul 8, 2023
4f9a853
Merge pull request #298 from nckrtl/update-phpunit-configuration
freekmurze Jul 8, 2023
f5de2e9
Fix nunomaduro/collision version
LichtAnd Aug 7, 2023
ed32abb
Merge pull request #1 from LichtAnd/LichtAnd-Fix-nunomaduro/collision…
LichtAnd Aug 7, 2023
a9a7fe5
Merge pull request #300 from LichtAnd/main
freekmurze Aug 7, 2023
1c2a572
Support Workbench
crynobone Aug 15, 2023
1de4e32
wip
crynobone Aug 15, 2023
ecad99a
wip
crynobone Aug 16, 2023
59cf02c
Merge pull request #301 from crynobone/workbench
freekmurze Aug 17, 2023
5f7d352
Fix composer.json syntax
themazim Aug 21, 2023
99325a9
Merge pull request #302 from themazim/fix-json
freekmurze Aug 21, 2023
08edb4d
Removed trailing comma
markushartman Aug 26, 2023
02808c8
Merge pull request #303 from markushartman/main
freekmurze Aug 27, 2023
a071991
fix: prevent start script timeout
mikaelpopowicz Aug 31, 2023
8aa03ad
Merge pull request #304 from mikaelpopowicz/main
freekmurze Sep 4, 2023
d81b850
Bump actions/checkout from 3 to 4
dependabot[bot] Sep 11, 2023
d2e8511
UPDATE update pest version in composer.json
enricodelazzari Oct 4, 2023
481fefd
Merge pull request #307 from enricodelazzari/main
freekmurze Oct 4, 2023
d446dc6
dependabot suggestions
gauravmak Nov 1, 2023
6515822
dependabot suggestion
gauravmak Nov 1, 2023
a21f22c
Merge pull request #309 from gauravmak/main
freekmurze Nov 1, 2023
b4f5d4a
Merge pull request #306 from spatie/dependabot/github_actions/actions…
Nielsvanpach Nov 6, 2023
5070e75
enhance github author/vendor username guessing
patinthehat Nov 19, 2023
c7fbd14
Fix styling
patinthehat Nov 19, 2023
6750164
hide stderr output when attempting gh cli exec
patinthehat Nov 19, 2023
f4a5797
fix casing for"GitHub "
patinthehat Nov 20, 2023
01d86f4
minor bug fix
patinthehat Nov 20, 2023
4ea36c7
Merge pull request #310 from patinthehat/main
freekmurze Nov 20, 2023
5f16d9c
update nunomaduro/larastan to larastan/larastan
PyaeSoneAungRgn Dec 8, 2023
74eed02
Merge pull request #312 from PyaeSoneAungRgn/main
freekmurze Dec 8, 2023
ac7e323
Merge branch 'main' into merge_upstream
bastien-phi Dec 14, 2023
f41188a
Update cs config
bastien-phi Dec 14, 2023
6b13c35
Fix styling
bastien-phi Dec 14, 2023
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: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
/art export-ignore
/docs export-ignore
/tests export-ignore
/workbench export-ignore
/.editorconfig export-ignore
/.php_cs.dist.php export-ignore
/UPGRADING.md export-ignore
/phpstan.neon.dist export-ignore
Expand Down
66 changes: 66 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: Bug Report
description: Report an Issue or Bug with the Package
title: "[Bug]: "
labels: ["bug"]
body:
- type: markdown
attributes:
value: |
We're sorry to hear you have a problem. Can you help us solve it by providing the following details.
- type: textarea
id: what-happened
attributes:
label: What happened?
description: What did you expect to happen?
placeholder: I cannot currently do X thing because when I do, it breaks X thing.
validations:
required: true
- type: textarea
id: how-to-reproduce
attributes:
label: How to reproduce the bug
description: How did this occur, please add any config values used and provide a set of reliable steps if possible.
placeholder: When I do X I see Y.
validations:
required: true
- type: input
id: package-version
attributes:
label: Package Version
description: What version of our Package are you running? Please be as specific as possible
placeholder: 2.0.0
validations:
required: true
- type: input
id: php-version
attributes:
label: PHP Version
description: What version of PHP are you running? Please be as specific as possible
placeholder: 8.2.0
validations:
required: true
- type: input
id: laravel-version
attributes:
label: Laravel Version
description: What version of Laravel are you running? Please be as specific as possible
placeholder: 9.0.0
validations:
required: true
- type: dropdown
id: operating-systems
attributes:
label: Which operating systems does with happen with?
description: You may select more than one.
multiple: true
options:
- macOS
- Windows
- Linux
- type: textarea
id: notes
attributes:
label: Notes
description: Use this field to provide any other notes that you feel might be relevant to the issue.
validations:
required: false
3 changes: 0 additions & 3 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,3 @@ contact_links:
- name: Report a security issue
url: https://github.com/:vendor_name/:package_name/security/policy
about: Learn how to notify us for sensitive bugs
- name: Report a bug
url: https://github.com/:vendor_name/:package_name/issues/new
about: Report a reproducible bug
2 changes: 1 addition & 1 deletion .github/workflows/dependabot-auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v1.3.5
uses: dependabot/fetch-metadata@v1.6.0
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"

Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/fix-php-code-style-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,16 @@ on:
paths:
- '**.php'

permissions:
contents: write

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

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

Expand All @@ -21,6 +24,6 @@ jobs:
args: --config=.php-cs-fixer.dist.php --allow-risky=yes

- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Fix styling
4 changes: 2 additions & 2 deletions .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
name: phpstan
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand All @@ -20,7 +20,7 @@ jobs:
coverage: none

- name: Install composer dependencies
uses: ramsey/composer-install@v1
uses: ramsey/composer-install@v2

- name: Run PHPStan
run: ./vendor/bin/phpstan --error-format=github
13 changes: 7 additions & 6 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,18 @@ jobs:
matrix:
os: [ubuntu-latest]
php: [8.2, 8.1]
laravel: [9.*]
laravel: [10.*]
stability: [prefer-lowest, prefer-stable]
include:
- laravel: 9.*
testbench: 7.*
- laravel: 10.*
testbench: 8.*
carbon: ^2.63

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand All @@ -40,11 +41,11 @@ jobs:

- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "nesbot/carbon:${{ matrix.carbon }}" --no-interaction --no-update
composer update --${{ matrix.stability }} --prefer-dist --no-interaction

- name: List Installed Dependencies
run: composer show -D

- name: Execute tests
run: vendor/bin/pest
run: vendor/bin/pest --ci
7 changes: 5 additions & 2 deletions .github/workflows/update-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,16 @@ on:
release:
types: [released]

permissions:
contents: write

jobs:
update:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: main

Expand All @@ -21,7 +24,7 @@ jobs:
release-notes: ${{ github.event.release.body }}

- name: Commit updated CHANGELOG
uses: stefanzweifel/git-auto-commit-action@v4
uses: stefanzweifel/git-auto-commit-action@v5
with:
branch: main
commit_message: Update CHANGELOG
Expand Down
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
phpunit
vendor
.php-cs-fixer.php
.php-cs-fixer.cache
.phpunit.result.cache
composer.lock
phpunit
phpunit.xml
phpstan.neon
vendor
Expand Down
Loading
Loading