Skip to content

4.3.8 Ready code #7849

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 237 commits into from
Aug 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
237 commits
Select commit Hold shift + click to select a range
b08c28a
Add auto-review workflow
paulbalandan Jul 21, 2023
bd6a8e3
Run composer normalize
paulbalandan Jul 21, 2023
3ef4d42
Require composer-normalize locally
paulbalandan Jul 25, 2023
58dc6cd
Add test for config
paulbalandan Jul 25, 2023
d430955
refactor ComposerJsonTest
paulbalandan Jul 25, 2023
a60d65f
docs: add changelog/upgrade guide for v4.3.8
kenjis Jul 30, 2023
a516dd3
docs: add git command
kenjis Jul 30, 2023
52ebe5b
fix: phpstan CLI no type specified
ddevsr Jul 30, 2023
9189190
Merge pull request #7751 from kenjis/add-changelog-438
kenjis Jul 31, 2023
f8bdf2c
Merge pull request #7753 from ddevsr/cli-type-specified
kenjis Jul 31, 2023
ce3cce5
docs: add Creating Composer Packages
kenjis Jul 28, 2023
c16221b
docs: add gitattributes and gitignore
kenjis Jul 28, 2023
c9cc01c
docs: add about DevKit
kenjis Jul 29, 2023
bab7227
docs: add References
kenjis Jul 29, 2023
add666c
docs: add LICENSE in Folder Structure
kenjis Jul 31, 2023
82a8df2
docs: PHPStan model no type specified
ddevsr Jul 31, 2023
b21eb76
docs: fix by proofreading
kenjis Jul 31, 2023
6684f7a
docs: remove `>` so that the commands can be copy pasted
kenjis Jul 31, 2023
1a96f24
docs: stop representation by diff
kenjis Jul 31, 2023
83be887
fix: Pager does not use shared View object
kenjis Jul 31, 2023
35bd0c5
fix: incorrect fix in the past
kenjis Jul 31, 2023
d6bf0d9
docs: improve doc comments
kenjis Jul 31, 2023
87454e6
Merge pull request #7742 from kenjis/docs-extending/composer_packages…
kenjis Jul 31, 2023
ef5361d
chore: remove ignoreErrors
kenjis Jul 31, 2023
c5286d1
test: add test for insertBatch() to table without auto-increment key
kenjis Aug 1, 2023
6cd704d
docs: fix doc comment
kenjis Aug 1, 2023
a2c4749
fix: Model::insertBatch() to non auto-increment table causes error
kenjis Aug 1, 2023
add8ad8
Merge pull request #7755 from ddevsr/model-type-specified
kenjis Aug 1, 2023
e0f70c5
docs: remove `>` in cli command samples
kenjis Jul 31, 2023
79090f9
docs: update documentation.rst
kenjis Jul 31, 2023
63987b4
docs: update CSS for console code block
kenjis Jul 31, 2023
a6acb4f
docs: remove `>` in cli command sample
kenjis Aug 1, 2023
c1fc4a8
docs: add sub section "Choosing License"
kenjis Aug 1, 2023
fa8059b
Fix command
paulbalandan Aug 1, 2023
c56edf2
Merge pull request #7727 from paulbalandan/composer-normalize
paulbalandan Aug 1, 2023
18487ea
Merge pull request #7757 from kenjis/docs-console-command
kenjis Aug 2, 2023
3b07bab
docs: PHPStan Cache no type specified
ddevsr Jul 31, 2023
48d1d9c
Merge pull request #7761 from kenjis/docs-composer_packages.rst-license
kenjis Aug 2, 2023
06e5089
Merge pull request #7756 from ddevsr/cache-type-specified
kenjis Aug 2, 2023
e5d1848
Dev: Remove the config ignore errors.
ping-yee Aug 2, 2023
2d0fbff
Dev: change the type.
ping-yee Aug 2, 2023
47f0f15
dev: change the properties type.
ping-yee Aug 2, 2023
5435ea3
Dev: Remove the image error in phpstan-baseline.php
ping-yee Aug 2, 2023
8e42ddf
Dev: Add the return type of image exception.
ping-yee Aug 2, 2023
35b1aa9
Dev: remove the evnet ignore errors in phpstan-baseline.php
ping-yee Aug 2, 2023
cb97e1e
Add `php_unit_data_provider_name` in overrides
paulbalandan Jul 6, 2023
ec1bb65
Run cs-fix
paulbalandan Aug 3, 2023
0e7e31a
Manually fix other data provider names
paulbalandan Aug 3, 2023
b3fe701
Merge pull request #7656 from paulbalandan/normalize-data-provider-names
paulbalandan Aug 3, 2023
89d249a
Merge pull request #7766 from ping-yee/230802-phpstan-event
kenjis Aug 3, 2023
6ec3a09
Merge pull request #7752 from kenjis/docs-update-RELEASE.md
kenjis Aug 3, 2023
20f2700
Enable `php_unit_data_provider_static`
paulbalandan Aug 3, 2023
773ee48
Dev: modify the return type to the comments.
ping-yee Aug 3, 2023
63939ef
build(deps-dev): update rector/rector requirement from 0.17.7 to 0.17.10
dependabot[bot] Aug 3, 2023
be62e2e
Dev: remove the useless comment and add some type for the properties.
ping-yee Aug 3, 2023
bfbd4f9
Merge pull request #7768 from codeigniter4/dependabot/composer/rector…
samsonasik Aug 3, 2023
ce5379c
Dev: remove the filter ignore errors.
ping-yee Aug 3, 2023
2aa4bd5
Dev: Remove the `Pager`, `Publisher` and `RESTful` ignore errors in p…
ping-yee Aug 3, 2023
a826f93
Dev: Remove the `Security` and `Validation` ignore errors in phpstan-…
ping-yee Aug 3, 2023
85b9f76
Dev: Remove the email ignore errors.
yu3223 Aug 3, 2023
de129dc
Merge pull request #7758 from kenjis/fix-Pager-View
kenjis Aug 4, 2023
dd7a139
Merge pull request #7759 from kenjis/fix-model-insertBatch-noAutoIncr…
kenjis Aug 4, 2023
152a7a1
Merge pull request #7767 from paulbalandan/phpunit-data-provider-static
paulbalandan Aug 4, 2023
a36f180
docs: add sub section titles
kenjis Aug 4, 2023
3933297
docs: align comments
kenjis Aug 4, 2023
fe4ec45
docs: add deprecated
kenjis Aug 4, 2023
6cf2eb6
docs: make helper functions linkable
kenjis Aug 4, 2023
c500cda
docs: fix class notations
kenjis Aug 4, 2023
d217a13
docs: make function/method linkable
kenjis Aug 4, 2023
7ad8ca6
docs: add links to PHP manual
kenjis Aug 4, 2023
5316dba
docs: fix description
kenjis Aug 4, 2023
0fce046
docs: add note to CookieStore
kenjis Aug 4, 2023
dc8ab1d
docs: add "Sending Cookies"
kenjis Aug 4, 2023
b897039
dev: phpstan helpers
jinny8813 Aug 4, 2023
5f36a4e
docs: add sub section titles
kenjis Aug 4, 2023
8e0cb60
refactor: add use statement
kenjis Aug 4, 2023
72e7d1c
docs: fix @param $name
kenjis Aug 4, 2023
131d140
Merge pull request #7773 from yu3223/0802_phpstan_remove
kenjis Aug 4, 2023
6e3362c
docs: add missing Cookie to :param
kenjis Aug 4, 2023
b9dd62d
refactor: remove Model::$tempPrimaryKeyValue
kenjis Aug 1, 2023
f1c9caf
dev: change the return type.
ping-yee Aug 4, 2023
eac79d8
Dev: change the return type for the exception.
ping-yee Aug 4, 2023
fbd6d94
Dev: change the return type for the exception.
ping-yee Aug 4, 2023
adbfbf7
Dev: change the return type for the pager exception.
ping-yee Aug 4, 2023
892f404
Merge pull request #7764 from ping-yee/230802-config-phpstan
kenjis Aug 4, 2023
ed83319
docs: use max-age instead of expires
kenjis Aug 4, 2023
0dbd58a
docs: add doc comment
kenjis Aug 4, 2023
928629e
phpstan helpers kint_helper
jinny8813 Aug 4, 2023
4069711
phpstan kint_helper
jinny8813 Aug 4, 2023
e81a05d
return never
jinny8813 Aug 4, 2023
3c805e4
analyse no error. TT
jinny8813 Aug 4, 2023
b8444c0
docs: remove `>` in console command
datamweb Aug 4, 2023
7ecc708
Dev: Define the image exception.
ping-yee Aug 4, 2023
336a86a
Dev: Define the Security and Validation exception.
ping-yee Aug 4, 2023
3eb083c
Dev: Define the exception.
ping-yee Aug 4, 2023
a932877
Dev: Add the param type.
ping-yee Aug 4, 2023
0881e8a
Merge pull request #7769 from ping-yee/230804-phpstan-filter
kenjis Aug 4, 2023
6c22cce
Merge pull request #7777 from jinny8813/0804_phpstan_helpers
kenjis Aug 4, 2023
2c8ead6
[Rector] Remove skipped AssertPropertyExistsRector
samsonasik Aug 5, 2023
bc7d88d
Merge pull request #7782 from samsonasik/remove-assert
samsonasik Aug 5, 2023
76c7d7e
Merge pull request #7779 from datamweb/docs-improve-uiux
samsonasik Aug 5, 2023
33d28cc
Dev: Remove the ignore errors of Encryption and Entity in phpstan.
ya861220 Aug 5, 2023
eaa8f1a
Merge pull request #7760 from kenjis/refactor-model-insert-noAutoIncr…
kenjis Aug 6, 2023
04b70af
Merge pull request #7771 from ping-yee/220804-phpstan-pager-publisher…
kenjis Aug 6, 2023
f972677
dev: change the return type.
ya861220 Aug 6, 2023
0ea37ad
test: restore testUnserializeTimeObject()
kenjis Aug 6, 2023
2cc7ebe
Merge pull request #7765 from ping-yee/230802-phpstan-image
MGatner Aug 6, 2023
46a1e5e
Merge pull request #7785 from kenjis/test-restore-Time-serialize-tests
kenjis Aug 6, 2023
5fd470f
Remove unused cast on RedisHandler
samsonasik Aug 7, 2023
0e70713
Merge pull request #7786 from samsonasik/remove-unused-cast
samsonasik Aug 7, 2023
f9cc163
test: add and update tests
kenjis Aug 7, 2023
2238bf1
fix: check if index exists
kenjis Aug 7, 2023
6b05c90
fix: updateBatch() may generate invalid SQL string
kenjis Aug 7, 2023
61f8bd5
Dev: change the comment.
ping-yee Aug 7, 2023
26d7b48
Dev: Remove the `Honeypot` and `I18n` ignore errors in phpstan-baseli…
ping-yee Aug 3, 2023
39d09d9
Dev: change the return type for the honeypot exception.
ping-yee Aug 4, 2023
31a83ed
Dev: Define the comment of exception.
ping-yee Aug 4, 2023
25248a5
Dev: change the return type.
ping-yee Aug 4, 2023
e3dff64
Dev: fix the rebase error.
ping-yee Aug 7, 2023
01703f3
Dev: fix the cs-fix.
ping-yee Aug 7, 2023
163e1c4
Dev: fix the cs.
ping-yee Aug 7, 2023
5dc3810
Dev: Remove the File ignore errors.
kai890707 Aug 7, 2023
6edcd99
run php-cs-fixer
kai890707 Aug 7, 2023
e0a1094
Merge pull request #7770 from ping-yee/230804-phpstan-honeypot-i18n
kenjis Aug 8, 2023
aaf6b34
Merge pull request #7772 from ping-yee/230804-phpstan-Security-Valida…
kenjis Aug 8, 2023
4c9c3cb
fix: Remove the ignore errors of View in phpstan.
ya861220 Aug 8, 2023
c640145
Merge pull request #7783 from ya861220/230805-phpstan-Entity-Encryption
paulbalandan Aug 8, 2023
5c6298d
Fix: Remove the system-Format ignore errors.
kai890707 Aug 8, 2023
9f7e031
Fix: Remove the system-Log ignore errors.
kai890707 Aug 8, 2023
0a64294
Fix: Remove the system-Controller ignore errors.
kai890707 Aug 8, 2023
9c65b45
Fix: change the return type.
ya861220 Aug 8, 2023
f853a58
run php-cs-fixer & analyse no error
ya861220 Aug 8, 2023
ebf6c57
Fix: Changed the Exception return type to static.
kai890707 Aug 8, 2023
7515670
Fix: Changed the FormatException and LogException return type to static.
kai890707 Aug 8, 2023
7d04deb
Fix: Remove the ignore errors of Traits.
ya861220 Aug 8, 2023
1921047
docs: remove nonsense description for @internal
kenjis Aug 9, 2023
06fe970
Merge pull request #7778 from kenjis/fix-docs-cookies
kenjis Aug 9, 2023
6dfc38b
Merge pull request #7798 from kenjis/fix-docs-Toolbar-Collectors-Data…
kenjis Aug 9, 2023
2793a83
Fix: Repair conflicts and emove the Debug ignore errors.
kai890707 Aug 9, 2023
7e0a449
Fix: run php-cs-fixer.
kai890707 Aug 9, 2023
ee34c18
Fix: Remove the ignore errors of Router in phpstan.
ya861220 Aug 9, 2023
52f4a57
docs: remove `<?php` in sample code
kenjis Aug 9, 2023
818ac96
docs: add text decoration
kenjis Aug 9, 2023
4cf3fe4
docs: improve descritpion on see*() method
kenjis Aug 9, 2023
054fa72
docs: fix incorrect sample code
kenjis Aug 9, 2023
71b5a95
docs: improve comments in sample code
kenjis Aug 9, 2023
019a59e
Used default methods instead of custom methods
sammyskills Aug 10, 2023
e1b8599
Added limit
sammyskills Aug 10, 2023
336ae3f
Merge pull request #7787 from kenjis/fix-Model-updateBatch
kenjis Aug 10, 2023
273e8c8
Merge pull request #7795 from kai890707/20230808-format-phpstan
kenjis Aug 10, 2023
d59f674
Merge pull request #7790 from kai890707/20230807-file-phpstan
kenjis Aug 10, 2023
b6c3977
Merge pull request #7794 from ya861220/230808-phpstan-View
kenjis Aug 10, 2023
fbb9c4d
Merge pull request #7805 from sammyskills/fix-view-cell-docs
kenjis Aug 10, 2023
ff90dfe
Fix: Modified the phpstan retrun type.
kai890707 Aug 10, 2023
6b560bb
docs: fix section title marks
kenjis Aug 10, 2023
7119d90
docs: make first letter uppercase
kenjis Aug 10, 2023
f569bd1
docs: add sub section title
kenjis Aug 10, 2023
857113c
docs: change description
kenjis Aug 10, 2023
0d1cba9
docs: fix incorrect description
kenjis Aug 10, 2023
2820fe4
docs: add sub section title and fix section level
kenjis Aug 10, 2023
eae9081
Fix: Remove the @phpstan-return never|void.
kai890707 Aug 10, 2023
e900c3f
build(deps-dev): update rector/rector requirement
dependabot[bot] Aug 10, 2023
76b1e35
Merge pull request #7801 from kai890707/20230808-debug-phpstan
kenjis Aug 11, 2023
4bd211d
Merge pull request #7802 from ya861220/230809-phpstan-Router
kenjis Aug 11, 2023
d8bd77f
Merge pull request #7808 from codeigniter4/dependabot/composer/rector…
samsonasik Aug 11, 2023
2a6f1b4
build(deps-dev): update rector/rector requirement
dependabot[bot] Aug 11, 2023
3043f81
Fix: change the return type.
ya861220 Aug 10, 2023
66147c3
Fix: Remove the ignore errors of HTTP.
ya861220 Aug 11, 2023
e5223ec
Merge pull request #7809 from codeigniter4/dependabot/composer/rector…
samsonasik Aug 11, 2023
f50eee5
Fix: Chang the return type.20230812
ya861220 Aug 12, 2023
0989491
Merge pull request #7803 from ya861220/230809-phpstan-HTTP
MGatner Aug 12, 2023
4bc7a02
Merge pull request #7804 from kenjis/docs-testing-response.rst
samsonasik Aug 12, 2023
4b7165e
docs: fix typos in comment
kenjis Aug 10, 2023
d5a85e3
fix: Entity's primary key is cast when inserting
kenjis Aug 10, 2023
366bcbe
fix: use `instanceof Entity`
kenjis Aug 14, 2023
d82a9bb
docs: add @TODO
kenjis Aug 14, 2023
a884465
chore: Model depends on Entity
kenjis Aug 14, 2023
6815f3f
Merge pull request #7807 from kenjis/fix-docs-entities.rst
kenjis Aug 14, 2023
f707fb2
docs: add test for rule instance count
kenjis Aug 14, 2023
6ff41c9
fix: instances of validation rules are incremented each time run() is…
kenjis Aug 14, 2023
60697c2
docs: fix sample code
kenjis Aug 14, 2023
68d21eb
style: composer cs-fix
kenjis Aug 14, 2023
513f9fc
Merge pull request #7806 from kenjis/fix-model-cast-pk
kenjis Aug 15, 2023
ac757f1
build(deps-dev): update rector/rector requirement
dependabot[bot] Aug 15, 2023
598331e
Merge pull request #7820 from kenjis/style-update-cs
kenjis Aug 15, 2023
84c28a9
Merge pull request #7825 from codeigniter4/dependabot/composer/rector…
samsonasik Aug 16, 2023
bc1f279
test: add test for except empty array
kenjis Aug 15, 2023
e7297f1
fix: "except empty" means "except all"
kenjis Aug 15, 2023
fc3ae4c
test: fix test case
kenjis Aug 15, 2023
b6a3c7d
refactor: extract method
kenjis Aug 15, 2023
459ea26
docs: add/fix PHPDoc types
kenjis Aug 16, 2023
f9ecd03
test: use dataProvider
kenjis Aug 16, 2023
2ad0864
test: add test cases for except
kenjis Aug 16, 2023
79aaefb
fix: empty string should mean except only baseURL
kenjis Aug 16, 2023
9b93434
docs: add/update PHPDoc types
kenjis Aug 16, 2023
e510da9
docs: add changelog
kenjis Aug 16, 2023
571b05b
test: add test for set_checkbox()
kenjis Aug 14, 2023
f2f7dcf
fix: set_checkbox() incorrect checking
kenjis Aug 14, 2023
19073e8
docs: improve descriptions
kenjis Aug 16, 2023
51d4dfd
docs: make sample code more realistic
kenjis Aug 16, 2023
1764d12
Fix: Remove the system-Exception ignore errors.
kai890707 Aug 16, 2023
d580507
Merge pull request #7829 from kai890707/20230816-system-Exception-php…
kenjis Aug 17, 2023
9ef6d29
Update deploy-apidocs.yml
takano32 Aug 17, 2023
ced6be8
Merge pull request #7832 from takano32/Fix-GPG-key-to-trust-in-deploy…
kenjis Aug 17, 2023
e5d25ea
Merge pull request #7827 from kenjis/docs-filters.rst
kenjis Aug 17, 2023
2d6eb27
Merge pull request #7815 from kenjis/fix-validation-rule-instances
kenjis Aug 17, 2023
c3b4771
Update `deploy-apidocs.yml` for phpDocumentor usage
takano32 Aug 17, 2023
d8190bb
Merge pull request #7833 from takano32/fix-phpDocumentor-GitHub-Actions
kenjis Aug 17, 2023
b1b9ed4
Update deploy-apidocs.yml
takano32 Aug 17, 2023
c20c43a
Merge pull request #7834 from takano32/fix-phive-gpg-trust-keys-option
kenjis Aug 17, 2023
1ffe439
Use PHP 8.1 for phpDocumentor
takano32 Aug 17, 2023
9e48fa0
Merge pull request #7835 from takano32/use-php-8.1-for-php-documentor
kenjis Aug 17, 2023
3202853
Add typehint support for when() and whenNot()
sammyskills Aug 17, 2023
91ae4b0
Merge remote-tracking branch 'upstream/develop' into when-whennot-typ…
sammyskills Aug 17, 2023
43d061b
build(deps-dev): update rector/rector requirement from 0.17.13 to 0.18.0
dependabot[bot] Aug 17, 2023
05bcf51
Merge pull request #7837 from codeigniter4/dependabot/composer/rector…
samsonasik Aug 17, 2023
409059f
docs: add how to use next minor version branch
kenjis Aug 17, 2023
f3562cb
Merge remote-tracking branch 'upstream/develop' into when-whennot-typ…
sammyskills Aug 18, 2023
11c813e
Applied code suggestions
sammyskills Aug 18, 2023
37ee50f
Merge pull request #7836 from sammyskills/when-whennot-typehint
kenjis Aug 21, 2023
0665d5f
Merge pull request #7816 from kenjis/fix-docs-form_helper
kenjis Aug 21, 2023
700f6e4
Merge pull request #7823 from kenjis/fix-filter-except
kenjis Aug 21, 2023
cfd8898
Merge pull request #7838 from kenjis/docs-latest-dev
kenjis Aug 21, 2023
411a9bb
Merge pull request #7818 from kenjis/fix-set_checkbox
kenjis Aug 22, 2023
ec2cb6a
Fixed typo in docs/view-parser
sammyskills Aug 22, 2023
1024589
Applied code review suggestion
sammyskills Aug 22, 2023
c8b932b
Update view parser filters doc
sammyskills Aug 22, 2023
6f5e794
Update user_guide_src/source/outgoing/view_parser.rst
sammyskills Aug 22, 2023
c7f7bf2
Update custom filters sample code
sammyskills Aug 23, 2023
afe45d2
Removed PHP Native Function as a Filter content from the docs, as it …
sammyskills Aug 23, 2023
2c06140
Merge pull request #7844 from sammyskills/doc-view-parser-typo
kenjis Aug 23, 2023
4a26b68
Use ::class on MigrationRunnerTest
samsonasik Aug 24, 2023
df2adca
Merge pull request #7847 from samsonasik/class-use
kenjis Aug 25, 2023
5157581
Prep for 4.3.8 release
kenjis Aug 25, 2023
c533a03
docs: remove headings with on items
kenjis Aug 25, 2023
f3967c8
docs: fix release date
kenjis Aug 25, 2023
3e45037
Merge pull request #7848 from kenjis/release-4.3.8
kenjis Aug 25, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/deploy-apidocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'
php-version: '8.1'
tools: phive
coverage: none

