Test Failed
Push — intl ( e84382...51730a )
by Fabio
15:14 queued 03:46
created
framework/Web/UI/ActiveControls/TActiveRadioButtonList.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
 
77 77
 	/**
78 78
 	 * Creates a control used for repetition (used as a template).
79
-	 * @return TControl the control to be repeated
79
+	 * @return TActiveRadioButtonItem the control to be repeated
80 80
 	 */
81 81
 	protected function createRepeatedControl()
82 82
 	{
Please login to merge, or discard this patch.
framework/Web/UI/WebControls/TDataGridItem.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
 	}
70 70
 
71 71
 	/**
72
-	 * @return TListItemType item type.
72
+	 * @return string item type.
73 73
 	 */
74 74
 	public function getItemType()
75 75
 	{
Please login to merge, or discard this patch.
framework/I18N/core/MessageSource_XLIFF.php 3 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,6 @@
 block discarded – undo
19 19
 namespace Prado\I18N\core;
20 20
 
21 21
 use DOMDocument;
22
-use DOMXPath;
23 22
 use Prado\Exceptions\TException;
24 23
 use Prado\Exceptions\TIOException;
25 24
 
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -523,7 +523,7 @@
 block discarded – undo
523 523
   </body>
524 524
  </file>
525 525
 </xliff>
526
-EOD;
526
+eod;
527 527
 		return $xml;
528 528
 	}
529 529
 }
Please login to merge, or discard this patch.
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -497,6 +497,9 @@
 block discarded – undo
497 497
 		return [$variant, $file];
498 498
 	}
499 499
 
500
+	/**
501
+	 * @param string $catalogue
502
+	 */
500 503
 	protected function getTemplate($catalogue)
501 504
 	{
502 505
 		$date = @date('c');
Please login to merge, or discard this patch.
framework/Data/ActiveRecord/Scaffold/InputBuilder/TScaffoldInputBase.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -52,6 +52,10 @@  discard block
 block discarded – undo
52 52
 		}
53 53
 	}
54 54
 
55
+	/**
56
+	 * @param \Prado\Data\ActiveRecord\Scaffold\TScaffoldEditView $parent
57
+	 * @param \Prado\Data\ActiveRecord\TActiveRecord $record
58
+	 */
55 59
 	public function createScaffoldInput($parent, $item, $column, $record)
56 60
 	{
57 61
 		$this->_parent = $parent;
@@ -68,6 +72,10 @@  discard block
 block discarded – undo
68 72
 		$label->setForControl(self::DEFAULT_ID);
69 73
 	}
70 74
 
75
+	/**
76
+	 * @param \Prado\Data\ActiveRecord\Scaffold\TScaffoldEditView $parent
77
+	 * @param \Prado\Data\ActiveRecord\TActiveRecord $record
78
+	 */
71 79
 	public function loadScaffoldInput($parent, $item, $column, $record)
72 80
 	{
73 81
 		$this->_parent = $parent;
Please login to merge, or discard this patch.
framework/Data/Common/Pgsql/TPgsqlMetaData.php 1 patch
Upper-Lower-Casing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
 				nspname = :schema))
138 138
 			AND a.attnum > 0 AND NOT a.attisdropped
139 139
 		ORDER BY a.attnum
140
-EOD;
140
+eod;
141 141
 		$this->getDbConnection()->setActive(true);
142 142
 		$command = $this->getDbConnection()->createCommand($sql);
143 143
 		$command->bindValue(':table', $tableName);
@@ -197,7 +197,7 @@  discard block
 block discarded – undo
197 197
 		SELECT count(c.relname) FROM pg_catalog.pg_class c
198 198
 		LEFT JOIN pg_catalog.pg_namespace n ON (n.oid = c.relnamespace)
199 199
 		WHERE (n.nspname=:schema) AND (c.relkind = 'v'::"char") AND c.relname = :table
200
-EOD;
200
+eod;
201 201
 		$this->getDbConnection()->setActive(true);
202 202
 		$command = $this->getDbConnection()->createCommand($sql);
203 203
 		$command->bindValue(':schema', $schemaName);
@@ -332,7 +332,7 @@  discard block
 block discarded – undo
332 332
 					WHERE nspname=:schema))
333 333
 	ORDER BY
334 334
 			1
335
-EOD;
335
+eod;
336 336
 		$this->getDbConnection()->setActive(true);
