@@ -12,11 +12,11 @@ |
||
12 | 12 | |
13 | 13 | class UtilityTest extends UnitTestCase{ |
14 | 14 | |
15 | - public function testVerpEnvelopeSenderCanCreateStandardSender() { |
|
15 | + public function testVerpEnvelopeSenderCanCreateStandardSender() { |
|
16 | 16 | $sender = twfy_verp_envelope_sender('[email protected]'); |
17 | 17 | $expected_sender = 'twfy+aperson=a.nother.dom@' + EMAILDOMAIN; |
18 | 18 | $this->assertEqual($sender, $expected_sender, 'verp_envelope_sender can create a sender for a standard address'); |
19 | - } |
|
19 | + } |
|
20 | 20 | |
21 | 21 | } |
22 | 22 |
@@ -32,8 +32,8 @@ |
||
32 | 32 | </div> |
33 | 33 | </div> |
34 | 34 | <?php } else { |
35 | - $section = false; include '_section_content.php'; |
|
36 | - } ?> |
|
35 | + $section = false; include '_section_content.php'; |
|
36 | + } ?> |
|
37 | 37 | |
38 | 38 | </div> |
39 | 39 |
@@ -49,7 +49,7 @@ |
||
49 | 49 | <?php } ?> |
50 | 50 | </a> |
51 | 51 | <?php } |
52 | - if ( isset($row['excerpt']) ) { ?> |
|
52 | + if ( isset($row['excerpt']) ) { ?> |
|
53 | 53 | <p class="business-list__excerpt"> |
54 | 54 | <?= trim_characters($row['excerpt'], 0, 200 ) ?> |
55 | 55 | </p> |
@@ -41,7 +41,7 @@ |
||
41 | 41 | <div class="row nested-row"> |
42 | 42 | <div class="homepage-in-the-news homepage-content-section"> |
43 | 43 | <?php if ( $featured ) { |
44 | - include dirname(__FILE__) . "/../homepage/featured.php"; |
|
44 | + include dirname(__FILE__) . "/../homepage/featured.php"; |
|
45 | 45 | } ?> |
46 | 46 | </div> |
47 | 47 | <div class="homepage-create-alert homepage-content-section"> |
@@ -67,4 +67,4 @@ |
||
67 | 67 | api_output($out); |
68 | 68 | } else { |
69 | 69 | api_error('Nothing'); |
70 | - } |
|
70 | + } |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | <select id="section" name="section"> |
67 | 67 | <option value="">Any |
68 | 68 | <?php |
69 | - optgroups(array( |
|
69 | + optgroups(array( |
|
70 | 70 | 'UK Parliament' => array( |
71 | 71 | 'uk' => 'All UK', |
72 | 72 | 'debates' => 'House of Commons debates', |
@@ -85,8 +85,8 @@ discard block |
||
85 | 85 | 'sp' => 'Debates', |
86 | 86 | 'spwrans' => 'Written answers', |
87 | 87 | ), |
88 | - ), $section); |
|
89 | - ?> |
|
88 | + ), $section); |
|
89 | + ?> |
|
90 | 90 | </select> |
91 | 91 | <div class="help"> |
92 | 92 | Restrict results to a particular parliament or assembly that we cover (e.g. the |
@@ -14,7 +14,7 @@ |
||
14 | 14 | } elseif ($constituency == "") { |
15 | 15 | $errors['pc'] = "Sorry, " . _htmlentities($pc) . " isn't a known postcode"; |
16 | 16 | twfy_debug ('MP', "Can't display an MP, as submitted postcode didn't match a constituency"); |
17 | - } else { |
|
17 | + } else { |
|
18 | 18 | $MEMBER = new MEMBER(array('constituency' => $constituency)); |
19 | 19 | if ($MEMBER->person_id()) { |
20 | 20 | // This will cookie the postcode. |
@@ -6,7 +6,7 @@ |
||
6 | 6 | |
7 | 7 | $DATA->set_page_metadata($this_page, 'title', 'Hansard'); |
8 | 8 | $DATA->set_page_metadata($this_page, 'meta_description', |
9 | - 'Find the complete Hansard on TheyWorkForYou.com - transcripts from all UK parliamentary debates in easily-searchable form.'); |
|
9 | + 'Find the complete Hansard on TheyWorkForYou.com - transcripts from all UK parliamentary debates in easily-searchable form.'); |
|
10 | 10 | $DATA->set_page_metadata($this_page, 'meta_keywords', "hansard, search hansard, hansard transcriptions, hansard record, parliamentary transcripts, parliament transcripts, parliament records, uk hansard, hansard uk, house of commons transcript, house of commons debates, house of commons records"); |
11 | 11 | |
12 | 12 | $PAGE->supress_heading = true; |
@@ -100,7 +100,7 @@ |
||
100 | 100 | ); |
101 | 101 | |
102 | 102 | $expectedTable = $this->createXmlDataSet(dirname(__FILE__).'/_fixtures/expectedTokens.xml') |
103 | - ->getTable("tokens"); |
|
103 | + ->getTable("tokens"); |
|
104 | 104 | $this->assertTablesEqual($expectedTable, $queryTable); |
105 | 105 | |
106 | 106 | $alertCount = $this->getConnection()->getRowCount('alerts', 'email = "[email protected]"'); |