mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-24 06:14:25 +02:00
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
|
* @param string|null $subdir
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
private function getDirWithSubDir($dir, $subdir=null)
|
private function getDirWithSubDir($dir, $subdir = null)
|
||||||
{
|
{
|
||||||
if ($subdir !== null) {
|
if ($subdir !== null) {
|
||||||
$dir .= '/' . ltrim($subdir, '/');
|
$dir .= '/' . ltrim($subdir, '/');
|
||||||
|
@ -94,7 +94,7 @@ class DateTimePicker extends Zend_Form_Element_Xhtml
|
|||||||
$this->addErrorMessage(
|
$this->addErrorMessage(
|
||||||
_(
|
_(
|
||||||
'Failed to parse datetime string. See '
|
'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;
|
return false;
|
||||||
|
@ -184,5 +184,4 @@ class SubmitPassiveCheckResultForm extends CommandForm
|
|||||||
{
|
{
|
||||||
return $this->getValue('performancedata');
|
return $this->getValue('performancedata');
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -93,7 +93,7 @@ class DateTimeTest extends PHPUnit_Framework_TestCase
|
|||||||
$dt->getValue(),
|
$dt->getValue(),
|
||||||
1373616223,
|
1373616223,
|
||||||
'getValue did not return the correct Unix timestamp according to the given date/time '
|
'getValue did not return the correct Unix timestamp according to the given date/time '
|
||||||
. 'string'
|
. 'string'
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user