WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 3f0296b

Browse files
authored
Merge pull request #4 from Nutickets/laravel-11-upstream-merge
Laravel 11 upstream merge
2 parents 24d10eb + 5d4c73e commit 3f0296b

26 files changed

+799
-188
lines changed

.devcontainer/devcontainer.json

Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
// https://aka.ms/devcontainer.json
2+
{
3+
"name": "Existing Docker Compose (Extend)",
4+
"dockerComposeFile": [
5+
"../docker-compose.yml"
6+
],
7+
"features": {
8+
"ghcr.io/devcontainers/features/sshd:1": {
9+
"version": "latest"
10+
}
11+
},
12+
"service": "laravel.test",
13+
"workspaceFolder": "/var/www/html",
14+
"customizations": {
15+
"vscode": {
16+
"settings": {},
17+
"extensions": [
18+
"aaron-bond.better-comments",
19+
"adrianwilczynski.alpine-js-intellisense",
20+
"amiralizadeh9480.laravel-extra-intellisense",
21+
"austenc.laravel-blade-spacer",
22+
"beyondcode.tinkerwell",
23+
"bmewburn.vscode-intelephense-client",
24+
"bradlc.vscode-tailwindcss",
25+
"christian-kohler.npm-intellisense",
26+
"christian-kohler.path-intellisense",
27+
"cierra.livewire-vscode",
28+
"codingyu.laravel-goto-view",
29+
"davidanson.vscode-markdownlint",
30+
"davidbwaters.macos-modern-theme",
31+
"eamodio.gitlens",
32+
"editorconfig.editorconfig",
33+
"ericcheng.codesongclear",
34+
"faelv.composer-companion",
35+
"file-icons.file-icons",
36+
"foxundermoon.shell-format",
37+
"georgykurian.laravel-ide-helper",
38+
"github.codespaces",
39+
"GitHub.copilot-chat",
40+
"GitHub.copilot-nightly",
41+
"github.vscode-github-actions",
42+
"github.vscode-pull-request-github",
43+
"Gruntfuggly.activitusbar",
44+
"heissenbergerlab.php-array-from-json",
45+
"heybourn.headwind",
46+
"huibizhang.codesnap-plus",
47+
"irongeek.vscode-env",
48+
"kencocaceo.customvscodeuicss",
49+
"m4ns0ur.base64",
50+
"maciejdems.add-to-gitignore",
51+
"mahmoudshahin.laravel-routes",
52+
"markis.code-coverage",
53+
"martybegood.single-editor-tabs",
54+
"mechatroner.rainbow-csv",
55+
"mehedidracula.php-namespace-resolver",
56+
"mhutchie.git-graph",
57+
"mikestead.dotenv",
58+
"mohamedbenhida.laravel-intellisense",
59+
"mrmlnc.vscode-duplicate",
60+
"naoray.laravel-goto-components",
61+
"oderwat.indent-rainbow",
62+
"pcbowers.alpine-intellisense",
63+
"recca0120.vscode-phpunit",
64+
"redhat.vscode-yaml",
65+
"rifi2k.format-html-in-php",
66+
"shevaua.phpcs",
67+
"shufo.vscode-blade-formatter",
68+
"sperovita.alpinejs-syntax-highlight",
69+
"streetsidesoftware.code-spell-checker",
70+
"syler.ignore",
71+
"teabyii.ayu",
72+
"usernamehw.errorlens",
73+
"vincaslt.highlight-matching-tag",
74+
"WakaTime.vscode-wakatime",
75+
"withfig.fig",
76+
"wongjn.php-sniffer",
77+
"xdebug.php-debug",
78+
"codecov.codecov"
79+
]
80+
}
81+
},
82+
"remoteUser": "sail",
83+
"postCreateCommand": "sudo chown -R 1000:1000 /var/www/html",
84+
"forwardPorts": [
85+
5432,
86+
6379
87+
],
88+
"portsAttributes": {
89+
"5432": {
90+
"label": "Postgres"
91+
},
92+
"6379": {
93+
"label": "Redis"
94+
}
95+
},
96+
"mounts": [
97+
"source=${localEnv:HOME}/.wakatime.cfg,target=/home/sail/.wakatime.cfg,type=bind,consistency=delegated"
98+
]
99+
// "runServices": [],
100+
// "shutdownAction": "none",
101+
}

.editorconfig

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
insert_final_newline = true
7+
indent_style = space
8+
indent_size = 4
9+
trim_trailing_whitespace = true
10+
11+
[*.md]
12+
trim_trailing_whitespace = false
13+
indent_size = 2
14+
15+
[*.{yml,yaml}]
16+
indent_size = 2
17+
18+
[.blackfire.yaml]
19+
indent_size = 4

