Compare da95f7f ... +33 ... e3b64d5

No flags found

Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.

e.g., #unittest #integration

#production #enterprise

#frontend #backend

Learn more about Codecov Flags here.

Showing 2 of 18 files from the diff.

@@ -13,6 +13,7 @@
Loading
13 13
use SilverStripe\ORM\DataExtension;
14 14
use SilverStripe\ORM\DataQuery;
15 15
use SilverStripe\ORM\FieldType\DBDatetime;
16 +
use SilverStripe\ORM\FieldType\DBHTMLText;
16 17
use SilverStripe\ORM\Queries\SQLSelect;
17 18
use SilverStripe\Security\Member;
18 19
use SilverStripe\Security\Permission;
@@ -126,20 +127,20 @@
Loading
126 127
                    'DesiredPublishDate',
127 128
                    _t('WorkflowEmbargoExpiryExtension.REQUESTED_PUBLISH_DATE', 'Requested publish date')
128 129
                )->setRightTitle(
129 -
                    _t(
130 +
                    DBHTMLText::create()->setValue(_t(
130 131
                        'WorkflowEmbargoExpiryExtension.REQUESTED_PUBLISH_DATE_RIGHT_TITLE',
131 132
                        'To request this page to be <strong>published immediately</strong> '
132 133
                        . 'leave the date and time fields blank'
133 -
                    )
134 +
                    ))
134 135
                ),
135 136
                $ut = DatetimeField::create(
136 137
                    'DesiredUnPublishDate',
137 138
                    _t('WorkflowEmbargoExpiryExtension.REQUESTED_UNPUBLISH_DATE', 'Requested un-publish date')
138 139
                )->setRightTitle(
139 -
                    _t(
140 +
                    DBHTMLText::create()->setValue(_t(
140 141
                        'WorkflowEmbargoExpiryExtension.REQUESTED_UNPUBLISH_DATE_RIGHT_TITLE',
141 142
                        'To request this page to <strong>never expire</strong> leave the date and time fields blank'
142 -
                    )
143 +
                    ))
143 144
                ),
144 145
                DatetimeField::create(
145 146
                    'PublishOnDate',

@@ -430,7 +430,7 @@
Loading
430 430
        $tmp = [];
431 431
432 432
        foreach ($defs as $def) {
433 -
            $parts = preg_split("#\s#", $def, -1, PREG_SPLIT_NO_EMPTY);
433 +
            $parts = preg_split("#\s#", preg_quote($def, '#'), -1, PREG_SPLIT_NO_EMPTY);
434 434
            $lastPart = array_pop($parts);
435 435
            $match = implode(' ', $parts);
436 436
            // @todo do all this in one preg_match_all() call

Learn more Showing 5 files with coverage changes found.

Changes in src/Extensions/WorkflowEmbargoExpiryExtension.php
-103
+103
Loading file...
Changes in src/Jobs/WorkflowPublishTargetJob.php
-12
+12
Loading file...
Changes in src/Actions/PublishItemWorkflowAction.php
-10
+10
Loading file...
Changes in src/Services/WorkflowService.php
-20
+20
Loading file...
Changes in src/Extensions/WorkflowApplicable.php
-9
+9
Loading file...

35 Commits

Hiding 1 contexual commits
-20
-155
+135
Hiding 2 contexual commits
Hiding 1 contexual commits
+20
+1
+19
Files Complexity Coverage
src ø -5.75% 16.40%
Project Totals (35 files) 870 16.40%
Loading