Use full stop.
This commit is contained in:
parent
dd6268ec59
commit
243d59081e
@ -190,7 +190,7 @@ class Advisor
|
||||
$str = $this->translate($jst[0], $jst[1]);
|
||||
} catch (Exception $e) {
|
||||
$this->storeError(
|
||||
sprintf(__('Failed formatting string for rule \'%s\''), $rule['name']),
|
||||
sprintf(__('Failed formatting string for rule \'%s\'.'), $rule['name']),
|
||||
$e
|
||||
);
|
||||
return;
|
||||
|
||||
@ -98,7 +98,7 @@ class Advisor_test extends PHPUnit_Framework_TestCase
|
||||
array(
|
||||
array('justification' => 'foo | fsafdsa', 'name' => 'Failure', 'issue' => 'issue', 'recommendation' => 'Recommend'),
|
||||
array(),
|
||||
'Failed formatting string for rule \'Failure\' PHP threw following error: Use of undefined constant fsafdsa - assumed \'fsafdsa\'',
|
||||
'Failed formatting string for rule \'Failure\'. PHP threw following error: Use of undefined constant fsafdsa - assumed \'fsafdsa\'',
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user