You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implications would mean that our minimum PHP version would be 7.3.x. Currently OSPOS has a 7.2.x minimum for PHP. According to CI migrations after 3.x to 4.x are simpler.
@opensourcepos/org an optional CI4 change in the Views is to change the echo syntax from
<?php echo $title; ?>
to <?= $title; ?>
So for example, <?php echo current_language_code(); ?> would become <?= current_language_code(); ?>
IMO this is cleaner, therefore easier to read, but it is optional, so if we veto, then that's OK too. Alternately, I could just do the minimum to port over to CI4 and we treat the optional changes as a question to be answered separately.
I've seen this pattern before so here and there, don't think it's new in CI4? Let's do the minimum first and then these kind of 'syntax' cleanups can be done after?
OK, sounds good. As is, it is A LOT of refactoring. I think the more help I get with regression testing and figuring out bugs, the faster this will go.
Activity
objecttothis commentedon Aug 10, 2021
@daN4cat @jekkos I wouldn't mind tackling this. I was just reading the documentation (https://codeigniter.com/user_guide/installation/upgrade_4xx.html) and while it's more work than other incremental changes, it appears to be primarily syntax changes. Thoughts?
objecttothis commentedon Aug 10, 2021
Implications would mean that our minimum PHP version would be 7.3.x. Currently OSPOS has a 7.2.x minimum for PHP. According to CI migrations after 3.x to 4.x are simpler.
objecttothis commentedon Aug 12, 2021
@opensourcepos/org an optional CI4 change in the Views is to change the
echosyntax from<?php echo $title; ?>to
<?= $title; ?>So for example,
<?php echo current_language_code(); ?>would become<?= current_language_code(); ?>IMO this is cleaner, therefore easier to read, but it is optional, so if we veto, then that's OK too. Alternately, I could just do the minimum to port over to CI4 and we treat the optional changes as a question to be answered separately.
Thoughts?
jekkos commentedon Aug 12, 2021
I've seen this pattern before so here and there, don't think it's new in CI4? Let's do the minimum first and then these kind of 'syntax' cleanups can be done after?
objecttothis commentedon Aug 12, 2021
OK, sounds good. As is, it is A LOT of refactoring. I think the more help I get with regression testing and figuring out bugs, the faster this will go.
odiea commentedon Aug 12, 2021
Let me know if there is anything I can do to help out
82 remaining items
bhojkamal commentedon Jul 4, 2022
Hello, guys any update for CI4 upgrade?
objecttothis commentedon Jul 4, 2022
Please see my post above:
jekkos commentedon Jul 4, 2022
Ok I might check out the branch sooner or later to see in what state it is, maybe we can try to deploy and have some testing done.
objecttothis commentedon Jul 4, 2022
Sounds good. Feel free. I will pick it up again in September when I'm back.
[-]Upgrade to CodeIgniter 4.1.3[/-][+]CI4: Upgrade to CodeIgniter 4.2.10[/+][-]CI4: Upgrade to CodeIgniter 4.2.10[/-][+]CI4: Upgrade to CodeIgniter 4.3.1[/+][-]CI4: Upgrade to CodeIgniter 4.3.1[/-][+]CI4: Upgrade to CodeIgniter 4.4.3[/+]objecttothis commentedon Dec 12, 2023
I've created the CodeIgniter4 label to make it easier to see and search for CI4 related issues.
[-]CI4: Upgrade to CodeIgniter 4.4.3[/-][+]CI4: Upgrade to CodeIgniter 4.4.5[/+]