Completed
Push — env-error ( 59c888...5d4429 )
by Sam
06:26
created
src/Forms/HTMLEditor/HTMLEditorSanitiser.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use DOMAttr;
6 6
 use DOMElement;
7
-use DOMNode;
8 7
 use SilverStripe\Core\Injector\Injectable;
9 8
 use SilverStripe\View\Parsers\HTMLValue;
10 9
 use stdClass;
Please login to merge, or discard this patch.
src/Forms/InlineFormAction.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace SilverStripe\Forms;
4 4
 
5
-use SilverStripe\View\Requirements;
6
-
7 5
 /**
8 6
  * Render a button that will submit the form its contained in through ajax.
9 7
  *
Please login to merge, or discard this patch.
src/ORM/FieldType/DBText.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use SilverStripe\Core\Config\Config;
6 6
 use SilverStripe\Core\Convert;
7
-use SilverStripe\Core\Injector\Injector;
8 7
 use SilverStripe\Forms\TextareaField;
9 8
 use SilverStripe\Forms\NullableField;
10 9
 use SilverStripe\Forms\TextField;
Please login to merge, or discard this patch.
src/ORM/Queries/SQLSelect.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace SilverStripe\ORM\Queries;
4 4
 
5 5
 use SilverStripe\Core\Injector\Injector;
6
-use SilverStripe\Dev\Deprecation;
7 6
 use SilverStripe\ORM\DB;
8 7
 use InvalidArgumentException;
9 8
 
Please login to merge, or discard this patch.
src/Security/PermissionCheckboxSetField.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use SilverStripe\ORM\SS_List;
8 8
 use SilverStripe\ORM\ArrayList;
9 9
 use SilverStripe\ORM\DataObjectInterface;
10
-use SilverStripe\View\Requirements;
11 10
 use InvalidArgumentException;
12 11
 
13 12
 /**
Please login to merge, or discard this patch.
tests/php/Security/SecurityTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -11,11 +11,9 @@
 block discarded – undo
11 11
 use SilverStripe\Security\Member;
12 12
 use SilverStripe\Security\MemberAuthenticator;
13 13
 use SilverStripe\Security\Security;
14
-use SilverStripe\Security\Permission;
15 14
 use SilverStripe\Core\Config\Config;
16 15
 use SilverStripe\Core\Convert;
17 16
 use SilverStripe\Dev\FunctionalTest;
18
-use SilverStripe\Dev\TestOnly;
19 17
 use SilverStripe\Control\HTTPResponse;
20 18
 use SilverStripe\Control\Session;
21 19
 use SilverStripe\Control\Director;
Please login to merge, or discard this patch.
src/Forms/GridField/GridFieldImportButton.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace SilverStripe\Forms\GridField;
4 4
 
5
-use SilverStripe\Control\Session;
6 5
 use SilverStripe\Core\Injector\Injectable;
7 6
 use SilverStripe\Forms\Form;
8 7
 use SilverStripe\View\ArrayData;
Please login to merge, or discard this patch.
src/Forms/UploadField.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -13,13 +13,11 @@
 block discarded – undo
13 13
 use SilverStripe\ORM\SS_List;
14 14
 use SilverStripe\ORM\DataObject;
15 15
 use SilverStripe\ORM\ArrayList;
16
-use SilverStripe\ORM\ValidationException;
17 16
 use SilverStripe\Security\Permission;
18 17
 use SilverStripe\View\ArrayData;
19 18
 use SilverStripe\View\ViewableData;
20 19
 use SilverStripe\View\ViewableData_Customised;
21 20
 use InvalidArgumentException;
22
-use Exception;
23 21
 
24 22
 /**
25 23
  * Field for uploading single or multiple files of all types, including images.
Please login to merge, or discard this patch.
src/Security/ChangePasswordForm.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@  discard block
 block discarded – undo
4 4
 
5 5
 use SilverStripe\Control\Controller;
6 6
 use SilverStripe\Control\HTTPResponse;
7
-use SilverStripe\Core\Convert;
8 7
 use SilverStripe\Control\Session;
9 8
 use SilverStripe\Control\Director;
10 9
 use SilverStripe\Control\HTTP;
@@ -14,7 +13,6 @@  discard block
 block discarded – undo
14 13
 use SilverStripe\Forms\FormAction;
15 14
 use SilverStripe\Forms\HiddenField;
16 15
 use SilverStripe\Forms\Form;
17
-use SilverStripe\ORM\ValidationResult;
18 16
 
19 17
 /**
20 18
  * Standard Change Password Form
Please login to merge, or discard this patch.