12560 Commits

Author SHA1 Message Date
kenjis
1ba3fb9a43
docs: add missing - 2022-04-21 11:20:18 +09:00
kenjis
536c874f33
docs: fix description
grabFromDatabase() does not test anything.
2022-04-21 10:38:17 +09:00
kenjis
99004e4c3d
docs: add section titles 2022-04-21 10:35:36 +09:00
kenjis
e7c2e17e11
docs: add () after method name 2022-04-21 10:27:53 +09:00
kenjis
46ff108910
docs: decorate true and false 2022-04-21 10:25:55 +09:00
kenjis
d44917aa88
docs: change the null description to be more prominent 2022-04-21 10:19:14 +09:00
kenjis
302d3bfe98
docs: add headings and move $namespace into Migration section 2022-04-21 10:07:42 +09:00
kenjis
373e2d7126
docs: add properties in sample code 2022-04-21 10:06:51 +09:00
kenjis
8d29cc5e2a
docs: change properties/methods to headings
You can link to them.
2022-04-21 09:59:41 +09:00
kenjis
4dd09a0eaa
docs: fix heading underline 2022-04-21 09:58:45 +09:00
kenjis
1fe143ba09
Merge pull request #5877 from kenjis/refactor-router
refactor: [Router] extract a class for auto-routing
2022-04-20 17:18:53 +09:00
kenjis
3b405ad421
docs: add changelog 2022-04-20 15:10:26 +09:00
kenjis
d899e0b71f
refactor: remove unused variable 2022-04-20 14:58:33 +09:00
kenjis
72ef96808b
docs: improve doc comment
Co-authored-by: John Paul E. Balandan, CPA <51850998+paulbalandan@users.noreply.github.com>
2022-04-20 14:55:22 +09:00
kenjis
1ad510b61d
test: fix MigrationRunnerTest 2022-04-20 14:55:21 +09:00
kenjis
000c115bca
test: make Event simulate false in FeatureTestTraitTest tearDown()
In setUp() Event simulate is set to true, so it should be restored in tearDown().
2022-04-20 14:55:21 +09:00
kenjis
2c331f5667
refactor: run rector and php-cs-fixer 2022-04-20 14:55:21 +09:00
kenjis
a98bde1b2d
refactor: remove unneeded $this->params 2022-04-20 14:55:20 +09:00
kenjis
74a0364992
refactor: instantiate AutoRouter only when auto routing is enabled 2022-04-20 14:55:20 +09:00
kenjis
98cc70cfc7
refactor: add property type 2022-04-20 14:55:20 +09:00
kenjis
0e42760154
docs: remove @deprecated
This method is used by Toolbar.
2022-04-20 14:55:20 +09:00
kenjis
c8169d68e4
fix: can access controller by auto-routing when adding cli route with placeholder as a method
Example:
  $routes->setAutoRoute(true);
  $routes->cli('hello/(:segment)', 'Home::$1');
  Navigate to http://localhost:8080/home

- remove RouteCollection in AutoRouter
- improve TestCase
2022-04-20 14:55:19 +09:00
kenjis
dc912e0931
feat: add RouteCollection::getRegisteredControllers() 2022-04-20 14:55:19 +09:00
kenjis
43e11ba75e
refactor: remove uneeded === true
Co-authored-by: Mostafa Khudair <59371810+mostafakhudair@users.noreply.github.com>
2022-04-20 14:55:19 +09:00
kenjis
eabb12c9cc
style: break long lines 2022-04-20 14:55:19 +09:00
kenjis
0b505c6256
refactor: extract AutoRouter class 2022-04-20 14:55:18 +09:00
kenjis
56781cbcfd
refactor: move property initialization to constructor 2022-04-20 14:55:18 +09:00
kenjis
1004321c8e
docs: add comments 2022-04-20 14:55:18 +09:00
kenjis
fbfc4bbab4
docs: update PHPDocs 2022-04-20 14:55:18 +09:00
Abdul Malik Ikhsan
b1efbef651
Merge pull request #5911 from samsonasik/add-back-s
[Rector] Add back SimplifyUselessVariableRector
2022-04-19 18:59:53 +07:00
Abdul Malik Ikhsan
0a4393142f
[Rector] Add back SimplifyUselessVariableRector 2022-04-19 18:55:03 +07:00
Abdul Malik Ikhsan
a1ee4bd88d
Merge pull request #5908 from codeigniter4/dependabot/composer/rector/rector-0.12.21
chore(deps-dev): update rector/rector requirement from 0.12.20 to 0.12.21
2022-04-18 22:22:33 +07:00
Abdul Malik Ikhsan
185754ed87
clean up removed service and updated to use new RectorConfig 2022-04-18 22:15:59 +07:00
dependabot[bot]
8f1b0c80f7
chore(deps-dev): update rector/rector requirement
Updates the requirements on [rector/rector](https://github.com/rectorphp/rector) to permit the latest version.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](https://github.com/rectorphp/rector/compare/0.12.20...0.12.21)

---
updated-dependencies:
- dependency-name: rector/rector
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-18 15:02:55 +00:00
kenjis
8019c17002
Merge pull request #5907 from kenjis/fix-docs-model.rst
docs: improve model.rst
2022-04-18 19:18:10 +09:00
kenjis
93bc65e659
Merge pull request #5893 from kenjis/fix-cli-color
fix: using multiple CLI::color() in CLI::write() outputs strings with wrong color
2022-04-18 19:09:35 +09:00
kenjis
f3a34f72ff
docs: change **foo** to headings
You can link to headings, but cannot link to `**foo**`.
2022-04-18 13:08:21 +09:00
kenjis
4ad1edfdbb
docs: fix heading underline level 2022-04-18 13:07:27 +09:00
kenjis
c0ca99f514
docs: add changelog 2022-04-18 08:38:10 +09:00
kenjis
85670436ed
docs: change method names to headings
Otherwise, I can't link to it.
2022-04-18 08:31:59 +09:00
kenjis
2aa93487f2
docs: fix heading underlines 2022-04-18 08:27:32 +09:00
kenjis
9dcb39cb1e
refacter: remove unneeded parentheses 2022-04-18 08:18:18 +09:00
kenjis
6320733144
refactor: combine if statements 2022-04-18 08:17:48 +09:00
kenjis
ae56d6c662
docs: remove out of dated comment 2022-04-18 08:17:33 +09:00
kenjis
491fe597a0
Merge pull request #5903 from datamweb/docs-running-system-tests
docs: Correction link ``xdebug`` due to 404 Not Found
2022-04-17 07:53:30 +09:00
Pooya Parsa Dadashi
9a60eb3d57
docs:Correction due to 404 Not Found 2022-04-17 01:18:58 +03:30
kenjis
fc6bb8e76f
Merge pull request #5902 from kenjis/fix-autoloader-psr4
fix: Composer PSR-4 overwrites Config\Autoload::$psr4
2022-04-16 21:46:51 +09:00
Abdul Malik Ikhsan
dd48692da2
Merge pull request #5900 from kenjis/fix-docs-requirements.rst
docs: small improvements in requirements.rst
2022-04-16 11:20:53 +07:00
kenjis
ac711e6b66
Merge pull request #5901 from kenjis/fix-docs-autoloader.rst
docs: fix autoloader.rst
2022-04-16 06:31:17 +09:00
kenjis
7650ee083f
Merge pull request #5897 from kenjis/fix-docs-managing_apps.rst
docs: improve Managing your Applications
2022-04-16 06:30:52 +09:00