Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
252 commits
Select commit Hold shift + click to select a range
0a90dfa
[9.x] Add support for casting arrays containing enums (#45621)
ralphjsmit Jan 19, 2023
69c0b92
Apply fixes from StyleCI
StyleCIBot Jan 19, 2023
1e7adde
unify prohibits behavior around prohibits_if (#45723)
taylorotwell Jan 19, 2023
233e682
Add ProhibitedIf class tests (#45728)
timacdonald Jan 20, 2023
666c706
Add missing validation rules. (#45717)
timacdonald Jan 20, 2023
3bf0be1
Removes dependency on bcmath (#45729)
timacdonald Jan 20, 2023
9bef2a6
[9.x] Correct misspelling (#45733)
andiLeong Jan 20, 2023
ae041a3
[9.x] fix typo (#45735)
PerryvanderMeer Jan 20, 2023
a07cc73
Retry entire test
driesvints Jan 20, 2023
03d14de
[9.x] Fix couple of params type (#45742)
andiLeong Jan 20, 2023
14268a7
Adds `null` as valid $keys type for Collection::only() (#45730)
timacdonald Jan 20, 2023
1b341b0
Add forceDeleteQuietly to SoftDeletes (#45737)
Slubby Jan 20, 2023
6a5c2ec
[9.x] Correct some misspelling (#45748)
andiLeong Jan 21, 2023
2f62992
[9.x] Allow brick/math 0.11 also (#45762)
barryvdh Jan 22, 2023
bc338cf
Add Arr::sortDesc() (#45761)
Timur11timur Jan 22, 2023
1911df0
Use `ResponseSequence::isEmpty()` (#45757)
Konafets Jan 22, 2023
112f118
Convert closures to arrow functions (#45756)
nurmuhammet-ali Jan 22, 2023
8072cb7
Fix docblock (#45749)
michaelnabil230 Jan 22, 2023
007c85b
optimize findMany of BelongsToMany (#45745)
imanghafoori1 Jan 22, 2023
6af1d94
Fix phpdoc return type of Illuminate\Database\Eloquent\Collection::fi…
hjanos1 Jan 23, 2023
afccc6a
Fix blade tag issue with nested calls. (#45764)
imanghafoori1 Jan 23, 2023
da078c0
[9.x] Ensure decimal rule handles large values (#45693)
timacdonald Jan 23, 2023
78f23c5
[9.x] CLI Prompts (#45629)
jessarcher Jan 23, 2023
2d6d5a2
[9.x] Adds `assertJsonIsArray` and `assertJsonIsObject` for TestRespo…
sethsandaru Jan 23, 2023
0bb3d76
Remove brick from CI
driesvints Jan 23, 2023
247735e
Allow use of brick/math 0.9.3 to enable compatibility with Nova 3 (#4…
colincameron Jan 23, 2023
7f60262
[9.x] Add createQuietly to HasOneOrMany (#45783)
xurshudyan Jan 24, 2023
519831d
[9.x] Fix infinite loop in blade compiler (#45780)
imanghafoori1 Jan 24, 2023
8c04967
Convert closures to arrow functions (#45777)
xurshudyan Jan 24, 2023
6edfb91
[9.x] Add validation rules: ascii_alpha, ascii_alpha_num, ascii_alpha…
fuwasegu Jan 24, 2023
b685a7a
Update array generic types to match laravel/laravel class implementat…
shauno Jan 25, 2023
1a42e08
Fix ValidationValidator not to accept terminating newline (#45790)
zonuexe Jan 25, 2023
8262d6d
[9.x] Extract status methods to traits (#45789)
timacdonald Jan 25, 2023
bbed00b
[9.x] Add "addRestoreOrCreate" extension to SoftDeletingScope (#45754)
orange-alien Jan 25, 2023
bce2223
Update outdated docblock of pluck method (#45804)
a3gh Jan 25, 2023
3689b02
Update Builder.php (#45813)
lukaskleinschmidt Jan 26, 2023
29d13c5
Fix stubs publish command generating incorrect controller stubs (#45812)
rwdevguy Jan 26, 2023
205fae4
[9.x] Remove unneeded uncountable words (#45802)
judaschwartz Jan 26, 2023
19d4866
Set return type of MailManager::createMailgunTransport to be Transpor…
jnoordsij Jan 27, 2023
b6b72b9
fix: normalize route pipeline exception (#45817)
saeedhosseiinii Jan 27, 2023
49a7588
remove `HandlesAuthorization` trait from stub (#45820)
browner12 Jan 27, 2023
cf825bb
Revert "remove `HandlesAuthorization` trait from stub (#45820)" (#45825)
taylorotwell Jan 27, 2023
f850d99
add connection established event
taylorotwell Jan 27, 2023
10097e0
Convert closures to arrow functions (#45833)
ryosuke1202 Jan 27, 2023
a9359fd
[9.x] Add forceDeleting event (#45836)
xurshudyan Jan 27, 2023
bdbd1aa
[9.x] Generic `CastsAttributes` docs (#45827)
erikgaal Jan 27, 2023
e0c5e89
fix: update assertUnauthorized method docblock
shuvroroy Jan 28, 2023
b75b574
Merge pull request #45847 from shuvroroy/fix/status-code-docblock
timacdonald Jan 29, 2023
fb77662
[9.x] Fixes for console input prompts (#45864)
lukeraymonddowning Jan 30, 2023
4f98562
[9.x] Backed enum support for @js (#45862)
nuernbergerA Jan 30, 2023
32fb78d
[9.x] Add title tag in mail template (#45859)
ankurk91 Jan 30, 2023
4a37b70
[9.x] Add methods to Collection (#45839)
xurshudyan Jan 30, 2023
159de46
[9.x] Restart syscalls for SIGALRM when worker times out a job (#45871)
amiranagram Jan 30, 2023
ce00bd4
[9.x] Fix Illuminate Filesystem replace() leaves file executable (#45…
kumarravisingh Jan 30, 2023
f064326
Apply fixes from StyleCI
StyleCIBot Jan 30, 2023
f864b92
[9.x] Add skip cancelled middleware (#45869)
morrislaptop Jan 30, 2023
846744c
[9.x] Ensure subsiquent calls to `Mailable->to()` overwrite previous …
AAllport Jan 31, 2023
e02d945
version
taylorotwell Jan 31, 2023
b47c218
[9.x] Fix LazyCollection::makeIterator() to accept non Generator Func…
fuwasegu Jan 31, 2023
9ff00b6
Apply fixes from StyleCI
StyleCIBot Jan 31, 2023
fc299c0
[9.x] Stringables for Translator class (#45874)
peterfox Jan 31, 2023
bd47325
Apply fixes from StyleCI
StyleCIBot Jan 31, 2023
221e6fb
Update facade docblocks
taylorotwell Jan 31, 2023
217e18a
[9.x] - 45782: Solve data to be dumped for separate schemes (#45805)
eduance Jan 31, 2023
33c0324
[9.x] Update changelog
TBlindaruk Jan 31, 2023
5273fac
[9.x] Add `DatabaseTruncates` trait for testing (#45726)
patrickomeara Jan 31, 2023
fb6c591
[9.x] Add @style Blade directive (#45887)
intrepidws Feb 1, 2023
c39ec48
Update facade script to guess docblock FQCNs (#45896)
timacdonald Feb 1, 2023
5ea388d
revert change
taylorotwell Feb 1, 2023
2ec7083
version
taylorotwell Feb 1, 2023
c885dbf
formatting
taylorotwell Feb 1, 2023
68a8bfc
allow scheme to be specified
taylorotwell Feb 1, 2023
2664e7f
accept optional mode in replace method
taylorotwell Feb 1, 2023
3466ed7
Update facade docblocks
taylorotwell Feb 1, 2023
393e573
Revert "Optimize destroy method (#45709)" (#45903)
taylorotwell Feb 1, 2023
3b400f7
version
taylorotwell Feb 1, 2023
209957e
Reverts https://github.com/laravel/framework/pull/45856 (#45905)
nunomaduro Feb 1, 2023
4b56a76
fix spacing (#45909)
PerryvanderMeer Feb 1, 2023
c2557ca
[9.x] Trims numeric validation values / parameters (#45912)
timacdonald Feb 2, 2023
3d92fd1
Fixed missing with validation logic (#45913)
erik-perri Feb 2, 2023
29f487f
fix typo mulitple_of (#45919)
lorenzolosa Feb 2, 2023
4f2e46c
[10.x] Random function doesn't generate evenly distributed random cha…
janh-kramer Feb 2, 2023
efcf3a6
wip
taylorotwell Feb 2, 2023
ac18940
[9.x] Fixes blade escaped tags issue (#45928)
imanghafoori1 Feb 2, 2023
5ecf12a
Apply fixes from StyleCI
StyleCIBot Feb 2, 2023
3993277
version
taylorotwell Feb 2, 2023
b3b6c6f
Fix docblock issue from #45749 (#45939)
fabio-ivona Feb 3, 2023
dc4bbd3
[9.x] Adds database query count test expectation helper (#45932)
timacdonald Feb 3, 2023
c9b36a4
Apply fixes from StyleCI
StyleCIBot Feb 3, 2023
4f6db68
[9.x] Improves `Collection::wrap` typing (#45951)
nunomaduro Feb 3, 2023
b52d660
Wrong or not enough accurate types (#45950)
Shizzen83 Feb 3, 2023
93c8c57
Apply fixes from StyleCI
StyleCIBot Feb 3, 2023
1c1e16d
Revert "Apply fixes from StyleCI"
driesvints Feb 3, 2023
db54dbc
Revert "Wrong or not enough accurate types (#45950)"
driesvints Feb 3, 2023
d113954
[9.x] Command schedule:work minor features: schedule:run output file …
ralphschindler Feb 3, 2023
490713a
[9.x] Fix: prevent duplicated content-type on HTTP client (#45960)
danilopolani Feb 4, 2023
b8b39ca
change closures function to arrow function in registerLoadEvents (#45…
milwad-dev Feb 5, 2023
d3a4cd2
[9.x] Add pending has-many-through and has-one-through builder (#45894)
timacdonald Feb 5, 2023
e6846df
[9.x] Add missing php extensions in composer (#45941)
joelharkes Feb 6, 2023
6d279f6
[9.x] Add uri templates to `Http` client (#45982)
jbrooksuk Feb 6, 2023
a9d7400
Update facade docblocks
taylorotwell Feb 6, 2023
9421fec
formatting
taylorotwell Feb 6, 2023
0583b4b
Removes duplicate returns in single relationship method
rbarden Feb 7, 2023
1f60081
Merge pull request #45991 from rbarden/duplicate-returns
timacdonald Feb 7, 2023
b32fa54
[9.x] Remove deprecation warnings in test output (#45998)
driesvints Feb 7, 2023
ba79d27
Add missing reserved word (#46001)
xurshudyan Feb 7, 2023
395f305
[9.x] pass value along to ttl callback (#46006)
dododedodonl Feb 7, 2023
e2e979f
[9.x] Make sure the lock_connection is used for schedule's withoutOve…
johanrosenson Feb 7, 2023
b811231
version
taylorotwell Feb 7, 2023
147c09a
[9.x] Replace profanity in tests (#46009)
tontonsb Feb 7, 2023
a4c9180
Clarify `$expiresAt` comment (#46010)
tillkruss Feb 7, 2023
affc051
[9.x] Update changelog
TBlindaruk Feb 7, 2023
2b77070
[9.x] Update changelog
TBlindaruk Feb 7, 2023
e0a630e
[9.x] Update changelog
TBlindaruk Feb 7, 2023
f87fb19
[9.x] Update changelog
TBlindaruk Feb 7, 2023
17c49cf
Fix docblock issue from #45749 (#46026)
renegeuze Feb 8, 2023
df18c7c
Update facade docblocks
taylorotwell Feb 8, 2023
55c1104
Update DatabaseTruncation.php (#46025)
emargareten Feb 8, 2023
3b8057c
Add methods to Enumerable contract (#46021)
xurshudyan Feb 8, 2023
4b5ef9e
fix pdo exception when rollbacking without active transaction (#46017)
khalyomede Feb 8, 2023
df696e9
Add quietly prefixed functions (#46014)
xurshudyan Feb 8, 2023
cb37b3f
fix tests
taylorotwell Feb 8, 2023
08675c1
[9.x] fix wrong return type (#46038)
salehhashemi1992 Feb 8, 2023
2248188
[9.x] Add new mailer transport for AWS SES V2 API (#45977)
jacobmllr95 Feb 8, 2023
e063e5d
Revert "Add methods to Enumerable contract (#46021)" (#46047)
driesvints Feb 9, 2023
e4358d1
Update afterPromptingForMissingArguments method (#46052)
xurshudyan Feb 9, 2023
e92cbda
Fix issue where `addSelect` may result in duplicate columns being sel…
vdlp-mw Feb 9, 2023
ebb46b8
Fixes memory leak on anonymous migrations (#46073)
nunomaduro Feb 10, 2023
8a71cd3
variable name
taylorotwell Feb 10, 2023
34471b4
[9.x] Convert closures to arrow functions (#46076)
xurshudyan Feb 10, 2023
b12d863
Accept closure in bus assertion helpers (#46075)
markwalet Feb 10, 2023
f980dff
Update facade docblocks
taylorotwell Feb 10, 2023
df863c0
[9.x] Add S3 `temporaryUploadUrl` method to AwsS3V3Adapter (#45753)
aneeskhan47 Feb 10, 2023
8a9123a
[9.x] Add index hinting support to query builder (#46063)
Feb 10, 2023
7a83606
Apply fixes from StyleCI
StyleCIBot Feb 10, 2023
48d0b26
[10.x] Change closure to arrow function in ```MessageSelector``` (Bet…
milwad-dev Feb 11, 2023
b5f3840
[9.x] Add some tests to testIntegerMethod and testFloatMethod (HttpRe…
orange-alien Feb 11, 2023
dd3abef
[9.x] Add mailer name to data for SentMessage and MessageSending even…
colq2 Feb 11, 2023
152e223
add testStringMethod to HttpRequestTest.php (#46088)
orange-alien Feb 12, 2023
d4df356
[9.x] Added --pending option to migrate:status (#46089)
Safemood Feb 12, 2023
c72459a
[9.x] Avoid mutating the `$expectedLitener` between loops on `Event::…
Feb 13, 2023
fcb6558
[9.x] Fix race condition in locks issued by the file cache driver (#4…
bytestream Feb 13, 2023
eb85cd9
version
taylorotwell Feb 14, 2023
3bbc6c5
[9.x] Update changelog
TBlindaruk Feb 14, 2023
3300fed
[9.x] Use secure randomness in Arr:random and Arr:shuffle (#46105)
valorin Feb 16, 2023
cd9f8cb
wip
driesvints Feb 17, 2023
d5e534f
[9.x] fix: docblock of GuardHelpers::$user (#46156)
villfa Feb 17, 2023
1e66370
Update Mail phpdoc (#46173)
bytestream Feb 20, 2023
edbc590
version
taylorotwell Feb 21, 2023
0c6cae0
fix empty
taylorotwell Feb 21, 2023
cf021e5
version
taylorotwell Feb 21, 2023
162f3d2
Add test for multi-byte chars in blade (#46206)
imanghafoori1 Feb 21, 2023
a74ca47
[9.x] Update CHANGELOG.md
TBlindaruk Feb 21, 2023
24e631f
[9.x] Update CHANGELOG.md
TBlindaruk Feb 21, 2023
cf3eb90
revert random change
taylorotwell Feb 22, 2023
1539764
Apply fixes from StyleCI
StyleCIBot Feb 22, 2023
7a5774a
wip
taylorotwell Feb 22, 2023
0045c8a
[9.x] Fixes constructable migrations (#46223)
nunomaduro Feb 22, 2023
9239128
version
taylorotwell Feb 22, 2023
344c0d8
[9.x] Fix expectsDatabaseQueryCount() $connection parameter (#46228)
giggsey Feb 23, 2023
cadf2a2
[9.x] Update CHANGELOG.md
TBlindaruk Feb 28, 2023
dad0986
Update facade docblocks
TBlindaruk Feb 28, 2023
5329767
[9.x] Update CHANGELOG.md
TBlindaruk Feb 28, 2023
ab7586b
Merge remote-tracking branch 'origin/9.x' into 9.x
TBlindaruk Feb 28, 2023
46199b6
[9.x] Add assertUnsupportedMediaType method for assertion Unsupported…
shamimulalam Mar 10, 2023
7284caf
Revert "[9.x] Add assertUnsupportedMediaType method for assertion Uns…
taylorotwell Mar 10, 2023
b873833
fix namespace (#46428)
macbookandrew Mar 10, 2023
5ad34f3
CS tweaks
GrahamCampbell Mar 12, 2023
4c63404
Merge branch '8.x' into 9.x
GrahamCampbell Mar 12, 2023
1b52a87
CS fixes
GrahamCampbell Mar 13, 2023
2d6f5cb
Merge branch '8.x' into 9.x
GrahamCampbell Mar 13, 2023
76b276d
CS fixes
GrahamCampbell Mar 13, 2023
d855473
Update facade docblocks
GrahamCampbell Mar 13, 2023
1e76779
Fix facade generation script to insert a blank phpdoc line between di…
GrahamCampbell Mar 13, 2023
c6bcfc8
Apply fixes from StyleCI
StyleCIBot Mar 13, 2023
e081830
[9.x] PHP 8.0 fix for Closure jobs (#46505)
bert-w Mar 17, 2023
5ab0bca
Improve logfile lines (#46531)
bert-w Mar 21, 2023
8dee8c0
only rely on app's config() if app is set (#46529)
cosmastech Mar 21, 2023
4ede6e3
[9.x] Fix preg_split error when there is a slash in the attribute (#4…
NeonGC Mar 22, 2023
e14d28c
wip
taylorotwell Mar 28, 2023
775eb8a
[9.x] Update CHANGELOG.md
TBlindaruk Mar 29, 2023
d68fefe
[9.x] Test Improvements (#46658)
crynobone Apr 2, 2023
c0d09c5
Removes method parameter (#46677)
drradao Apr 4, 2023
fca8835
allows Event::assertListening to check for invokable event listeners …
cosmastech Apr 4, 2023
4307b85
fix Cache::spy with Cache::get (#46689)
coleshirley Apr 5, 2023
6114330
[9.x] Return non-zero exit code for uncaught exceptions (#46541)
bert-w Apr 6, 2023
2a6713f
[9.x] Release lock for job implementing `ShouldBeUnique` that is disp…
cosmastech Apr 18, 2023
16454f1
version
taylorotwell Apr 18, 2023
9747b8c
[9.x] Update CHANGELOG.md
TBlindaruk Apr 18, 2023
0c9b3e9
Make rules method in FormRequest optional (#46846)
driesvints Apr 21, 2023
675ea86
version
taylorotwell Apr 25, 2023
09ca3f2
[9.x] Update CHANGELOG.md
TBlindaruk Apr 25, 2023
76d7f37
fixes HTTP\Client\Response@object() to set a return type of object or…
cosmastech May 1, 2023
e4c24f9
Merge pull request #46926 from cosmastech/fix/http-object-return-type
nunomaduro May 1, 2023
4d48988
Add some missing return type PHPdoc (#46961)
wouterj May 4, 2023
f43b251
Fixed escaped String for JSON_CONTAINS (#47244)
maxsky May 29, 2023
07faff7
[9.x] Send along value to InvalidPayloadException (#47223)
driesvints May 30, 2023
d4c62cc
formatting
taylorotwell May 30, 2023
d7ff371
[9.x] Update CHANGELOG.md
TBlindaruk May 30, 2023
65f3a2e
[9.x] Fixes usage of `Redis::many()` with empty array (#47307)
nunomaduro Jun 1, 2023
4c932c0
Update facade docblocks
taylorotwell Jun 1, 2023
5deb049
Fix PHPStan description of Closure returning a union type (#47352)
ondrejmirtes Jun 5, 2023
965d77e
dont use locks when using dynamo
taylorotwell Jun 7, 2023
c512ece
version
taylorotwell Jun 8, 2023
99fa2e3
CS fixes
GrahamCampbell Jun 11, 2023
cc90bb9
Merge branch '8.x' into 9.x
GrahamCampbell Jun 11, 2023
9f029b1
CS fixes
GrahamCampbell Jun 11, 2023
e217dca
Fixed invalid phpdoc in `TestResponse`
GrahamCampbell Jun 11, 2023
df9100e
[9.x] Fix SES V2 Transport "reply to" addresses (#47522)
jacobmllr95 Jun 21, 2023
a6ed3e6
[9.x] Fixes unable to use `trans()->has()` on JSON language files. (#…
crynobone Jun 27, 2023
858add2
version
taylorotwell Jun 27, 2023
5f70f59
Fix CI for DynamoDB (#47656)
GrahamCampbell Jul 4, 2023
bccd884
Pin `amazon/dynamodb-local` version in `docker-compose.yml` (#47657)
GrahamCampbell Jul 4, 2023
4b8fd76
version
taylorotwell Jul 25, 2023
6517f5d
Update CHANGELOG.md
driesvints Jul 25, 2023
55deebc
[9.x] Back porting #47838 (#47840)
timacdonald Jul 26, 2023
8bfd22b
patch
taylorotwell Jul 26, 2023
aeb8205
[9.x] Normalise predis command argument where it maybe an object. (…
crynobone Jul 31, 2023
4655805
fix: backported #47914 (#47919)
ImJustToNy Aug 1, 2023
4e591ce
version
taylorotwell Aug 1, 2023
e9ad8c3
Update ServeCommand.php (#47931)
Aug 2, 2023
5366a90
patch
taylorotwell Aug 2, 2023
75d317a
[9.x] Improve decimal shape validation (#47957)
timacdonald Aug 7, 2023
e3350e8
patch
taylorotwell Aug 8, 2023
4689321
Support for phpredis 6.0.0 (#48362) (#48380)
MichalHubatka Oct 3, 2023
850d3c3
wip
taylorotwell Oct 3, 2023
082345d
patch
taylorotwell Oct 3, 2023
dc2e925
Apply fixes from StyleCI
StyleCIBot Dec 25, 2023
695097c
check if running in console
taylorotwell Nov 12, 2024
eded6bd
check if running in console
taylorotwell Nov 12, 2024
a069cf1
version
taylorotwell Nov 12, 2024
83e6467
version
taylorotwell Nov 12, 2024
f1877e7
use isset
taylorotwell Nov 12, 2024
d60e9f3
cloud env
taylorotwell Nov 20, 2024
77a9ac5
cloud env
taylorotwell Nov 20, 2024
d841a22
version
taylorotwell Nov 20, 2024
41c812b
version
taylorotwell Nov 20, 2024
7bc897a
backport cloud fixes
taylorotwell Dec 9, 2024
eab1e93
backport cloud support
taylorotwell Dec 9, 2024
befba4a
update predis connector
taylorotwell Jan 21, 2025
0d244f0
update version
taylorotwell Jan 21, 2025
2bb6835
backport cloud stuff
taylorotwell Jan 31, 2025
c237907
Apply fixes from StyleCI
StyleCIBot Jan 31, 2025
8046e4e
backport emulate prepares
taylorotwell Feb 11, 2025
863d928
StyleCI fixes
GrahamCampbell Mar 24, 2025
8762899
Merge branch '8.x' into 9.x
GrahamCampbell Mar 24, 2025
351dad5
Take out changes from 8.x that Taylor removed in 9.x caused by last m…
GrahamCampbell Mar 24, 2025
535733e
StyleCI fixes
GrahamCampbell Mar 24, 2025
9c385c1
update trusted proxies
taylorotwell Sep 30, 2025
6055d95
verison
taylorotwell Sep 30, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- 6379:6379
options: --entrypoint redis-server
dynamodb:
image: amazon/dynamodb-local:latest
image: amazon/dynamodb-local:1.22.0
ports:
- 8888:8000

Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
with:
timeout_minutes: 5
max_attempts: 5
command: composer require brick/math:^0.9.3 symfony/css-selector:^6.0 --no-interaction --no-update
command: composer require symfony/css-selector:^6.0 --no-interaction --no-update
if: matrix.php >= 8.1

- name: Set Minimum PHP 8.2 Versions
Expand Down Expand Up @@ -150,7 +150,7 @@ jobs:
with:
timeout_minutes: 5
max_attempts: 5
command: composer require brick/math:~0.9.3 symfony/css-selector:~6.0 --no-interaction --no-update
command: composer require symfony/css-selector:~6.0 --no-interaction --no-update
if: matrix.php >= 8.1

- name: Set Minimum PHP 8.2 Versions
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/.phpunit.cache
/vendor
composer.phar
composer.lock
Expand Down
197 changes: 196 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,201 @@
# Release Notes for 9.x

## [Unreleased](https://github.com/laravel/framework/compare/v9.48.0...9.x)
## [Unreleased](https://github.com/laravel/framework/compare/v9.52.10...9.x)

## [v9.52.10](https://github.com/laravel/framework/compare/v9.52.9...v9.52.10) - 2023-06-27

* Fix SES V2 Transport "reply to" addresses by @jacobmllr95 in https://github.com/laravel/framework/pull/47522
* Fixes unable to use `trans()->has()` on JSON language files by @crynobone in https://github.com/laravel/framework/pull/47582

## [v9.52.9](https://github.com/laravel/framework/compare/v9.52.8...v9.52.9) - 2023-06-08

* Fixes usage of `Redis::many()` with empty array by @nunomaduro in https://github.com/laravel/framework/pull/47307
* Fix PHPStan description of Closure returning a union type by @ondrejmirtes in https://github.com/laravel/framework/pull/47352

## [v9.52.8](https://github.com/laravel/framework/compare/v9.52.7...v9.52.8) - 2023-05-30

### Fixed
- Fixed escaped String for JSON_CONTAINS ([#47244](https://github.com/laravel/framework/pull/47244))

### Changed
- Send along value to InvalidPayloadException ([#47223](https://github.com/laravel/framework/pull/47223))


## [v9.52.7](https://github.com/laravel/framework/compare/v9.52.6...v9.52.7) - 2023-04-25

### Changed
- Make rules method in FormRequest optional ([#46846](https://github.com/laravel/framework/pull/46846))


## [v9.52.6](https://github.com/laravel/framework/compare/v9.52.5...v9.52.6) - 2023-04-18

### Fixed
- Fixed Cache::spy incompatibility with Cache::get ([#46689](https://github.com/laravel/framework/pull/46689))

### Changed
- Remove unnecessary parameters in creatable() and destroyable() methods in Illuminate/Routing/PendingSingletonResourceRegistration class ([#46677](https://github.com/laravel/framework/pull/46677))
- Allow Event::assertListening to check for invokable event listeners ([#46683](https://github.com/laravel/framework/pull/46683))
- Return non-zero exit code for uncaught exceptions ([#46541](https://github.com/laravel/framework/pull/46541))
- Release lock for job implementing ShouldBeUnique that is dispatched afterResponse() ([#46806](https://github.com/laravel/framework/pull/46806))


## [v9.52.5](https://github.com/laravel/framework/compare/v9.52.4...v9.52.5) - 2023-02-25

### Fixed
- Fixed `Illuminate/Foundation/Testing/Concerns/InteractsWithDatabase::expectsDatabaseQueryCount()` $connection parameter ([#46228](https://github.com/laravel/framework/pull/46228))
- PHP 8.0 fix for Closure jobs ([#46505](https://github.com/laravel/framework/pull/46505))
- Fix preg_split error when there is a slash in the attribute ([#46549](https://github.com/laravel/framework/pull/46549))

### Changed
- Allow WithFaker to be used when app is not bound ([#46529](https://github.com/laravel/framework/pull/46529))


## [v9.52.4](https://github.com/laravel/framework/compare/v9.52.3...v9.52.4) - 2023-02-22

### Fixed
- Fixes constructable migrations ([#46223](https://github.com/laravel/framework/pull/46223))


## [v9.52.3](https://github.com/laravel/framework/compare/v9.52.2...v9.52.3) - 2023-02-22

### Reverted
- Revert changes from `Arr::random()` ([cf3eb90](https://github.com/laravel/framework/commit/cf3eb90a6473444bb7a78d1a3af1e9312a62020d))


## [v9.52.2](https://github.com/laravel/framework/compare/v9.52.1...v9.52.2) - 2023-02-21

### Fixed
- Fixed `Illuminate/Collections/Arr::shuffle()` with empty array ([0c6cae0](https://github.com/laravel/framework/commit/0c6cae0ef647158b9554cad05ff39db7e7ad0d33))


## [v9.52.1](https://github.com/laravel/framework/compare/v9.52.0...v9.52.1) - 2023-02-21

### Changed
- Use secure randomness in Arr:random and Arr:shuffle ([#46105](https://github.com/laravel/framework/pull/46105))


## [v9.52.0](https://github.com/laravel/framework/compare/v9.51.0...v9.52.0) - 2023-02-14

### Added
- Added methods to Enumerable contract ([#46021](https://github.com/laravel/framework/pull/46021))
- Added new mailer transport for AWS SES V2 API ([#45977](https://github.com/laravel/framework/pull/45977))
- Add S3 temporaryUploadUrl method to AwsS3V3Adapter ([#45753](https://github.com/laravel/framework/pull/45753))
- Add index hinting support to query builder ([#46063](https://github.com/laravel/framework/pull/46063))
- Add mailer name to data for SentMessage and MessageSending events ([#46079](https://github.com/laravel/framework/pull/46079))
- Added --pending option to migrate:status ([#46089](https://github.com/laravel/framework/pull/46089))

### Fixed
- Fixed pdo exception when rollbacking without active transaction ([#46017](https://github.com/laravel/framework/pull/46017))
- Fix duplicated columns on select ([#46049](https://github.com/laravel/framework/pull/46049))
- Fixes memory leak on anonymous migrations ([№46073](https://github.com/laravel/framework/pull/46073))
- Fixed race condition in locks issued by the file cache driver ([#46011](https://github.com/laravel/framework/pull/46011))

### Changed
- Allow choosing tables to truncate in `Illuminate/Foundation/Testing/DatabaseTruncation::truncateTablesForConnection()` ([#46025](https://github.com/laravel/framework/pull/46025))
- Update afterPromptingForMissingArguments method ([#46052](https://github.com/laravel/framework/pull/46052))
- Accept closure in bus assertion helpers ([#46075](https://github.com/laravel/framework/pull/46075))
- Avoid mutating the $expectedLitener between loops on Event::assertListening ([#46095](https://github.com/laravel/framework/pull/46095))


## [v9.51.0](https://github.com/laravel/framework/compare/v9.50.2...v9.51.0) - 2023-02-07

### Added
- Added `Illuminate/Foundation/Testing/Concerns/InteractsWithDatabase::expectsDatabaseQueryCount()` ([#45932](https://github.com/laravel/framework/pull/45932))
- Added pending has-many-through and has-one-through builder ([#45894](https://github.com/laravel/framework/pull/45894))
- Added `Illuminate/Http/Client/PendingRequest::withUrlParameters()` ([#45982](https://github.com/laravel/framework/pull/45982))

### Fixed
- Fix: prevent duplicated content-type on HTTP client ([#45960](https://github.com/laravel/framework/pull/45960))
- Add missing php extensions in composer ([#45941](https://github.com/laravel/framework/pull/45941))

### Changed
- Command schedule:work minor features: schedule:run output file & environment specific verbosity ([#45949](https://github.com/laravel/framework/pull/45949))
- Added missing self reserved word to reservedNames array in `Illuminate/Console/GeneratorCommand.php` ([#46001](https://github.com/laravel/framework/pull/46001))
- pass value along to ttl callback in `Illuminate/Cache/Repository::remember()` ([#46006](https://github.com/laravel/framework/pull/46006))
- Make sure the lock_connection is used for schedule's withoutOverlapping() ([#45963](https://github.com/laravel/framework/pull/45963))


## [v9.50.2](https://github.com/laravel/framework/compare/v9.50.1...v9.50.2) - 2023-02-02

### Fixed
- Fixed missing_with and missing_with_all validation ([#45913](https://github.com/laravel/framework/pull/45913))
- Fixes blade escaped tags issue ([#45928](https://github.com/laravel/framework/pull/45928))

### Changed
- Trims numeric validation values / parameters ([#45912](https://github.com/laravel/framework/pull/45912))
- Random function doesn't generate evenly distributed random chars ([#45916](https://github.com/laravel/framework/pull/45916))


## [v9.50.1](https://github.com/laravel/framework/compare/v9.50.0...v9.50.1) - 2023-02-01

### Reverted
- Reverted ["Optimize destroy method"](https://github.com/laravel/framework/pull/45709) ([#45903](https://github.com/laravel/framework/pull/45903))

### Changed
- Allow scheme to be specified in `Illuminate/Mail/MailManager::createSmtpTransport()` ([68a8bfc](https://github.com/laravel/framework/commit/68a8bfc3ab758962c8f050160ec32833dc12e467))
- Accept optional mode in `Illuminate/Filesystem/Filesystem::replace()` ([2664e7f](https://github.com/laravel/framework/commit/2664e7fcdfe3a290462ae8e326ba79a17c747c1e))


## [v9.50.0](https://github.com/laravel/framework/compare/v9.49.0...v9.50.0) - 2023-02-01

### Added
- Added `Illuminate/Translation/Translator::stringable()` ([#45874](https://github.com/laravel/framework/pull/45874))
- Added `Illuminate/Foundation/Testing/DatabaseTruncation` ([#45726](https://github.com/laravel/framework/pull/45726))
- Added @style Blade directive ([#45887](https://github.com/laravel/framework/pull/45887))

### Reverted
- Reverted: ["Fix Illuminate Filesystem replace() leaves file executable"](https://github.com/laravel/framework/pull/45856) ([5ea388d](https://github.com/laravel/framework/commit/5ea388d7fe6f786b6dbcb34e0b52341c0b38ad7e))

### Fixed
- Fixed LazyCollection::makeIterator() to accept non Generator Function ([#45881](https://github.com/laravel/framework/pull/45881))

### Changed
- Solve data to be dumped for separate schemes ([#45805](https://github.com/laravel/framework/pull/45805))


## [v9.49.0](https://github.com/laravel/framework/compare/v9.48.0...v9.49.0) - 2023-01-31

### Added
- Added `Illuminate/Database/Schema/ForeignKeyDefinition::noActionOnDelete()` ([#45712](https://github.com/laravel/framework/pull/45712))
- Added new throw helper methods to the HTTP Client ([#45704](https://github.com/laravel/framework/pull/45704))
- Added configurable timezone support for WorkCommand output timestamps ([#45722](https://github.com/laravel/framework/pull/45722))
- Added support for casting arrays containing enums ([#45621](https://github.com/laravel/framework/pull/45621))
- Added "missing" validation rules ([#45717](https://github.com/laravel/framework/pull/45717))
- Added `/Illuminate/Database/Eloquent/SoftDeletes::forceDeleteQuietly()` ([#45737](https://github.com/laravel/framework/pull/45737))
- Added `Illuminate/Collections/Arr::sortDesc()` ([#45761](https://github.com/laravel/framework/pull/45761))
- Added CLI Prompts ([#45629](https://github.com/laravel/framework/pull/45629), [#45864](https://github.com/laravel/framework/pull/45864))
- Adds assertJsonIsArray and assertJsonIsObject for TestResponse ([#45731](https://github.com/laravel/framework/pull/45731))
- Added `Illuminate/Database/Eloquent/Relations/HasOneOrMany::createQuietly()` ([#45783](https://github.com/laravel/framework/pull/45783))
- Add validation rules: ascii_alpha, ascii_alpha_num, ascii_alpha_dash ([#45769](https://github.com/laravel/framework/pull/45769))
- Extract status methods to traits ([#45789](https://github.com/laravel/framework/pull/45789))
- Add "addRestoreOrCreate" extension to SoftDeletingScope ([#45754](https://github.com/laravel/framework/pull/45754))
- Added connection established event ([f850d99](https://github.com/laravel/framework/commit/f850d99c50d173189ece2bb37b6c7ddcb456f1f9))
- Add forceDeleting event to models ([#45836](https://github.com/laravel/framework/pull/45836))
- Add title tag in mail template ([#45859](https://github.com/laravel/framework/pull/45859))
- Added new methods to Collection ([#45839](https://github.com/laravel/framework/pull/45839))
- Add skip cancelled middleware ([#45869](https://github.com/laravel/framework/pull/45869))

### Fixed
- Fix flushdb on cluster for `PredisClusterConnection.php` ([#45544](https://github.com/laravel/framework/pull/45544))
- Fix blade tag issue with nested calls ([#45764](https://github.com/laravel/framework/pull/45764))
- Fix infinite loop in blade compiler ([#45780](https://github.com/laravel/framework/pull/45780))
- Fix ValidationValidator not to accept terminating newline ([#45790](https://github.com/laravel/framework/pull/45790))
- Fix stubs publish command generating incorrect controller stubs ([#45812](https://github.com/laravel/framework/pull/45812))
- fix: normalize route pipeline exception ([#45817](https://github.com/laravel/framework/pull/45817))
- Fix Illuminate Filesystem replace() leaves file executable ([#45856](https://github.com/laravel/framework/pull/45856))

### Changed
- Ensures channel name matches from start of string ([#45692](https://github.com/laravel/framework/pull/45692))
- Replace raw invisible characters in regex expressions with counterpart Unicode regex notations ([#45680](https://github.com/laravel/framework/pull/45680))
- Optimize destroy method ([#45709](https://github.com/laravel/framework/pull/45709))
- Unify prohibits behavior around prohibits_if ([#45723](https://github.com/laravel/framework/pull/45723))
- Removes dependency on bcmath ([#45729](https://github.com/laravel/framework/pull/45729))
- Allow brick/math 0.11 also ([#45762](https://github.com/laravel/framework/pull/45762))
- Optimize findMany of BelongsToMany ([#45745](https://github.com/laravel/framework/pull/45745))
- Ensure decimal rule handles large values ([#45693](https://github.com/laravel/framework/pull/45693))
- Backed enum support for @js ([#45862](https://github.com/laravel/framework/pull/45862))
- Restart syscalls for SIGALRM when worker times out a job ([#45871](https://github.com/laravel/framework/pull/45871))
- Ensure subsiquent calls to Mailable->to() overwrite previous entries ([#45885](https://github.com/laravel/framework/pull/45885))


## [v9.48.0](https://github.com/laravel/framework/compare/v9.47.0...v9.48.0) - 2023-01-17
Expand Down
50 changes: 36 additions & 14 deletions bin/facades.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
/**
{$methods->join(PHP_EOL)}
*
{$proxies->map(fn ($class) => " * @see {$class}")->merge($directMixins->map(fn ($class) => " * @mixin {$class}"))->join(PHP_EOL)}
{$proxies->map(fn ($class) => " * @see {$class}")->merge($proxies->isNotEmpty() && $directMixins->isNotEmpty() ? [' *'] : [])->merge($directMixins->map(fn ($class) => " * @mixin {$class}"))->join(PHP_EOL)}
*/
PHP;

Expand Down Expand Up @@ -263,24 +263,28 @@ function resolveDocblockTypes($method, $typeNode)
return (string) $typeNode;
}

if (class_exists($typeNode->name)) {
return (string) $typeNode;
if ($typeNode->name === 'class-string') {
return 'string';
}

if (interface_exists($typeNode->name)) {
return (string) $typeNode;
}
$guessedFqcn = resolveClassImports($method->getDeclaringClass())->get($typeNode->name) ?? '\\'.$method->getDeclaringClass()->getNamespaceName().'\\'.$typeNode->name;

if (enum_exists($typeNode->name)) {
return (string) $typeNode;
}
foreach ([$typeNode->name, $guessedFqcn] as $name) {
if (class_exists($name)) {
return (string) $name;
}

if (isKnownOptionalDependency($typeNode->name)) {
return (string) $typeNode;
}
if (interface_exists($name)) {
return (string) $name;
}

if ($typeNode->name === 'class-string') {
return 'string';
if (enum_exists($name)) {
return (string) $name;
}

if (isKnownOptionalDependency($name)) {
return (string) $name;
}
}

return handleUnknownIdentifierType($method, $typeNode);
Expand Down Expand Up @@ -628,6 +632,24 @@ function resolveParameters($method)
return collect($method->getParameters())->merge($dynamicParameters);
}

/**
* Resolve the classes imports.
*
* @param \ReflectionClass $class
* @return \Illuminate\Support\Collection<string, class-string>
*/
function resolveClassImports($class)
{
return Str::of(file_get_contents($class->getFileName()))
->explode(PHP_EOL)
->take($class->getStartLine() - 1)
->filter(fn ($line) => preg_match('/^use [A-Za-z0-9\\\\]+( as [A-Za-z0-9]+)?;$/', $line) === 1)
->map(fn ($line) => Str::of($line)->after('use ')->before(';'))
->mapWithKeys(fn ($class) => [
($class->contains(' as ') ? $class->after(' as ') : $class->classBasename())->toString() => $class->start('\\')->before(' as ')->toString(),
]);
}

/**
* Resolve the default value for the parameter.
*
Expand Down
19 changes: 14 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,19 @@
],
"require": {
"php": "^8.0.2",
"ext-ctype": "*",
"ext-filter": "*",
"ext-hash": "*",
"ext-mbstring": "*",
"ext-openssl": "*",
"brick/math": "^0.10.2",
"doctrine/inflector": "^2.0",
"ext-session": "*",
"ext-tokenizer": "*",
"brick/math": "^0.9.3|^0.10.2|^0.11",
"doctrine/inflector": "^2.0.5",
"dragonmantank/cron-expression": "^3.3.2",
"egulias/email-validator": "^3.2.1|^4.0",
"fruitcake/php-cors": "^1.2",
"guzzlehttp/uri-template": "^1.0",
"laravel/serializable-closure": "^1.2.2",
"league/commonmark": "^2.2.1",
"league/flysystem": "^3.8.0",
Expand Down Expand Up @@ -83,6 +89,7 @@
"illuminate/view": "self.version"
},
"require-dev": {
"ext-gmp": "*",
"ably/ably-php": "^1.0",
"aws/aws-sdk-php": "^3.235.5",
"doctrine/dbal": "^2.13.3|^3.1.4",
Expand All @@ -94,7 +101,7 @@
"league/flysystem-read-only": "^3.3",
"league/flysystem-sftp-v3": "^3.0",
"mockery/mockery": "^1.5.1",
"orchestra/testbench-core": "^7.16",
"orchestra/testbench-core": "^7.24",
"pda/pheanstalk": "^4.0",
"phpstan/phpdoc-parser": "^1.15",
"phpstan/phpstan": "^1.4.7",
Expand Down Expand Up @@ -140,11 +147,13 @@
}
},
"suggest": {
"ext-bcmath": "Required to use the multiple_of validation rule.",
"ext-apcu": "Required to use the APC cache driver.",
"ext-fileinfo": "Required to use the Filesystem class.",
"ext-ftp": "Required to use the Flysystem FTP driver.",
"ext-gd": "Required to use Illuminate\\Http\\Testing\\FileFactory::image().",
"ext-memcached": "Required to use the memcache cache driver.",
"ext-pcntl": "Required to use all features of the queue worker.",
"ext-pcntl": "Required to use all features of the queue worker and console signal trapping.",
"ext-pdo": "Required to use all database features.",
"ext-posix": "Required to use all features of the queue worker.",
"ext-redis": "Required to use the Redis cache and queue drivers (^4.0|^5.0).",
"ably/ably-php": "Required to use the Ably broadcast driver (^1.0).",
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3'
services:
dynamodb:
image: amazon/dynamodb-local
image: amazon/dynamodb-local:1.22.0
ports:
- "8000:8000"
command: ["-jar", "DynamoDBLocal.jar", "-sharedDb", "-inMemory"]
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Auth/Access/AuthorizationException.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class AuthorizationException extends Exception
* @param \Throwable|null $previous
* @return void
*/
public function __construct($message = null, $code = null, Throwable $previous = null)
public function __construct($message = null, $code = null, ?Throwable $previous = null)
{
parent::__construct($message ?? 'This action is unauthorized.', 0, $previous);

Expand Down
Loading