10541 Commits

Author SHA1 Message Date
kenjis
aa81929094
docs: update about coding-standard repository 2021-10-12 13:39:57 +09:00
kenjis
69fbed9a59
docs: remove unnecessary blank lines 2021-10-12 13:39:31 +09:00
kenjis
4576b12ed6
Merge pull request #5183 from kenjis/rework-contributing
docs: rework contributing
2021-10-11 19:50:56 +09:00
kenjis
707b97ce3a
Merge pull request #5191 from kenjis/move-pr-template
Move PR template
2021-10-11 19:48:26 +09:00
John Paul E. Balandan, CPA
cb714b5b0c
Change behavior of class_attributes_separation rule 2021-10-11 17:03:05 +08:00
kenjis
aaab1bc050
docs: update expression
Co-authored-by: John Paul E. Balandan, CPA <51850998+paulbalandan@users.noreply.github.com>
2021-10-11 11:29:47 +09:00
kenjis
7f88eceabb
docs: replace PHPdoc with PHPDoc 2021-10-10 22:16:54 +09:00
kenjis
b2560d56c5
docs: move PULL_REQUEST_TEMPLATE.md to .github/ 2021-10-10 22:15:35 +09:00
kenjis
817c099169
Merge pull request #5186 from kenjis/improve-model-autocompletion
Improve `model()` auto-completion
2021-10-09 21:36:19 +09:00
John Paul E. Balandan, CPA
56b1d511f5
Merge pull request #5182 from kenjis/update-ISSUE_TEMPLATE
chore: add Database in bug report template
2021-10-09 13:25:09 +08:00
John Paul E. Balandan, CPA
f8cc9cfd21
Merge pull request #5188 from kenjis/rm-coverage.txt
Remove coverage.txt
2021-10-09 13:24:25 +08:00
Lonnie Ezell
3d17c689c3
Merge pull request #5185 from danielTiringer/feature-mark-duplicate-queries
Feature - Mark duplicate queries
2021-10-08 22:50:15 -05:00
kenjis
5f43448a73
Merge pull request #5189 from kenjis/fix-cache-tests
Fix Cache testGetMetaData()
2021-10-09 11:06:45 +09:00
kenjis
e523fc1337
Merge pull request #5187 from kenjis/fix-security-phpdoc
Fix  PHPDoc for Security
2021-10-09 10:41:37 +09:00
Daniel Tiringer
674af492e9
Use the hover colors to highlight duplicates 2021-10-08 23:15:49 +02:00
Daniel Tiringer
4ea6493f4c
Correct the accidentally modified css 2021-10-08 13:56:41 +02:00
Daniel Tiringer
027e41ba4a
Add css class to mark duplicates 2021-10-08 13:47:48 +02:00
Daniel Tiringer
eccac7b6cf
Add class and hover text to duplicates 2021-10-08 13:39:29 +02:00
kenjis
53d6c889bd
test: add @TODO in comments 2021-10-08 19:27:34 +09:00
kenjis
b88211a0b6
test: fix testGetMetaData()
Sometimes the test fails.

1) CodeIgniter\Cache\Handlers\FileHandlerTest::testGetMetaData
Failed asserting that 61 is equal to 60 or is less than 60.

/home/runner/work/CodeIgniter4/CodeIgniter4/tests/system/Cache/Handlers/FileHandlerTest.php:263
2021-10-08 19:26:29 +09:00
kenjis
0122ba671d
test: refactor property name 2021-10-08 17:23:37 +09:00
kenjis
b495847918
chore: remove coverage.txt 2021-10-08 17:12:44 +09:00
kenjis
bd49a5b9d1
docs: fix PHPDoc for Security 2021-10-08 16:51:27 +09:00
kenjis
555ab2d5b8
docs: fix @return type 2021-10-08 16:50:25 +09:00
Daniel Tiringer
6b2e6d8d7a
Make variable for query string 2021-10-08 08:22:31 +02:00
kenjis
9f3afc6a14
docs: update the description of Type declarations 2021-10-08 13:03:55 +09:00
kenjis
6bbdf3d63a
docs: fix headings
Type hinting is an old word.
2021-10-08 13:02:55 +09:00
kenjis
60e559ecea
docs: add Generics annotation to model()
@phpstan-return is to suppress PHPStan error.
2021-10-08 09:45:29 +09:00
kenjis
34bbbc4ae0
Merge pull request #5184 from vlakoff/db-query-3
Add unit test to ensure named binds don't get replaced in binded values
2021-10-08 08:10:29 +09:00
Daniel Tiringer
483bf94a25
Fix indentation 2021-10-07 18:15:39 +02:00
Daniel Tiringer
e12b35e307
Simplify query addition to array
Co-authored-by: Lonnie Ezell <lonnieje@gmail.com>
2021-10-07 16:11:10 +00:00
John Paul E. Balandan, CPA
b1185e4a98
Merge pull request #5158 from codeigniter4/paulbalandan-patch-1
Refactor/optimise starter's tests
2021-10-07 18:34:13 +08:00
kenjis
a14410e8a8
docs: replace "Change Log" with Changelog
https://en.wikipedia.org/wiki/Changelog
2021-10-07 19:24:48 +09:00
kenjis
f85527a739
docs: fix unneeded - 2021-10-07 19:21:41 +09:00
vlakoff
df74c1ecdc Add unit test to ensure named binds don't get replaced in binded values
Using str_replace() instead of strtr() in Database\Query->matchNamedBinds() would make this test fail.

For this test to be effective, the overlapping marker (here :foobar:) has to be after the replaced string (here :content:) in the binds array.
2021-10-07 11:33:58 +02:00
kenjis
825962123f
docs: add not to add comments that are superficial, duplicated, or stating the obvious 2021-10-07 18:05:20 +09:00
kenjis
6de07bdadb
docs: use --force-with-lease instead of --force 2021-10-07 17:45:26 +09:00
kenjis
4d999c18c5
docs: replace travis-ci with GitHub Actions
Co-authored-by: John Paul E. Balandan, CPA <51850998+paulbalandan@users.noreply.github.com>
2021-10-07 17:18:13 +09:00
kenjis
a8f24006aa
docs: replace PHPunit with PHPunit
Co-authored-by: John Paul E. Balandan, CPA <51850998+paulbalandan@users.noreply.github.com>
2021-10-07 17:17:14 +09:00
kenjis
c0344a9e91
docs: fix typo
Co-authored-by: John Paul E. Balandan, CPA <51850998+paulbalandan@users.noreply.github.com>
2021-10-07 17:16:22 +09:00
John Paul E. Balandan, CPA
4c52a378dc
Merge pull request #5175 from paulbalandan/php-cs-fixer-v3.2.0
Add support for new fixers added in php-cs-fixer v3.2.0
2021-10-07 15:36:09 +08:00
Daniel Tiringer
9a2b3c2bc3
Change queries array structure and usage 2021-10-07 09:17:44 +02:00
John Paul E. Balandan, CPA
be9f4c5557
Add support for new fixers added in v3.2.0 2021-10-07 15:04:26 +08:00
kenjis
3117e51eb9
Merge pull request #5181 from paulbalandan/no-alt-syntax
Enable `no_alternative_syntax` rule
2021-10-07 15:01:29 +09:00
kenjis
8cc81bc93d
Merge pull request #5179 from ytetsuro/feature/remove_unnecessary_escape
Fixed an issue where an unnecessary prefix was given when the random number was a column.
2021-10-07 15:00:54 +09:00
kenjis
89d0eb32ac
Merge pull request #5170 from ytetsuro/fix/not_escape_in_like
Fixed a problem with not run escape for identities in like when `insensitiveSearch` is true.
2021-10-07 15:00:09 +09:00
kenjis
e341970d37
docs: update/add PHP manual links, its description
Type hinting is out-of-dated word.
2021-10-07 14:49:22 +09:00
kenjis
6215bae88a
docs: remove "Keeping your fork up-to-date" section
It is not perfect. Updating develop branch only does not make sense.
workflow.md explains details.
2021-10-07 14:06:15 +09:00
kenjis
1819452905
docs: add explanations to use the link only files 2021-10-07 13:41:29 +09:00
kenjis
200d6497c6
docs: add blank line 2021-10-07 13:37:44 +09:00