Skip to content

Commit 2b0018b

Browse files
committed
fix valStr in Database\BaseBuilder
2 parents 51948c2 + 2222d8b commit 2b0018b

310 files changed

Lines changed: 9405 additions & 2912 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
CodeIgniter is a PHP full-stack web framework that is light, fast, flexible, and secure.
1010
More information can be found at the [official site](http://codeigniter.com).
1111

12-
This repository holds the alpha code for CodeIgniter 4 only.
12+
This repository holds the source code for CodeIgniter 4 only.
1313
Version 4 is a complete rewrite to bring the quality and the code into a more modern version,
1414
while still keeping as many of the things intact that has made people love the framework over the years.
1515

@@ -19,9 +19,12 @@ More information about the plans for version 4 can be found in [the announcement
1919

2020
### Documentation
2121

22-
The current in-progress documentation can be found [here](https://codeigniter4.github.io/CodeIgniter4/).
23-
As with the rest of the framework, it is currently a work in progress, and will see changes over time to structure, explanations, etc.
22+
The [User Guide](https://codeigniter4.github.io/userguide/) is the primary documentation for CodeIgniter 4.
2423

24+
The current **in-progress** User Guide can be found [here](https://codeigniter4.github.io/CodeIgniter4/).
25+
As with the rest of the framework, it is a work in progress, and will see changes over time to structure, explanations, etc.
26+
27+
You might also be interested in the [API documentation](https://codeigniter4.github.io/api/) for the framework components.
2528

2629
## Important Change with index.php
2730

admin/framework/README.md

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -31,26 +31,12 @@ The user guide updating and deployment is a bit awkward at the moment, but we ar
3131

3232
## Repository Management
3333

34-
We use Github issues to track **BUGS** and to track approved **DEVELOPMENT** work packages.
34+
We use Github issues, in our main repository, to track **BUGS** and to track approved **DEVELOPMENT** work packages.
3535
We use our [forum](http://forum.codeigniter.com) to provide SUPPORT and to discuss
3636
FEATURE REQUESTS.
3737

38-
If you raise an issue here that pertains to support or a feature request, it will
39-
be closed! If you are not sure if you have found a bug, raise a thread on the forum first -
40-
someone else may have encountered the same thing.
41-
42-
Before raising a new Github issue, please check that your bug hasn't already
43-
been reported or fixed.
44-
45-
We use pull requests (PRs) for CONTRIBUTIONS to the repository.
46-
We are looking for contributions that address one of the reported bugs or
47-
approved work packages.
48-
49-
Do not use a PR as a form of feature request.
50-
Unsolicited contributions will only be considered if they fit nicely
51-
into the framework roadmap.
52-
Remember that some components that were part of CodeIgniter 3 are being moved
53-
to optional packages, with their own repository.
38+
This repository is a "distribution" one, built by our release preparation script.
39+
Problems with it can be raised on our forum, or as issues in the main repository.
5440

5541
## Contributing
5642

admin/framework/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
},
2626
"scripts": {
2727
"post-update-cmd": [
28-
"composer dump-autoload",
28+
"@composer dump-autoload",
2929
"CodeIgniter\\ComposerScripts::postUpdate"
3030
]
3131
},

admin/framework/phpunit.xml.dist

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,11 @@
1212
<testsuites>
1313
<testsuite name="app">
1414
<directory>./tests</directory>
15-
<exclude>./tests/system</exclude>
1615
</testsuite>
1716
</testsuites>
18-
19-
<filter>
20-
<whitelist processUncoveredFilesFromWhitelist="true">
21-
<directory suffix=".php">./system</directory>
22-
<exclude>
23-
<directory>./system</directory>
24-
</exclude>
25-
</whitelist>
26-
</filter>
17+
18+
<php>
19+
<env name="app.baseURL" value="http://example.com"/>
20+
</php>
2721

2822
</phpunit>

admin/release-appstarter

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ for fff in $releasable ; do
2020
cp -rf ${CI_DIR}/$fff .
2121
done
2222

23+
rm -rf tests
24+
mkdir tests
25+
cp -rf ${CI_DIR}/tests/_support tests/
26+
2327
echo -e "${BOLD}Override as needed...${NORMAL}"
2428
cp -rf ${CI_DIR}/admin/starter/* .
2529

admin/release-deploy

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@ echo '-------------------------------'
77

88
. admin/release-config
99

10-
echo -e "${BOLD}Merge release into master${NORMAL}"
11-
git checkout master
12-
git merge $branch
13-
git push origin master
14-
git push ${CI_ORG}/CodeIgniter4 master
15-
1610
echo -e "${BOLD}Merge release into develop${NORMAL}"
1711
git checkout develop
1812
git merge $branch
1913
git push origin develop
2014
git push ${CI_ORG}/CodeIgniter4 develop
2115

16+
echo -e "${BOLD}Merge develop into master${NORMAL}"
17+
git checkout master
18+
git merge develop
19+
git push origin master
20+
git push ${CI_ORG}/CodeIgniter4 master
21+
2222
echo -e "${BOLD}Pushing to the user guide repository${NORMAL}"
2323
cd ${CI_DIR}/dist/userguide
2424
git push origin master

admin/starter/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,4 +123,4 @@ nb-configuration.xml
123123
.vscode/
124124

125125
/results/
126-
/phpunit*.xml
126+
/phpunit*.xml

admin/starter/README.md

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,6 @@ It has been built from the
1111

1212
**This is pre-release code and should not be used in production sites.**
1313

14-
---
15-
16-
**CAUTION: This app starter is EXPERIMENTAL, and likely to change before
17-
the framework release. We are looking for feedback and suggestions!**
18-
19-
---
20-
2114
More information about the plans for version 4 can be found in [the announcement](http://forum.codeigniter.com/thread-62615.html) on the forums.
2215

2316
The user guide corresponding to this version of the framework can be found
@@ -28,6 +21,10 @@ The user guide corresponding to this version of the framework can be found
2821
`composer create-project codeigniter4/appstarter` then `composer update` whenever
2922
there is a new release of the framework.
3023

24+
When updating, check the release notes to see if there are any changes you might need to apply
25+
to your `app` folder. The affected files can be copied or merged from
26+
`vendor/codeigniter4/framework/app`.
27+
3128
## Setup
3229

3330
Copy `env` to `.env` and tailor for your app, specifically the baseURL
@@ -45,6 +42,15 @@ framework are exposed.
4542
**Please** read the user guide for a better explanation of how CI4 works!
4643
The user guide updating and deployment is a bit awkward at the moment, but we are working on it!
4744

45+
## Repository Management
46+
47+
We use Github issues, in our main repository, to track **BUGS** and to track approved **DEVELOPMENT** work packages.
48+
We use our [forum](http://forum.codeigniter.com) to provide SUPPORT and to discuss
49+
FEATURE REQUESTS.
50+
51+
This repository is a "distribution" one, built by our release preparation script.
52+
Problems with it can be raised on our forum, or as issues in the main repository.
53+
4854
## Server Requirements
4955

5056
PHP version 7.2 or higher is required, with the following extensions installed:

admin/starter/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
},
1515
"scripts": {
1616
"post-update-cmd": [
17-
"composer dump-autoload"
17+
"@composer dump-autoload"
1818
]
1919
},
2020
"support": {

admin/starter/phpunit.xml.dist

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,11 @@
1212
<testsuites>
1313
<testsuite name="app">
1414
<directory>./tests</directory>
15-
<exclude>./tests/system</exclude>
1615
</testsuite>
1716
</testsuites>
1817

19-
<filter>
20-
<whitelist processUncoveredFilesFromWhitelist="true">
21-
<directory suffix=".php">./system</directory>
22-
<exclude>
23-
<directory>./system</directory>
24-
</exclude>
25-
</whitelist>
26-
</filter>
18+
<php>
19+
<env name="app.baseURL" value="http://example.com"/>
20+
</php>
2721

2822
</phpunit>

0 commit comments

Comments
 (0)