Skip to content

Commit 8dde5dc

Browse files
Merge branch '10.x'
2 parents bcd25bd + 56d59a7 commit 8dde5dc

File tree

91 files changed

+1493
-1066
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+1493
-1066
lines changed

.github/ISSUE_TEMPLATE/Bug_report.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ description: "Report something that's broken."
33
body:
44
- type: markdown
55
attributes:
6-
value: "Before submitting your report, [please ensure your Laravel version is still supported](https://laravel.com/docs/releases#support-policy)."
6+
value: "Please read [our full contribution guide](https://laravel.com/docs/contributions#bug-reports) before submitting bug reports. If you notice improper DocBlock, PHPStan, or IDE warnings while using Laravel, do not create a GitHub issue. Instead, please submit a pull request to fix the problem."
77
- type: input
88
attributes:
99
label: Laravel Version
10-
description: Provide the Laravel version that you are using.
10+
description: Provide the Laravel version that you are using. [Please ensure it is still supported.](https://laravel.com/docs/releases#support-policy)
1111
placeholder: 10.4.1
1212
validations:
1313
required: true

.github/workflows/databases.yml

Lines changed: 53 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ jobs:
2929
steps:
3030
- name: Checkout code
3131
uses: actions/checkout@v3
32+
with:
33+
fetch-depth: 0
3234

3335
- name: Setup PHP
3436
uses: shivammathur/setup-php@v2
@@ -72,6 +74,8 @@ jobs:
7274
steps:
7375
- name: Checkout code
7476
uses: actions/checkout@v3
77+
with:
78+
fetch-depth: 0
7579

7680
- name: Setup PHP
7781
uses: shivammathur/setup-php@v2
@@ -115,6 +119,8 @@ jobs:
115119
steps:
116120
- name: Checkout code
117121
uses: actions/checkout@v3
122+
with:
123+
fetch-depth: 0
118124

119125
- name: Setup PHP
120126
uses: shivammathur/setup-php@v2
@@ -159,6 +165,8 @@ jobs:
159165
steps:
160166
- name: Checkout code
161167
uses: actions/checkout@v3
168+
with:
169+
fetch-depth: 0
162170

163171
- name: Setup PHP
164172
uses: shivammathur/setup-php@v2
@@ -181,46 +189,48 @@ jobs:
181189
DB_CONNECTION: pgsql
182190
DB_PASSWORD: password
183191

184-
# mssql:
185-
# runs-on: ubuntu-20.04
186-
187-
# services:
188-
# sqlsrv:
189-
# image: mcr.microsoft.com/mssql/server:2019-latest
190-
# env:
191-
# ACCEPT_EULA: Y
192-
# SA_PASSWORD: Forge123
193-
# ports:
194-
# - 1433:1433
195-
196-
# strategy:
197-
# fail-fast: true
198-
199-
# name: SQL Server 2019
200-
201-
# steps:
202-
# - name: Checkout code
203-
# uses: actions/checkout@v3
204-
205-
# - name: Setup PHP
206-
# uses: shivammathur/setup-php@v2
207-
# with:
208-
# php-version: 8.2
209-
# extensions: dom, curl, libxml, mbstring, zip, pcntl, sqlsrv, pdo, pdo_sqlsrv, odbc, pdo_odbc
210-
# tools: composer:v2
211-
# coverage: none
212-
213-
# - name: Install dependencies
214-
# uses: nick-fields/retry@v2
215-
# with:
216-
# timeout_minutes: 5
217-
# max_attempts: 5
218-
# command: composer update --prefer-stable --prefer-dist --no-interaction --no-progress
219-
220-
# - name: Execute tests
221-
# run: vendor/bin/phpunit tests/Integration/Database
222-
# env:
223-
# DB_CONNECTION: sqlsrv
224-
# DB_DATABASE: master
225-
# DB_USERNAME: SA
226-
# DB_PASSWORD: Forge123
192+
mssql:
193+
runs-on: ubuntu-20.04
194+
195+
services:
196+
sqlsrv:
197+
image: mcr.microsoft.com/mssql/server:2019-latest
198+
env:
199+
ACCEPT_EULA: Y
200+
SA_PASSWORD: Forge123
201+
ports:
202+
- 1433:1433
203+
204+
strategy:
205+
fail-fast: true
206+
207+
name: SQL Server 2019
208+
209+
steps:
210+
- name: Checkout code
211+
uses: actions/checkout@v3
212+
with:
213+
fetch-depth: 0
214+
215+
- name: Setup PHP
216+
uses: shivammathur/setup-php@v2
217+
with:
218+
php-version: 8.2
219+
extensions: dom, curl, libxml, mbstring, zip, pcntl, sqlsrv, pdo, pdo_sqlsrv, odbc, pdo_odbc
220+
tools: composer:v2
221+
coverage: none
222+
223+
- name: Install dependencies
224+
uses: nick-fields/retry@v2
225+
with:
226+
timeout_minutes: 5
227+
max_attempts: 5
228+
command: composer update --prefer-stable --prefer-dist --no-interaction --no-progress
229+
230+
- name: Execute tests
231+
run: vendor/bin/phpunit tests/Integration/Database
232+
env:
233+
DB_CONNECTION: sqlsrv
234+
DB_DATABASE: master
235+
DB_USERNAME: SA
236+
DB_PASSWORD: Forge123

.github/workflows/facades.yml

Lines changed: 46 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ jobs:
1818
steps:
1919
- name: Checkout code
2020
uses: actions/checkout@v3
21+
with:
22+
fetch-depth: 0
2123

2224
- name: Setup PHP
2325
uses: shivammathur/setup-php@v2
@@ -31,10 +33,52 @@ jobs:
3133
with:
3234
timeout_minutes: 5
3335
max_attempts: 5
34-
command: composer update --prefer-stable --prefer-dist --no-interaction --no-progress
36+
command: |
37+
composer config repositories.facade-documenter vcs [email protected]:laravel-labs/facade-documenter.git
38+
composer require --dev laravel/facade-documenter:dev-main --prefer-stable --prefer-dist --no-interaction --no-progress
3539
3640
- name: Update facade docblocks
37-
run: php -f bin/facades.php
41+
run: |
42+
php -f vendor/bin/facade.php -- \
43+
Illuminate\\Support\\Facades\\App \
44+
Illuminate\\Support\\Facades\\Artisan \
45+
Illuminate\\Support\\Facades\\Auth \
46+
Illuminate\\Support\\Facades\\Blade \
47+
Illuminate\\Support\\Facades\\Broadcast \
48+
Illuminate\\Support\\Facades\\Bus \
49+
Illuminate\\Support\\Facades\\Cache \
50+
Illuminate\\Support\\Facades\\Config \
51+
Illuminate\\Support\\Facades\\Cookie \
52+
Illuminate\\Support\\Facades\\Crypt \
53+
Illuminate\\Support\\Facades\\DB \
54+
Illuminate\\Support\\Facades\\Date \
55+
Illuminate\\Support\\Facades\\Event \
56+
Illuminate\\Support\\Facades\\File \
57+
Illuminate\\Support\\Facades\\Gate \
58+
Illuminate\\Support\\Facades\\Hash \
59+
Illuminate\\Support\\Facades\\Http \
60+
Illuminate\\Support\\Facades\\Lang \
61+
Illuminate\\Support\\Facades\\Log \
62+
Illuminate\\Support\\Facades\\Mail \
63+
Illuminate\\Support\\Facades\\Notification \
64+
Illuminate\\Support\\Facades\\ParallelTesting \
65+
Illuminate\\Support\\Facades\\Password \
66+
Illuminate\\Support\\Facades\\Pipeline \
67+
Illuminate\\Support\\Facades\\Process \
68+
Illuminate\\Support\\Facades\\Queue \
69+
Illuminate\\Support\\Facades\\RateLimiter \
70+
Illuminate\\Support\\Facades\\Redirect \
71+
Illuminate\\Support\\Facades\\Redis \
72+
Illuminate\\Support\\Facades\\Request \
73+
Illuminate\\Support\\Facades\\Response \
74+
Illuminate\\Support\\Facades\\Route \
75+
Illuminate\\Support\\Facades\\Schema \
76+
Illuminate\\Support\\Facades\\Session \
77+
Illuminate\\Support\\Facades\\Storage \
78+
Illuminate\\Support\\Facades\\URL \
79+
Illuminate\\Support\\Facades\\Validator \
80+
Illuminate\\Support\\Facades\\View \
81+
Illuminate\\Support\\Facades\\Vite
3882
3983
- name: Commit facade docblocks
4084
uses: stefanzweifel/git-auto-commit-action@v4

.github/workflows/static-analysis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121
steps:
2222
- name: Checkout code
2323
uses: actions/checkout@v3
24+
with:
25+
fetch-depth: 0
2426

2527
- name: Setup PHP
2628
uses: shivammathur/setup-php@v2

.github/workflows/tests.yml

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,16 @@ jobs:
3939
strategy:
4040
fail-fast: true
4141
matrix:
42-
php: [8.2]
42+
php: [8.2, 8.3]
4343
stability: [prefer-lowest, prefer-stable]
4444

4545
name: PHP ${{ matrix.php }} - ${{ matrix.stability }}
4646

4747
steps:
4848
- name: Checkout code
4949
uses: actions/checkout@v3
50+
with:
51+
fetch-depth: 0
5052

5153
- name: Setup PHP
5254
uses: shivammathur/setup-php@v2
@@ -74,6 +76,15 @@ jobs:
7476
timeout_minutes: 5
7577
max_attempts: 5
7678
command: composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress
79+
if: matrix.php <= 8.2
80+
81+
- name: Install dependencies
82+
uses: nick-fields/retry@v2
83+
with:
84+
timeout_minutes: 5
85+
max_attempts: 5
86+
command: composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress --ignore-platform-req=php
87+
if: matrix.php == 8.3
7788

7889
- name: Execute tests
7990
run: vendor/bin/phpunit --display-deprecation
@@ -99,7 +110,7 @@ jobs:
99110
strategy:
100111
fail-fast: true
101112
matrix:
102-
php: [8.2]
113+
php: [8.2, 8.3]
103114
stability: [prefer-lowest, prefer-stable]
104115

105116
name: PHP ${{ matrix.php }} - ${{ matrix.stability }} - Windows
@@ -112,6 +123,8 @@ jobs:
112123
113124
- name: Checkout code
114125
uses: actions/checkout@v3
126+
with:
127+
fetch-depth: 0
115128

116129
- name: Setup PHP
117130
uses: shivammathur/setup-php@v2
@@ -135,6 +148,15 @@ jobs:
135148
timeout_minutes: 5
136149
max_attempts: 5
137150
command: composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress
151+
if: matrix.php <= 8.2
152+
153+
- name: Install dependencies
154+
uses: nick-fields/retry@v2
155+
with:
156+
timeout_minutes: 5
157+
max_attempts: 5
158+
command: composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress --ignore-platform-req=php
159+
if: matrix.php == 8.3
138160

139161
- name: Execute tests
140162
run: vendor/bin/phpunit

0 commit comments

Comments
 (0)