337 337
 		$command = $this->getDbConnection()->createCommand($sql);
338 338
 		$command->bindValue(':table', $tableName);
@@ -372,7 +372,7 @@  discard block
 block discarded – undo
372 372
 			)
373 373
 		)
374 374
 				AND attnum IN ({$index})
375
-EOD;
375
+eod;
376 376
 		$command = $this->getDbConnection()->createCommand($sql);
377 377
 		$command->bindValue(':table', $tableName);
378 378
 		$command->bindValue(':schema', $schemaName);
@@ -434,7 +434,7 @@  discard block
 block discarded – undo
434 434
 		$sql = <<<EOD
435 435
 SELECT table_name, table_schema FROM information_schema.tables
436 436
 WHERE table_schema=:schema AND table_type='BASE TABLE'
437
-EOD;
437
+eod;
438 438
 		$command = $this->getDbConnection()->createCommand($sql);
439 439
 		$command->bindParam(':schema', $schema);
440 440
 		$rows = $command->queryAll();
Please login to merge, or discard this patch.
framework/Data/ActiveRecord/TActiveRecordManager.php 2 patches
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
 	 * @var TActiveRecordInvalidFinderResult
57 57
 	 * @since 3.1.5
58 58
 	 */
59
-	private $_invalidFinderResult = TActiveRecordInvalidFinderResult::Null;
59
+	private $_invalidFinderResult = TActiveRecordInvalidFinderResult::null;
60 60
 
61 61
 	/**
62 62
 	 * @return ICache application cache.
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
 	}
75 75
 
76 76
 	/**
77
-	 * @param TDbConnection $conn default database connection
77
+	 * @param \Prado\Data\TDbConnection $conn default database connection
78 78
 	 */
79 79
 	public function setDbConnection($conn)
80 80
 	{
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
 	}
91 91
 
92 92
 	/**
93
-	 * @param null|mixed $self
93
+	 * @param \Prado\TComponent $self
94 94
 	 * @return TActiveRecordManager static instance of record manager.
95 95
 	 */
96 96
 	public static function getInstance($self = null)
Please login to merge, or discard this patch.
framework/Data/ActiveRecord/TActiveRecordConfig.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
 	 * @var TActiveRecordInvalidFinderResult
103 103
 	 * @since 3.1.5
104 104
 	 */
105
-	private $_invalidFinderResult = TActiveRecordInvalidFinderResult::Null;
105
+	private $_invalidFinderResult = TActiveRecordInvalidFinderResult::null;
106 106
 
107 107
 	/**
108 108
 	 * Initialize the active record manager.
Please login to merge, or discard this patch.
framework/Web/UI/WebControls/TReCaptcha.php 2 patches
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -328,7 +328,7 @@
 block discarded – undo
328 328
 	{
329 329
 		$req = $this->recaptcha_qsencode($data);
330 330
 
331
-		$http_request = "POST $path HTTP/1.0\r\n";
331
+		$http_request = "post $path HTTP/1.0\r\n";
332 332
 		$http_request .= "Host: $host\r\n";
333 333
 		$http_request .= "Content-Type: application/x-www-form-urlencoded;\r\n";
334 334
 		$http_request .= "Content-Length: " . strlen($req) . "\r\n";
Please login to merge, or discard this patch.
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -181,8 +181,7 @@
 block discarded – undo
181 181
 
182 182
 	public function validate()
183 183
 	{
184
-		if (!
185
-			  (
184
+		if (!(
186 185
 			($challenge = @$_POST[$this->getChallengeFieldName()])
187 186
 			and
188 187
 			($response = @$_POST[$this->getResponseFieldName()])
Please login to merge, or discard this patch.
framework/I18N/core/MessageSource_PHP.php 2 patches
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -418,7 +418,7 @@
 block discarded – undo
418 418
 	'trans-unit' => array(
419 419
 	)
420 420
 );
421
-EOD;
421
+eod;
422 422
 		return $php;
423 423
 	}
424 424
 }
Please login to merge, or discard this patch.
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -402,6 +402,9 @@
 block discarded – undo
402 402
 		return [$variant, $file];
403 403
 	}
404 404
 
405
+	/**
406
+	 * @param string $catalogue
407
+	 */
405 408
 	protected function getTemplate($catalogue)
406 409
 	{
407 410
 		$date = @date('Y-m-d\TH:i:s\Z');
Please login to merge, or discard this patch.