John Paul E. Balandan, CPA
797d37751a
Merge branch 'develop' into 4.6
2025-01-13 11:15:24 +08:00
John Paul E. Balandan, CPA
c3ac0f9483
chore: add more trailing commas in more places ( #9395 )
...
* Apply to parameters
* Apply to array destructuring
* Apply to match
* Apply for arguments
2025-01-13 11:03:02 +08:00
Murilo Henrique Pucci
d9aca420f4
feat: add page start end total to PagerRenderer
( #9371 )
...
* Add some methods to the page renderer to make easier to
get the first item, the last item and the total of items.
* Add type hint to the new per page variable on the page renderer.
* Create more tests for the page start and end, and improve the comment of the variables from the PagerRenderer class.
* Add a documentation and also improve some comments.
* Use version added instead of warning on the documentation
* Add changelog.
* Fix CR issues.
* Add null as the default value for perPageStart and End
2025-01-08 02:46:05 +08:00
Abdul Malik Ikhsan
3f8feaa589
refactor: clean up parentheses on assign and ternary
2024-10-30 16:43:51 +07:00
Abdul Malik Ikhsan
dede747236
refactor: enable SimplifyBoolIdenticalTrueRector
2024-10-30 16:37:37 +07:00
kenjis
e25bc7e7a7
refactor: run rector
2024-04-06 09:24:47 +09:00
kenjis
e78c92994f
Merge remote-tracking branch 'upstream/develop' into 4.5
2024-04-05 16:59:18 +09:00
kenjis
98ce544fb2
fix: Pager::only([]) does not work
2024-04-03 19:06:30 +09:00
kenjis
e3fe895a07
Merge remote-tracking branch 'upstream/develop' into 4.5
2024-01-07 20:08:49 +09:00
Jason Liang
495fb0c83a
fix: typo in pager default_simple
2024-01-07 01:41:54 -08:00
kenjis
ed4fce13ab
Merge remote-tracking branch 'upstream/develop' into 4.5
...
Conflicts:
phpstan-baseline.php
rector.php
system/Database/BaseBuilder.php
system/Honeypot/Honeypot.php
system/Router/RouteCollection.php
system/Test/FeatureTestCase.php
system/Test/FeatureTestTrait.php
system/Validation/FormatRules.php
2023-12-22 07:07:52 +09:00
kenjis
d258659947
refactor: apply DisallowedEmptyRuleFixerRector
2023-12-21 09:46:49 +09:00
kenjis
d61e33ead1
Merge pull request #8072 from kenjis/declare_strict_types
...
refactor: add `declare(strict_types=1)`
2023-12-05 06:36:27 +09:00
kenjis
25ec3df976
refactor: add declare(strict_types=1)
to system files
2023-11-30 16:14:48 +09:00
kenjis
b5262e7420
docs: change expression
2023-11-27 05:54:01 +09:00
kenjis
bb3cff4f51
docs: add @return
2023-11-27 05:54:00 +09:00
kenjis
9fcb679a0e
docs: add comment to make things clear
2023-11-27 05:53:59 +09:00
kenjis
b3f451b300
docs: remove unneeded comments
2023-11-27 05:53:59 +09:00
Abdul Malik Ikhsan
83ebb79d20
[Rector] Apply BooleanInIfConditionRuleFixerRector
2023-10-16 11:28:28 +07:00
kenjis
6329255a8b
docs: add "see test" annotations
2023-09-08 17:35:23 +09:00
kenjis
f34580d02b
docs: fix or remove @param
...
php-cs-fixer has been modified to remove these tags.
2023-08-30 09:48:17 +09:00
kenjis
04b70af51d
Merge pull request #7771 from ping-yee/220804-phpstan-pager-publisher-restful
...
Dev: Remove the `Pager`, `Publisher` and `RESTful` ignore errors in phpstan-baseline.php
2023-08-06 10:47:38 +09:00
ping-yee
3eb083c79c
Dev: Define the exception.
2023-08-04 21:35:22 +08:00
ping-yee
adbfbf79c2
Dev: change the return type for the pager exception.
2023-08-04 13:26:03 +08:00
ping-yee
2aa4bd54cc
Dev: Remove the Pager
, Publisher
and RESTful
ignore errors in phpstan-baseline.php
2023-08-04 00:50:01 +08:00
kenjis
35bd0c5e13
fix: incorrect fix in the past
...
Revert https://github.com/codeigniter4/CodeIgniter4/pull/6251
2023-07-31 14:50:14 +09:00
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