.github/workflows/laravel.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
fail-fast: true
1616
matrix:
17-
php: [8.2, 8.1]
17+
php: [8.4, 8.3, 8.2]
1818

1919
name: PHP ${{ matrix.php }}
2020

@@ -42,9 +42,9 @@ jobs:
4242

4343
- uses: harmon758/postgresql-action@v1
4444
with:
45-
postgresql version: '11'
45+
postgresql version: '15'
4646
postgresql db: 'testing'
47-
postgresql user: 'homestead'
47+
postgresql user: 'forge'
4848
postgresql password: 'secret'
4949

5050
- name: Remove Nova on a pull request
@@ -56,7 +56,7 @@ jobs:
5656

5757
- name: Install Dependencies
5858
run: |
59-
composer config "http-basic.nova.laravel.com" "${{ secrets.NOVA_USERNAME }}" "${{ secrets.NOVA_PASSWORD }}"
59+
composer config "http-basic.nova.laravel.com" "${{ secrets.NOVA_USERNAME }}" "${{ secrets.NOVA_LICENSE_KEY }}"
6060
composer install -q --no-ansi --no-interaction --no-scripts --no-suggest --no-progress --prefer-dist
6161
6262
- name: Execute Integration and Feature tests via PHPUnit

.gitignore

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
.idea
2+
.phpunit.result.cache
3+
/.phpunit*
14
/build
25
/vendor
36
composer.lock
4-
.phpunit.result.cache
5-
phpunit.xml
6-
.idea

.vscode/extensions.json

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
{
2+
"recommendations": [
3+
"aaron-bond.better-comments",
4+
"adrianwilczynski.alpine-js-intellisense",
5+
"amiralizadeh9480.laravel-extra-intellisense",
6+
"austenc.laravel-blade-spacer",
7+
"beyondcode.tinkerwell",
8+
"bmewburn.vscode-intelephense-client",
9+
"bradlc.vscode-tailwindcss",
10+
"christian-kohler.npm-intellisense",
11+
"christian-kohler.path-intellisense",
12+
"cierra.livewire-vscode",
13+
"codingyu.laravel-goto-view",
14+
"davidanson.vscode-markdownlint",
15+
"davidbwaters.macos-modern-theme",
16+
"eamodio.gitlens",
17+
"editorconfig.editorconfig",
18+
"ericcheng.codesongclear",
19+
"faelv.composer-companion",
20+
"file-icons.file-icons",
21+
"foxundermoon.shell-format",
22+
"georgykurian.laravel-ide-helper",
23+
"github.codespaces",
24+
"GitHub.copilot-chat",
25+
"GitHub.copilot-nightly",
26+
"github.vscode-github-actions",
27+
"github.vscode-pull-request-github",
28+
"Gruntfuggly.activitusbar",
29+
"heissenbergerlab.php-array-from-json",
30+
"heybourn.headwind",
31+
"huibizhang.codesnap-plus",
32+
"irongeek.vscode-env",
33+
"kencocaceo.customvscodeuicss",
34+
"m4ns0ur.base64",
35+
"maciejdems.add-to-gitignore",
36+
"mahmoudshahin.laravel-routes",
37+
"markis.code-coverage",
38+
"martybegood.single-editor-tabs",
39+
"mechatroner.rainbow-csv",
40+
"mehedidracula.php-namespace-resolver",
41+
"mhutchie.git-graph",
42+
"mikestead.dotenv",
43+
"mohamedbenhida.laravel-intellisense",
44+
"mrmlnc.vscode-duplicate",
45+
"naoray.laravel-goto-components",
46+
"oderwat.indent-rainbow",
47+
"pcbowers.alpine-intellisense",
48+
"recca0120.vscode-phpunit",
49+
"redhat.vscode-yaml",
50+
"rifi2k.format-html-in-php",
51+
"shevaua.phpcs",
52+
"shufo.vscode-blade-formatter",
53+
"sperovita.alpinejs-syntax-highlight",
54+
"streetsidesoftware.code-spell-checker",
55+
"syler.ignore",
56+
"teabyii.ayu",
57+
"usernamehw.errorlens",
58+
"vincaslt.highlight-matching-tag",
59+
"WakaTime.vscode-wakatime",
60+
"withfig.fig",
61+
"wongjn.php-sniffer",
62+
"xdebug.php-debug",
63+
"codecov.codecov"
64+
],
65+
"unwantedRecommendations": [
66+
"ikappas.phpcs",
67+
"linyang95.phpmd"
68+
]
69+
}

0 commit comments

Comments
 (0)