- name: Download latest phpDocumentor
working-directory: source
run: sudo phive --no-progress install --global --trust-gpg-keys 67F861C3D889C656 phpDocumentor
run: phive --no-progress install --trust-gpg-keys 8AC0BAA79732DD42 phpDocumentor

- name: Prepare API repo
working-directory: api
Expand All @@ -61,7 +61,7 @@ jobs:
- name: Build API in source repo
working-directory: source
run: |
phpDocumentor run --ansi --verbose
php tools/phpDocumentor run --ansi --verbose
cp -R ${GITHUB_WORKSPACE}/source/api/build/* ${GITHUB_WORKSPACE}/api/docs

- name: Deploy to API repo
Expand Down
76 changes: 76 additions & 0 deletions .github/workflows/test-autoreview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,79 @@ jobs:
php-version: '8.1'
job-id: auto-review-tests
group-name: AutoReview

composer-normalize-tests:
name: Check normalized composer.json
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'

- name: Install dependencies
run: composer update

- name: Run on root composer.json
id: normalize-root-composer
if: ${{ always() }}
run: |
echo "ROOT_COMPOSER_RESULT<<RCR" >> $GITHUB_OUTPUT
echo "$(composer normalize)" >> $GITHUB_OUTPUT
echo "RCR" >> $GITHUB_OUTPUT

- name: Run on framework composer.json
id: normalize-framework-composer
if: ${{ always() }}
working-directory: admin/framework
run: |
echo "FRAMEWORK_COMPOSER_RESULT<<FCR" >> $GITHUB_OUTPUT
echo "$(composer normalize)" >> $GITHUB_OUTPUT
echo "FCR" >> $GITHUB_OUTPUT

- name: Run on starter composer.json
id: normalize-starter-composer
if: ${{ always() }}
working-directory: admin/starter
run: |
echo "STARTER_COMPOSER_RESULT<<SCR" >> $GITHUB_OUTPUT
echo "$(composer normalize)" >> $GITHUB_OUTPUT
echo "SCR" >> $GITHUB_OUTPUT

- name: Analyse normalization results
run: |
if [[ '${{ steps.normalize-root-composer.conclusion }}' == 'failure' ]]; then
echo 'Normalization of root composer.json encountered a problem.';
echo 'Please run it locally: `composer normalize`';
exit 1;
fi

if [[ ${{ contains(steps.normalize-root-composer.outputs.ROOT_COMPOSER_RESULT, 'Successfully normalized') }} == true ]]; then
echo 'Root composer.json is not yet normalized.';
exit 1;
fi

if [[ '${{ steps.normalize-framework-composer.conclusion }}' == 'failure' ]]; then
echo 'Normalization of framework composer.json encountered a problem.';
echo 'Please run it locally: `composer normalize -d admin/framework`';
exit 1;
fi

if [[ ${{ contains(steps.normalize-framework-composer.outputs.FRAMEWORK_COMPOSER_RESULT, 'Successfully normalized') }} == true ]]; then
echo 'Framework composer.json is not yet normalized.';
exit 1;
fi

if [[ '${{ steps.normalize-starter-composer.conclusion }}' == 'failure' ]]; then
echo 'Normalization of starter composer.json encountered a problem.';
echo 'Please run it locally: `composer normalize -d admin/starter`';
exit 1;
fi

if [[ ${{ contains(steps.normalize-starter-composer.outputs.STARTER_COMPOSER_RESULT, 'Successfully normalized') }} == true ]]; then
echo 'Starter composer.json is not yet normalized.';
exit 1;
fi
5 changes: 5 additions & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@
]);

$overrides = [
'php_unit_data_provider_name' => [
'prefix' => 'provide',
'suffix' => '',
],
'php_unit_data_provider_static' => true,
'php_unit_data_provider_return_type' => true,
'no_extra_blank_lines' => [
'tokens' => [
Expand Down
5 changes: 5 additions & 0 deletions .php-cs-fixer.no-header.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@
]);

$overrides = [
'php_unit_data_provider_name' => [
'prefix' => 'provide',
'suffix' => '',
],
'php_unit_data_provider_static' => true,
'php_unit_data_provider_return_type' => true,
'no_extra_blank_lines' => [
'tokens' => [
Expand Down
5 changes: 5 additions & 0 deletions .php-cs-fixer.user-guide.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@
'use',
],
],
'php_unit_data_provider_static' => true,
'php_unit_data_provider_name' => [
'prefix' => 'provide',
'suffix' => '',
],
];

$options = [
Expand Down
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# Changelog

## [v4.3.8](https://github.com/codeigniter4/CodeIgniter4/tree/v4.3.8) (2023-08-25)
[Full Changelog](https://github.com/codeigniter4/CodeIgniter4/compare/v4.3.7...v4.3.8)

### Fixed Bugs

* fix: [Pager] knocks down variables for View by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/7758
* fix: Model::insertBatch() causes error to non auto increment table by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/7759
* fix: [Model] updateBatch() may generate invalid SQL statement by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/7787
* fix: Model inserts cast $primaryKey value when using Entity by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/7806
* fix: instances of Validation rules are incremented each time `run()` is executed by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/7815
* fix: filter except empty by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/7823
* fix: `set_checkbox()` checks unchecked checkbox by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/7818

### Refactoring

* Normalize data provider names by @paulbalandan in https://github.com/codeigniter4/CodeIgniter4/pull/7656
* refactor: remove Model::$tempPrimaryKeyValue by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/7760
* Remove unused cast on RedisHandler by @samsonasik in https://github.com/codeigniter4/CodeIgniter4/pull/7786

## [v4.3.7](https://github.com/codeigniter4/CodeIgniter4/tree/v4.3.7) (2023-07-30)
[Full Changelog](https://github.com/codeigniter4/CodeIgniter4/compare/v4.3.6...v4.3.7)

Expand Down
1 change: 1 addition & 0 deletions admin/RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ the existing content.
```
* Vet the **admin/** folders for any removed hidden files (Action deploy scripts
*do not remove these*)
* git diff --name-status origin/master admin/
* Merge any Security Advisory PRs in private forks

## Process
Expand Down
50 changes: 25 additions & 25 deletions admin/framework/composer.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
{
"name": "codeigniter4/framework",
"type": "project",
"description": "The CodeIgniter framework v4",
"homepage": "https://codeigniter.com",
"license": "MIT",
"type": "project",
"homepage": "https://codeigniter.com",
"support": {
"forum": "https://forum.codeigniter.com/",
"source": "https://github.com/codeigniter4/CodeIgniter4",
"slack": "https://codeigniterchat.slack.com"
},
"require": {
"php": "^7.4 || ^8.0",
"ext-intl": "*",
Expand All @@ -13,39 +18,34 @@
"psr/log": "^1.1"
},
"require-dev": {
"kint-php/kint": "^5.0.4",
"codeigniter/coding-standard": "^1.5",
"fakerphp/faker": "^1.9",
"friendsofphp/php-cs-fixer": "3.13.0",
"kint-php/kint": "^5.0.4",
"mikey179/vfsstream": "^1.6",
"nexusphp/cs-config": "^3.6",
"phpunit/phpunit": "^9.1",
"predis/predis": "^1.1 || ^2.0"
},
"suggest": {
"ext-curl": "If you use CURLRequest class",
"ext-imagick": "If you use Image class ImageMagickHandler",
"ext-gd": "If you use Image class GDHandler",
"ext-dom": "If you use TestResponse",
"ext-exif": "If you run Image class tests",
"ext-simplexml": "If you format XML",
"ext-fileinfo": "Improves mime type detection for files",
"ext-gd": "If you use Image class GDHandler",
"ext-imagick": "If you use Image class ImageMagickHandler",
"ext-libxml": "If you use TestResponse",
"ext-memcache": "If you use Cache class MemcachedHandler with Memcache",
"ext-memcached": "If you use Cache class MemcachedHandler with Memcached",
"ext-mysqli": "If you use MySQL",
"ext-oci8": "If you use Oracle Database",
"ext-pgsql": "If you use PostgreSQL",
"ext-sqlsrv": "If you use SQL Server",
"ext-sqlite3": "If you use SQLite3",
"ext-memcache": "If you use Cache class MemcachedHandler with Memcache",
"ext-memcached": "If you use Cache class MemcachedHandler with Memcached",
"ext-readline": "Improves CLI::input() usability",
"ext-redis": "If you use Cache class RedisHandler",
"ext-dom": "If you use TestResponse",
"ext-libxml": "If you use TestResponse",
"ext-xdebug": "If you use CIUnitTestCase::assertHeaderEmitted()",
"ext-fileinfo": "Improves mime type detection for files",
"ext-readline": "Improves CLI::input() usability"
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true
"ext-simplexml": "If you format XML",
"ext-sqlite3": "If you use SQLite3",
"ext-sqlsrv": "If you use SQL Server",
"ext-xdebug": "If you use CIUnitTestCase::assertHeaderEmitted()"
},
"autoload": {
"psr-4": {
Expand All @@ -55,12 +55,12 @@
"**/Database/Migrations/**"
]
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true
},
"scripts": {
"test": "phpunit"
},
"support": {
"forum": "https://forum.codeigniter.com/",
"source": "https://github.com/codeigniter4/CodeIgniter4",
"slack": "https://codeigniterchat.slack.com"
}
}
24 changes: 12 additions & 12 deletions admin/starter/composer.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
{
"name": "codeigniter4/appstarter",
"type": "project",
"description": "CodeIgniter4 starter app",
"homepage": "https://codeigniter.com",
"license": "MIT",
"type": "project",
"homepage": "https://codeigniter.com",
"support": {
"forum": "https://forum.codeigniter.com/",
"source": "https://github.com/codeigniter4/CodeIgniter4",
"slack": "https://codeigniterchat.slack.com"
},
"require": {
"php": "^7.4 || ^8.0",
"codeigniter4/framework": "^4.0"
Expand All @@ -13,11 +18,6 @@
"mikey179/vfsstream": "^1.6",
"phpunit/phpunit": "^9.1"
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true
},
"autoload": {
"exclude-from-classmap": [
"**/Database/Migrations/**"
Expand All @@ -28,12 +28,12 @@
"Tests\\Support\\": "tests/_support"
}
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true
},
"scripts": {
"test": "phpunit"
},
"support": {
"forum": "https://forum.codeigniter.com/",
"source": "https://github.com/codeigniter4/CodeIgniter4",
"slack": "https://codeigniterchat.slack.com"
}
}
Loading