#174 NEW Extension to exclude ChangeSetItem from used on table

Merged Steve Boyd emteknetnz
Showing 1 of 2 files from the diff.
Other files ignored by Codecov
_config/cms.yml has changed.

@@ -0,0 +1,18 @@
Loading
1 +
<?php
2 +
3 +
namespace SilverStripe\VersionedAdmin\Extensions;
4 +
5 +
use SilverStripe\Core\Extension;
6 +
use SilverStripe\Versioned\ChangeSetItem;
7 +
8 +
class UsedOnTableExtension extends Extension
9 +
{
10 +
11 +
    /**
12 +
     * @var array $excludedClasses
13 +
     */
14 +
    public function updateUsageExcludedClasses(array &$excludedClasses)
15 +
    {
16 +
        $excludedClasses[] = ChangeSetItem::class;
17 +
    }
18 +
}

Learn more Showing 1 files with coverage changes found.

New file src/Extensions/UsedOnTableExtension.php
New
Loading file...
Files Complexity Coverage
src ø -0.15% 42.86%
Project Totals (14 files) 171 42.86%
Loading