CC: Fix phpcs errors of files changed in feature/datetime-element-4440
refs #4440
This commit is contained in:
parent
7dea7fcad0
commit
bd140f2828
|
@ -235,7 +235,7 @@ abstract class ApplicationBootstrap
|
|||
* @param string|null $subdir
|
||||
* @return string
|
||||
*/
|
||||
private function getDirWithSubDir($dir, $subdir=null)
|
||||
private function getDirWithSubDir($dir, $subdir = null)
|
||||
{
|
||||
if ($subdir !== null) {
|
||||
$dir .= '/' . ltrim($subdir, '/');
|
||||
|
|
|
@ -94,7 +94,7 @@ class DateTimePicker extends Zend_Form_Element_Xhtml
|
|||
$this->addErrorMessage(
|
||||
_(
|
||||
'Failed to parse datetime string. See '
|
||||
. 'http://www.php.net/manual/en/datetime.formats.php for valid formats'
|
||||
. 'http://www.php.net/manual/en/datetime.formats.php for valid formats'
|
||||
)
|
||||
);
|
||||
return false;
|
||||
|
|
|
@ -184,5 +184,4 @@ class SubmitPassiveCheckResultForm extends CommandForm
|
|||
{
|
||||
return $this->getValue('performancedata');
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -93,7 +93,7 @@ class DateTimeTest extends PHPUnit_Framework_TestCase
|
|||
$dt->getValue(),
|
||||
1373616223,
|
||||
'getValue did not return the correct Unix timestamp according to the given date/time '
|
||||
. 'string'
|
||||
. 'string'
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue