diff --git a/.codecov.yml b/.codecov.yml deleted file mode 100644 index 9e7c83829..000000000 --- a/.codecov.yml +++ /dev/null @@ -1,3 +0,0 @@ -comment: false -codecov: - branch: master diff --git a/README.md b/README.md index ea474ce83..b709774f9 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,7 @@ ## Silverstripe Framework [![CI](https://github.com/silverstripe/silverstripe-framework/actions/workflows/ci.yml/badge.svg)](https://github.com/silverstripe/silverstripe-framework/actions/workflows/ci.yml) -[![Build Docs](https://github.com/silverstripe/silverstripe-framework/workflows/Build%20Docs/badge.svg)](https://docs.silverstripe.org/) -[![Latest Stable Version](https://poser.pugx.org/silverstripe/framework/version.svg)](https://www.silverstripe.org/stable-download/) -[![Latest Unstable Version](https://poser.pugx.org/silverstripe/framework/v/unstable.svg)](https://packagist.org/packages/silverstripe/framework) -[![codecov](https://codecov.io/gh/silverstripe/silverstripe-framework/branch/master/graph/badge.svg)](https://codecov.io/gh/silverstripe/silverstripe-framework) -[![SilverStripe supported module](https://img.shields.io/badge/silverstripe-supported-0071C4.svg)](https://www.silverstripe.org/software/addons/silverstripe-commercially-supported-module-list/) -[![Total Downloads](https://poser.pugx.org/silverstripe/framework/downloads.svg)](https://packagist.org/packages/silverstripe/framework) -[![License](https://poser.pugx.org/silverstripe/framework/license.svg)](https://github.com/silverstripe/silverstripe-framework#license) +[![Silverstripe supported module](https://img.shields.io/badge/silverstripe-supported-0071C4.svg)](https://www.silverstripe.org/software/addons/silverstripe-commercially-supported-module-list/) PHP framework forming the base for the Silverstripe CMS ([https://silverstripe.org](https://silverstripe.org)). Requires a [`silverstripe-installer`](https://github.com/silverstripe/silverstripe-installer) base project. Typically used alongside the [`cms`](https://github.com/silverstripe/silverstripe-cms) module. diff --git a/src/Dev/Backtrace.php b/src/Dev/Backtrace.php index deae15921..cd4fa92fc 100644 --- a/src/Dev/Backtrace.php +++ b/src/Dev/Backtrace.php @@ -95,7 +95,7 @@ class Backtrace } } if ($match) { - foreach ($frame['args'] as $j => $arg) { + foreach ($bt[$i]['args'] ?? [] as $j => $arg) { $bt[$i]['args'][$j] = ''; } }