mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
8c3ba81052
* FIX PHP 8.1 support in MySQLiConnector::query errors The default error reporting mode in PHP 8.1 has changed from using errors reported on the connection handle to throwing mysqli_sql_exception. query() makes no allowance for this, and functions up the call stack expect to catch Silverstripe\ORM\Connect\DatabaseException instead - resulting in the MySQLi exception going all the way up to halt the system. We can use a try, catch, and finally to retain backwards compatibility, no matter which setting (e.g. PHP version default) someone has enabled. * Move MySQLConnector test skip call into setUp() As review feedback; marking the test as skipped in a private function obfuscated where the call was happening and made it harder to skimread the tests. Moving this into a setUp function makes it obvious the check is run before each test case, and skipped if necessary. |
||
---|---|---|
_config | ||
.github | ||
.tx | ||
client | ||
lang | ||
src | ||
templates | ||
tests | ||
thirdparty | ||
_config.php | ||
_register_database.php | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.upgrade.yml | ||
cli-script.php | ||
composer.json | ||
CONTRIBUTING.md | ||
LICENSE | ||
phpcs.xml.dist | ||
phpunit.xml.dist | ||
README.md | ||
sake | ||
silverstripe_version | ||
SUPPORT.md |
Silverstripe Framework
PHP framework forming the base for the Silverstripe CMS (https://silverstripe.org).
Requires a silverstripe-installer
base project. Typically used alongside the cms
module.
Installation
See getting started, for instructions on how to start the installation process.
Bugtracker
Bugs are tracked on github.com. Please read our issue reporting guidelines.
Development and Contribution
If you would like to make changes to the Silverstripe core codebase, we have an extensive guide to contributing code.
Links
- Server Requirements
- Changelogs
- Bugtracker: Framework
- Bugtracker: CMS
- Bugtracker: Installer
- Forums
- Developer Mailinglist
- License
Attribution
- Some icons by Yusuke Kamiyamane. All rights reserved. Licensed under a Creative Commons Attribution 3.0 License.
- default_media.png by Thibault Geffroy from The Noun Project. All rights reserved. Licensed under a Creative Commons Attribution 3.0 License.