116 Commits

Author SHA1 Message Date
kenjis
ff609d7d0f
style: break long lines 2022-10-29 08:40:36 +09:00
ddevsr
3a3531ba59
docs: replace type in Pager 2022-09-28 09:42:49 +07:00
kenjis
cdd7278948
fix: Call to undefined method CodeIgniter\Pager\PagerRenderer::getDetails() 2022-07-11 14:47:27 +09:00
kenjis
65f5f6f603
refactor: break long lines 2022-03-16 13:39:25 +09:00
kenjis
41845d4ebe
fix: can't get current page from segment 2022-03-16 13:09:23 +09:00
Abdul Malik Ikhsan
af7fb3f9a5
[Rector] Apply PHP 7.4 Requirement and syntax 2022-01-10 02:02:27 +00:00
Abdul Malik Ikhsan
0c38916535
[Rector] Apply Rector dead code set list 2021-08-17 18:25:19 +07: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
a6cfb8c1e6
Remove useless code separator comments (#4946) 2021-07-19 21:08:51 +08:00
John Paul E. Balandan, CPA
d4afbec8c0
Enable self_accessor and self_static_accessor fixers 2021-07-13 01:30:01 +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
a374f94cfc
Enable return_type_declaration fixer 2021-07-09 02:21:42 +08:00
John Paul E. Balandan, CPA
1dc72c1d65
Convert is_null to null === and fix phpstan errors 2021-07-09 00:08:00 +08:00
John Paul E. Balandan, CPA
57f5cd8bef
Enable method_chaining_indentation fixer 2021-06-17 21:35:32 +08:00
John Paul E. Balandan, CPA
fb24304d23
Define rules on unary operators 2021-06-16 23:51:33 +08:00
John Paul E. Balandan, CPA
34110026d9
Properly indent all phpdocs 2021-06-11 23:14:51 +08:00
John Paul E. Balandan, CPA
1ced6230f4
Class, trait and interface elements must be separated with one line 2021-06-10 23:58:59 +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
328ae4746b
Enable align_multiline_comment 2021-06-04 23:17:08 +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
ab11e7a9a8
[Rector] Apply Rector: MoveVariableDeclarationNearReferenceRector 2021-05-30 06:04:42 +07:00
MGatner
2d2340b59e
Replace URI string casts 2021-05-21 15:35:23 +00:00
John Paul E. Balandan, CPA
6660ce97ae
Merge pull request #4198 from kenjis/add-getPageCount
Add PagerRenderer::getPageCount()
2021-02-06 23:29:58 +08:00
MGatner
149c879291
Merge branch '4.1' into develop 2021-02-01 01:52:15 +00:00
kenjis
627b145398
feat: add getPageCount() 2021-02-01 09:15:19 +09:00
Abdul Malik Ikhsan
ea8396abff run rector 2021-01-31 01:03:11 +08:00
kenjis
d7cb85f3da
feat: add getPreviousPageNumber() and getNextPageNumber() 2021-01-30 20:20:53 +09:00
kenjis
c7d672e6cb
refactor: change method names more natural 2021-01-30 20:02:55 +09:00
kenjis
995d7b2b92
docs: fix phpdoc comments 2021-01-30 10:12:48 +09:00
kenjis
b90b0b943c
feat: add getters for page number in PagerRenderer
To create the same link as the CI3 link.
2021-01-30 09:45:11 +09:00
Alex Schmitz
c35760dc8d
Use nullable typehints for non-optional typed function arguments. 2020-12-21 22:08:34 +01:00
John Paul E. Balandan, CPA
32978d2598
Fix whitespaces for system/ 2020-11-19 01:25:50 +08:00
John Paul E. Balandan, CPA
f118374b04 Remove superfluous interface definition in classes 2020-11-16 00:35:59 +08:00
John Paul E. Balandan, CPA
f83231ee2f
Standardize types casting 2020-11-01 23:47:40 +08: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
Agung Sugiarto
395359cefd Remove getTotal() on PagerInterface 2020-09-17 14:28:22 +07:00
Agung Sugiarto
e129e7c04f Implement getTotal item on pager 2020-09-15 11:12:46 +07:00
Abdul Malik Ikhsan
d936f4caf9
Apply phpstan level 5 (#3541)
Apply phpstan level 5
2020-08-26 10:54:27 +02:00
Abdul Malik Ikhsan
50f5548fe5
Apply phpstan level 2 2020-08-19 10:41:07 +07:00
michalsn
d8ca711097
Disable silent for URI class 2020-07-04 19:36:26 +02:00
michalsn
3ab0f9bf78
Cast segment value to int in Pager class 2020-07-03 10:40:58 +02:00
michalsn
1cd7d168d5
Fix paginate() when using segment 2020-07-02 13:28:39 +02:00
Abdul Malik Ikhsan
6fdedd8009
Running phpcbf to system and tests 2020-05-11 18:56:38 +07:00
Abdul Malik Ikhsan
f978ee7c6f
Bug fix Pager Segment parameter out of bound fallback set current page = 1 2020-05-09 22:45:44 +07:00