PRs for 4.4 are waiting for reviews |
If you are interested, please review:
https://github.com/codeigniter4/CodeIgni...dated-desc
v4.4.0 is around the corner.
See https://github.com/codeigniter4/CodeIgni...ssues/7812 Testing and reviews are welcome, and your contributions make it release sooner.
Thanks CI Teams
Learning CI4 from my works, from errors and how to fix bugs in the community Love CI & Thanks CI Teams
Testing 4.4 branch is also welcome!
https://github.com/codeigniter4/CodeIgniter4/tree/4.4
Thank you CI Development Team.
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
@kenjis is it possible to test the branch by installing it as a dependency? In vendor/ path
Simple CI 4 project for beginners codeigniter-expenses
Yes.
If you use appstarter, run the following command: Code: $ php builds development The above command changes composer.json: Code: "require": { Change the version to 4.4 branch: Code: "require": { Run composer update: Code: $ composer update Update project files. See https://github.com/codeigniter4/CodeIgni...le-changes Code: $ cp vendor/codeigniter4/codeigniter4/public/index.php public/index.php Remove Router settings in Config/Routes.php: Code: --- a/app/Config/Routes.php
@kenjis my test project is working.
1. Except for the parameters Entity::injectRawData() the new method is BC. 2. Why is there a difference in the class Config\App::class and \Config\App::class? PHP Code: // before working, in 4.4 return null
Simple CI 4 project for beginners codeigniter-expenses
@ozornick Oh, thank you for checking!
1. Why BC? What will be broken? It just adds a new method. 2. Oh, because your code was wrong. "Config\App::class" means "\Some\Where\Config\App::class" if the file has "namespace Some\Where;". And even if it does not exist, v4.3.x looks for "App" (short classname) in "\Config" (because of preferApp). But in 4.4, the framework looks for "\Some\Where\Config\App::class" because you specify class with the namespace, See https://github.com/codeigniter4/CodeIgni...-factories
The user guide explanation is not a bit accurate.
I sent a PR to improve: https://github.com/codeigniter4/CodeIgni...7840/files |
Welcome Guest, Not a member yet? Register Sign In |