Go to file
Dylan Wagstaff 92061a3ba6
FIX stabilise typed APIs (#10740)
Since 4.12 the use of typehints and return types has caused issues with
values fetched directly from config without validation. This has lead to
upgrade woes in a minor version (#10721) with no immediate recourse
other than manual system intervention.

To use types, we should ensure types, leaving a stable API that won't
error on a bad value - or should give a thoughtful and directive error
message if so.

Issue #10721 summary:
SessionMiddleware runs before FlushMiddleware
SessionMiddleware causes a PHP fatal error passing `null` to a `string`
parameter.
`null` comes from config, because default string value doesn't exist. We
need flush for this - but system execution never makes it that far.
2023-04-11 10:52:41 +12:00
_config ENH Update list of methods to have filtered args in backtrace. 2022-06-23 15:18:28 +12:00
.github MNT Only run cron on silverstripe account 2022-07-28 15:18:16 +12:00
.tx remove js transifex 2017-04-28 14:59:42 +12:00
client NEW: Improved task runner UI. (#9540) 2020-08-26 11:11:13 +12:00
lang Update translations 2022-11-10 01:56:20 +00:00
src FIX stabilise typed APIs (#10740) 2023-04-11 10:52:41 +12:00
templates NEW: Improved task runner UI. (#9540) 2020-08-26 11:11:13 +12:00
tests Merge branch '4.11' into 4.12-release 2022-11-30 10:54:02 +13:00
thirdparty ENH Add PHP 8.1 safe null-coalescing operators to peg file 2022-09-15 12:59:05 +12:00
_config.php Bump deprecation to 4.0 in preparation for rc and stable tags 2017-08-29 15:02:36 +12:00
_register_database.php Use short array syntax across the framework's codebase 2020-05-16 10:34:45 +01:00
.editorconfig Update composer.json 2017-10-12 11:53:12 +13:00
.gitattributes MNT Move docs to new repository (#10394) 2022-07-12 12:46:13 +12:00
.gitignore Ignore assets dir that can be created on dev/build 2018-09-29 22:52:08 +01:00
.upgrade.yml Merge tag '4.6.0' into 4.6 2020-07-13 12:26:06 +12:00
cli-script.php NEW NullDatabase (#10016) 2022-02-04 10:07:27 +13:00
composer.json config: add symfony/filesystem to base dependencies 2022-08-05 21:26:45 +12:00
CONTRIBUTING.md MNT Move docs to new repository (#10394) 2022-07-12 12:46:13 +12:00
LICENSE Create licence file so that GitHub (and humans) can more easily find it 2018-02-12 11:21:03 +00:00
phpcs.xml.dist MNT Travis shared config 2020-12-22 11:43:54 +13:00
phpunit.xml.dist API Upgrade SapphireTest to work with phpunit 9 (#10028) 2021-10-27 15:39:47 +13:00
README.md Update README.md 2022-10-07 16:08:20 +13:00
sake Add check for existence of 'which' command before proceeding with the script 2019-11-26 11:24:44 +00:00
silverstripe_version API CHANGE silverstripe_version file now contains the plain version number, rather than an SVN path 2012-02-01 18:42:21 +01:00
SUPPORT.md MNT Move docs to new repository (#10394) 2022-07-12 12:46:13 +12:00

Silverstripe Framework

CI Silverstripe supported module

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.

Attribution