Kevin Pfeifer
|
eacf7661fe
backport https detector from 5.x
|
3 years ago |
ADmad
|
513c2835b1
Throw an exception for invalid request detector types
|
3 years ago |
Mark Story
|
9d3a9230b3
Fix request->is(xml) returning true for HTML requests (#16585)
|
3 years ago |
Mark Story
|
888226abfa
Use ContentTypeNegotiation in is() detectors as well.
|
4 years ago |
Mark Story
|
4092ee1df8
Move acceptLanguage to ContentTypeNegotiation as well
|
4 years ago |
Mark Story
|
45ce584449
Apply suggestions from code review
|
4 years ago |
Mark Story
|
7b9c2b5527
Extract duplicate logic out of ServerRequest
|
4 years ago |
mscherer
|
48029722bc
Improve assoc array docs
|
4 years ago |
Mark Story
|
7ba036879d
Merge branch '4.next' into 4.next-documentation
|
4 years ago |
mscherer
|
ff0d53b8cd
Fix up doc typos or missing class links.
|
4 years ago |
mscherer
|
558a55fbc5
Fix IDE found issues/smells.
|
4 years ago |
ADmad
|
c34dd94d20
Merge pull request #15916 from cakephp/4.next-const
|
4 years ago |
mscherer
|
8631659c77
Fix up types in arrays of var def
|
4 years ago |
ADmad
|
2c05469eaf
Don't use strlen() to check for empty/non empty string.
|
4 years ago |
ADmad
|
12ec1bb1b5
Rename argument to more descriptive name.
|
4 years ago |
mscherer
|
c4231248f8
Fix some grammar topics.
|
4 years ago |
mscherer
|
060ecc9e1b
Document the arrays more precisely.
|
4 years ago |
mscherer
|
bb4d2c947c
Document the assoc arrays as per their string key.
|
4 years ago |
Corey Taylor
|
42f18b7794
Convert single type[] array hints to array<type> hints
|
4 years ago |
Corey Taylor
|
aa0df760c1
Update order of var, param and return tag type hints. Convert all type[] hints to array<type>.
|
4 years ago |
Corey Taylor
|
fd514ffb40
Normalize order of union types in docblocks
|
4 years ago |
ADmad
|
e0a4765c1b
Merge branch 'master' into 4.next
|
4 years ago |
ADmad
|
1bb88a549b
Fix errors reported by psalm.
|
4 years ago |
ADmad
|
f4ea4574c8
Use null coalescing operator where possible.
|
5 years ago |
mirko-pagliai
|
31e4ca8186
fixed `ServerRequest::is()`
|
5 years ago |
ADmad
|
f81cf2fed5
Make FlashMessage instance available through a ServerRequest.
|
5 years ago |
Corey Taylor
|
d43092a938
Replace all uses of Core\Exception\Exception with Core\Exception\CakeException
|
5 years ago |
Corey Taylor
|
7013b5ed8e
Deprecate Exception::responseHeader() in favor of HttpException
|
5 years ago |
ADmad
|
f0b6106c03
Avoid use of call_user_func() and call_user_func_array().
|
5 years ago |
ADmad
|
a3216cf58d
Merge branch 'master' into 4.next
|
5 years ago |