Completed
Push — authenticator-refactor ( 638690...7dc887 )
by Simon
06:10
created
tests/php/Core/Startup/ParameterConfirmationTokenTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -10,6 +10,9 @@
 block discarded – undo
10 10
 class ParameterConfirmationTokenTest extends SapphireTest
11 11
 {
12 12
 
13
+    /**
14
+     * @param string $part
15
+     */
13 16
     private function addPart($answer, $slash, $part)
14 17
     {
15 18
         $bare = str_replace('/', '', $part);
Please login to merge, or discard this patch.
tests/php/Dev/DevAdminControllerTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -59,6 +59,9 @@  discard block
 block discarded – undo
59 59
 
60 60
 
61 61
 
62
+    /**
63
+     * @param string $url
64
+     */
62 65
     protected function getCapture($url)
63 66
     {
64 67
         $this->logInWithPermission('ADMIN');
@@ -71,6 +74,9 @@  discard block
 block discarded – undo
71 74
         return $r;
72 75
     }
73 76
 
77
+    /**
78
+     * @param string $url
79
+     */
74 80
     protected function getAndCheckForError($url)
75 81
     {
76 82
         $this->logInWithPermission('ADMIN');
Please login to merge, or discard this patch.
tests/php/Forms/EmailFieldTest.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -40,6 +40,11 @@
 block discarded – undo
40 40
         $this->internalCheck("domain.but.no.user", "Invalid, no user part", false);
41 41
     }
42 42
 
43
+    /**
44
+     * @param string $email
45
+     * @param string $checkText
46
+     * @param boolean $expectSuccess
47
+     */
43 48
     public function internalCheck($email, $checkText, $expectSuccess)
44 49
     {
45 50
         $field = new EmailField("MyEmail");
Please login to merge, or discard this patch.
tests/php/Forms/GridField/GridFieldAddExistingAutocompleterTest.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\Tests\GridField;
4 4
 
5
-use SilverStripe\Dev\Debug;
6 5
 use SilverStripe\Forms\Tests\GridField\GridFieldAddExistingAutocompleterTest\TestController;
7 6
 use SilverStripe\Forms\Tests\GridField\GridFieldTest\Cheerleader;
8 7
 use SilverStripe\Forms\Tests\GridField\GridFieldTest\Permissions;
Please login to merge, or discard this patch.
tests/php/Forms/HTMLEditor/HTMLEditorSanitiserTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use SilverStripe\Core\Injector\Injector;
6 6
 use SilverStripe\Dev\FunctionalTest;
7 7
 use SilverStripe\Forms\HTMLEditor\HTMLEditorConfig;
8
-use SilverStripe\Forms\HTMLEditor\HTMLEditorSanitiser;
9 8
 
10 9
 class HTMLEditorSanitiserTest extends FunctionalTest
11 10
 {
Please login to merge, or discard this patch.
tests/php/Forms/TimeFieldTest.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\Forms\Tests;
4 4
 
5 5
 use IntlDateFormatter;
6
-use SilverStripe\Core\Config\Config;
7 6
 use SilverStripe\Dev\SapphireTest;
8 7
 use SilverStripe\Forms\TimeField;
9 8
 use SilverStripe\Forms\RequiredFields;
Please login to merge, or discard this patch.
tests/php/ORM/DBDatetimeTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use SilverStripe\i18n\i18n;
6 6
 use SilverStripe\ORM\FieldType\DBDatetime;
7 7
 use SilverStripe\Dev\SapphireTest;
8
-use SilverStripe\Security\Member;
9 8
 
10 9
 /**
11 10
  * Tests for {@link Datetime} class.
Please login to merge, or discard this patch.
tests/php/ORM/DBTimeTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use SilverStripe\ORM\FieldType\DBField;
7 7
 use SilverStripe\Dev\SapphireTest;
8 8
 use SilverStripe\ORM\FieldType\DBTime;
9
-use SilverStripe\Security\Member;
10 9
 
11 10
 class DBTimeTest extends SapphireTest
12 11
 {
Please login to merge, or discard this patch.
tests/php/View/ContentNegotiatorTest.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -14,6 +14,7 @@
 block discarded – undo
14 14
     /**
15 15
      * Small helper to render templates from strings
16 16
      * Cloned from SSViewerTest
17
+     * @param string $templateString
17 18
      */
18 19
     private function render($templateString, $data = null)
19 20
     {
Please login to merge, or discard this patch.