kenjis
d1f1f6b242
fix: $this->request->setLocale()
does not work for lang()
in 404 controller
...
Fixes #5261
2021-11-01 14:04:14 +09:00
Lonnie Ezell
09609d5ab0
New mock() test helper and expanded MockCache with assertions.
2021-09-07 22:10:15 +08:00
John Paul E. Balandan, CPA
b7ec33cd56
Remove superfluous phpdoc tags ( #4941 )
2021-07-24 19:30:51 +08:00
John Paul E. Balandan, CPA
0ee2b2f922
Add file-level headers
2021-07-19 23:04:56 +08:00
John Paul E. Balandan, CPA
a4fe347638
Add ?
to nullable typehints
2021-07-09 23:13:08 +08:00
John Paul E. Balandan, CPA
2b78883c06
Align phpdocs
2021-06-08 12:11:23 +08:00
John Paul E. Balandan, CPA
4129b40cb6
Use short forms of param and return types
2021-06-08 11:46:56 +08:00
John Paul E. Balandan, CPA
d030096732
Enable braces
2021-06-08 10:15:25 +08:00
John Paul E. Balandan, CPA
7b37453fcc
Enable blank_line_before_statement
fixer
2021-06-08 01:26:32 +08:00
John Paul E. Balandan, CPA
e04d17b390
Convert tabs to 4 spaces ( #4771 )
2021-06-04 22:51:52 +08:00
Abdul Malik Ikhsan
a4b95a9c52
[Test] Use @codeCoverageIgnore for deprecated class/method
2021-04-29 18:46:24 +07:00
mostafakhudair
d1d6a5be55
Change Entity Namespace
2021-04-18 17:03:36 +02:00
John Paul E. Balandan, CPA
c92d47e3b8
Use message directly if intl is not available
2021-04-11 01:53:16 +08:00
John Paul E. Balandan, CPA
ed315cec08
Merge pull request #4357 from kenjis/fix-new-static
...
Remove PHPStan ignoreErrors: Unsafe usage of new static()
2021-03-15 22:24:29 +08:00
Andrey Pyzhikov
57a41d3312
Renamed CastException methods names
2021-03-03 01:00:10 +08:00
Andrey Pyzhikov
79c989bc9c
Indents and names
2021-03-02 23:56:09 +08:00
Andrey Pyzhikov
db80bb69ca
Corrections requested at review
2021-03-02 23:11:05 +08:00
kenjis
ef0ae36f2f
style: fix coding style
2021-03-01 16:39:00 +09:00
kenjis
542ac24693
fix: make the constructor to final in DebugTraceableTrait
2021-03-01 16:39:00 +09:00
Andrey Pyzhikov
71f329d0b1
Alternative Entity cast
2021-02-19 14:48:39 +08:00
John Paul E. Balandan, CPA
958a564f17
Use trait to tweak file and line of exceptions ( #4118 )
2021-01-22 15:09:48 +08:00
Nalaka Prasad
4d0e51abb0
Fix few typos.
2021-01-17 18:07:32 +05:30
John Paul E. Balandan, CPA
32978d2598
Fix whitespaces for system/
2020-11-19 01:25:50 +08:00
MGatner
13a57e2b66
Improve error handling
2020-11-08 16:22:57 +00:00
John Paul E. Balandan, CPA
81888e2545
Remove package tag
2020-10-28 19:28:07 +08:00
John Paul E. Balandan, CPA
c3dcd05e35
Use short notices for header docblock
2020-10-25 21:38:43 +08:00
John Paul E. Balandan, CPA
7dd927fbe3
Enforce consistent file-level docblock across all system files
2020-10-25 21:29:13 +08:00
Abdul Malik Ikhsan
b8ad7782ab
apply rector: set auto import FQCN
2020-10-11 13:22:34 +07:00
John Paul E. Balandan, CPA
fb2f413087
Force devs to turn off zlib.output_compression ini
2020-05-13 19:56:53 +08:00
Abdul Malik Ikhsan
3546cf9f4e
make named constructor in Exception consistent: use return instead of throw
2020-04-06 20:07:17 +07:00
Abdul Malik Ikhsan
5db4c2ba54
clean up dead code detected by rectorphp/rector
2020-03-28 01:43:11 +07:00
Jim Parry
0711bf2a9b
Merge branch 'develop' into feature/resource
2019-08-13 00:48:58 -07:00
Lonnie Ezell
290c9f6905
Merge pull request #2065 from codeigniter4/migrationsutc
...
WIP: Migration updates for more wholistic functionality
2019-08-11 23:14:45 -05:00
Jim Parry
8d6110cc47
Merge branch 'develop' into feature/resource
2019-07-03 01:37:15 -07:00
Lonnie Ezell
be3dff6978
Remove sequential migration file support.
2019-06-20 23:46:22 -05:00
MGatner
ef049573bf
Add exception for missing/invalid dateFormat
2019-06-12 12:05:46 -04:00
Lonnie Ezell
e0f21699ca
Skip tests that require XDebug when not active.
2019-05-12 23:53:27 -05:00
Atish Amte
a5971a657e
Images typos changes
2019-04-19 12:42:54 +05:30
Paweł Nowacki
c4abc4385f
Create EntityException.php
2019-04-09 08:37:03 +02:00
MGatner
b31e0bdb11
Exception 'forPageNotFound' missing default value
...
The function is designed to check for a default message but since a parameter is required it will fail with "missing parameter" unless explicitly passed null. Add a default value of null allows it to be appropriately overloaded.
2019-03-19 10:18:00 -04:00
Lonnie Ezell
9d7ea5dbf0
Models now require a primary key. This is partially to keep the code from becoming a tangled mess, and partially to ensure all Model convenience features work both now and in the future. Closes #1597
2019-03-13 23:36:48 -05:00
Lonnie Ezell
6daf5c6973
Initial test coverage. Not 100% but catches most of it. #1532 #1531
2019-01-10 22:14:52 -06:00
Natan Felles
b597db5cee
phpcbf: fix all at once
2018-11-10 02:58:52 -02:00
Master Yoda
e268e7024b
Fix language string used in DownloadException
2018-11-03 15:13:23 -07:00
Lonnie Ezell
36ffc64cb5
Cleaner exits for early messages.
2018-10-14 22:48:22 -05:00
ytetsuro
53fccd50b2
feat: add generate exception method.
2018-10-13 01:17:00 +09:00
ytetsuro
df83c7ea70
feat: add can not set cache exception.
...
Signed-off-by: ytetsuro <phper.0o0@gmail.com>
2018-10-05 02:03:16 +09:00
ytetsuro
9cbec75cab
fix: remove not need argument.
...
Signed-off-by: ytetsuro <phper.0o0@gmail.com>
2018-10-05 02:02:58 +09:00
ytetsuro
fa7d8ff9ae
feat: add DownloadException.
...
Signed-off-by: ytetsuro <phper.0o0@gmail.com>
2018-10-05 02:02:52 +09:00
Paweł Nowacki
919b3bde66
Update CastException.php
2018-09-11 11:06:29 +02:00