-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5294 from codeigniter4/develop
4.1.5 Ready code
- Loading branch information
Showing
392 changed files
with
15,217 additions
and
6,870 deletions.
There are no files selected for viewing
This file contains 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
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
name: Bug report | ||
description: Create a report to help us improve CodeIgniter | ||
title: "Bug: " | ||
labels: ['bug'] | ||
|
||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thanks for taking the time to fill out this bug report! | ||
Before you begin, **please ensure that there are no existing issues, | ||
whether still open or closed, related to your report**. | ||
If there is, your report will be closed promptly. | ||
And if you are not using the [latest version](https://github.com/codeigniter4/CodeIgniter4/releases) of CodeIgniter, please update. | ||
--- | ||
- type: dropdown | ||
id: php-version | ||
attributes: | ||
label: PHP Version | ||
description: Which PHP versions did you run your code? | ||
multiple: true | ||
options: | ||
- '7.3' | ||
- '7.4' | ||
- '8.0' | ||
- '8.1' | ||
validations: | ||
required: true | ||
|
||
- type: input | ||
id: codeigniter-version | ||
attributes: | ||
label: CodeIgniter4 Version | ||
validations: | ||
required: true | ||
|
||
- type: dropdown | ||
id: operating-systems | ||
attributes: | ||
label: Which operating systems have you tested for this bug? | ||
description: You may select more than one. | ||
multiple: true | ||
options: | ||
- macOS | ||
- Windows | ||
- Linux | ||
validations: | ||
required: true | ||
|
||
- type: dropdown | ||
id: server | ||
attributes: | ||
label: Which server did you use? | ||
options: | ||
- apache | ||
- cli | ||
- cli-server (PHP built-in webserver) | ||
- cgi-fcgi | ||
- fpm-fcgi | ||
- phpdbg | ||
validations: | ||
required: true | ||
|
||
- type: input | ||
id: database | ||
attributes: | ||
label: Database | ||
validations: | ||
required: false | ||
|
||
- type: textarea | ||
id: description | ||
attributes: | ||
label: What happened? | ||
placeholder: Tell us what you see! | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Steps to Reproduce | ||
description: Steps to reproduce the behavior. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Expected Output | ||
description: What do you expect to happen instead of this filed bug? | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Anything else? | ||
description: | | ||
Links? References? Anything that will give us more context about the issue you are encountering! | ||
Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in. | ||
validations: | ||
required: false |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: CodeIgniter Forum | ||
url: https://forum.codeigniter.com | ||
about: Please ask your support questions in the forums. Thanks! | ||
|
||
- name: CodeIgniter Slack channel | ||
url: https://codeigniterchat.slack.com | ||
about: Engage with other members of the community in our Slack channel. |
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
# When a PR is opened or a push is made, perform an | ||
# architectural inspection on the code using Deptrac. | ||
name: Deptrac | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- 'develop' | ||
- '4.*' | ||
paths: | ||
- 'app/**' | ||
- 'system/**' | ||
- 'composer.json' | ||
- 'depfile.yaml' | ||
- '.github/workflows/test-deptrac.yml' | ||
push: | ||
branches: | ||
- 'develop' | ||
- '4.*' | ||
paths: | ||
- 'app/**' | ||
- 'system/**' | ||
- 'composer.json' | ||
- 'depfile.yaml' | ||
- '.github/workflows/test-deptrac.yml' | ||
|
||
jobs: | ||
build: | ||
name: Architectural Inspection | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: '8.0' | ||
tools: composer, phive | ||
extensions: intl, json, mbstring, gd, mysqlnd, xdebug, xml, sqlite3 | ||
|
||
- name: Validate composer.json | ||
run: composer validate --strict | ||
|
||
- name: Get composer cache directory | ||
id: composer-cache | ||
run: echo "::set-output name=dir::$(composer config cache-files-dir)" | ||
|
||
- name: Create composer cache directory | ||
run: mkdir -p ${{ steps.composer-cache.outputs.dir }} | ||
|
||
- name: Cache composer dependencies | ||
uses: actions/cache@v2 | ||
with: | ||
path: ${{ steps.composer-cache.outputs.dir }} | ||
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} | ||
restore-keys: ${{ runner.os }}-composer- | ||
|
||
- name: Create Deptrac cache directory | ||
run: mkdir -p build/ | ||
|
||
- name: Cache Deptrac results | ||
uses: actions/cache@v2 | ||
with: | ||
path: build | ||
key: ${{ runner.os }}-deptrac-${{ github.sha }} | ||
restore-keys: ${{ runner.os }}-deptrac- | ||
|
||
- name: Install dependencies | ||
run: composer update --ansi --no-interaction | ||
|
||
- name: Run architectural inspection | ||
run: | | ||
sudo phive --no-progress install --global qossmic/deptrac --trust-gpg-keys B8F640134AB1782E | ||
deptrac analyze --cache-file=build/deptrac.cache |
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,18 +6,22 @@ name: Test User Guide | |
|
||
on: | ||
pull_request: | ||
branches: | ||
- 'develop' | ||
- '4.*' | ||
paths: | ||
- 'user_guide_src/**' | ||
- '.github/workflows/test-userguide.yml' | ||
|
||
jobs: | ||
syntax_check: | ||
name: Check User Guide syntax | ||
runs-on: ubuntu-20.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Detect usage of tabs in RST files | ||
run: php utils/check_tabs_in_rst.php | ||
|
||
- uses: ammaraskar/[email protected] | ||
with: | ||
docs-folder: user_guide_src |
This file contains 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
Oops, something went wrong.