Completed
Push — 1.10 ( e9a5f6...3ed15e )
by Robbie
02:48
created
tests/CwpStatsReportTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
 
13 13
 		// Add page5s to a subsite, if the module is installed.
14 14
 		$page5s = $this->objFromFixture('Page', 'page5s');
15
-		if(class_exists('Subsite')) {
15
+		if (class_exists('Subsite')) {
16 16
 			$subsite = Subsite::create();
17 17
 			$subsite->Title = 'subsite';
18 18
 			$subsite->write();
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
 		$records = $report->sourceRecords(array())->toArray();
27 27
 		$i = 0;
28 28
 		$this->assertEquals(4, $records[$i++]['Count'], 'Four pages in total, across locales, subsites, live only.');
29
-		if(class_exists('Subsite')) {
29
+		if (class_exists('Subsite')) {
30 30
 			$this->assertEquals(3, $records[$i++]['Count'], 'Three pages in the main site, if subsites installed.');
31 31
 			$this->assertEquals(1, $records[$i++]['Count'], 'One page in the subsite, if subsites installed');
32 32
 		}
Please login to merge, or discard this patch.
code/PasswordEncryptor/PasswordEncryptor_PBKDF2.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
 	{
25 25
 		parent::__construct($algorithm);
26 26
 
27
-		if ($iterations !== null) {
27
+		if ($iterations!==null) {
28 28
 			$this->iterations = $iterations;
29 29
 		}
30 30
 	}
@@ -39,6 +39,6 @@  discard block
 block discarded – undo
39 39
 
40 40
 	public function encrypt($password, $salt = null, $member = null)
41 41
 	{
42
-		return hash_pbkdf2($this->getAlgorithm(), (string) $password, (string) $salt, $this->getIterations());
42
+		return hash_pbkdf2($this->getAlgorithm(), (string)$password, (string)$salt, $this->getIterations());
43 43
 	}
44 44
 }
Please login to merge, or discard this patch.