Uh oh!
There was an error while loading. Please reload this page.
Update coding-standards version - #6537
Merged
Merged
Conversation
Member
It seems better to change the sample code. 1) CodeIgniter4/user_guide_src/source/outgoing/response/018.php (date_time_create_from_format_call)
---------- begin diff ----------
--- /home/runner/work/CodeIgniter4/CodeIgniter4/user_guide_src/source/outgoing/response/018.php+++ /home/runner/work/CodeIgniter4/CodeIgniter4/user_guide_src/source/outgoing/response/018.php@@ -1,4 +1,4 @@
<?php
-$date = DateTime::createFromFormat('j-M-Y', '15-Feb-2016');+$date = DateTime::createFromFormat('!j-M-Y', '15-Feb-2016');
$response->setDate($date);
----------- end diff ----------- |
MGatner
commented
Sep 15, 2022
Member
Yes I am in favor of updating the examples so they always match our coding standard; that was the primary reason behind splitting them out. I wish there were a way to exempt |
MGatner
commented
Sep 15, 2022
Member
@paulbalandan Could you make the parallel changes over at codeigniter4/devkit as well please? |
paulbalandanforce-pushed
the
coding-standards
branch
from
September 24, 2022 15:25
9a387e0 to
4e2b516Comparepaulbalandan
commented
Sep 24, 2022
MemberAuthor
Done. codeigniter4/devkit#47 |
kenjis
reviewed
Sep 24, 2022
Uh oh!
There was an error while loading. Please reload this page.
MGatner
approved these changes
Sep 25, 2022
5 tasks
paulbalandanforce-pushed
the
coding-standards
branch
from
September 27, 2022 09:54
4e2b516 to
ec0447bComparekenjis
approved these changes
Sep 27, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Checklist: