Fix spaces around concatenation operator
This commit is contained in:
parent
bb03d314ff
commit
9e0ed0a50a
|
@ -18,7 +18,7 @@
|
||||||
<exclude name="Generic.Files.LineLength.TooLong" />
|
<exclude name="Generic.Files.LineLength.TooLong" />
|
||||||
<exclude name="PEAR.Functions.ValidDefaultValue.NotAtEnd" />
|
<exclude name="PEAR.Functions.ValidDefaultValue.NotAtEnd" />
|
||||||
</rule>
|
</rule>
|
||||||
<rule phpcbf-only="true" ref="Squiz.Strings.ConcatenationSpacing">
|
<rule ref="Squiz.Strings.ConcatenationSpacing">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="spacing" value="1" />
|
<property name="spacing" value="1" />
|
||||||
<property name="ignoreNewlines" value="true"/>
|
<property name="ignoreNewlines" value="true"/>
|
||||||
|
|
|
@ -112,7 +112,7 @@ class GridFieldDetailForm_ItemRequest extends RequestHandler
|
||||||
{
|
{
|
||||||
if (!$this->record->canView()) {
|
if (!$this->record->canView()) {
|
||||||
$this->httpError(403, _t(
|
$this->httpError(403, _t(
|
||||||
__CLASS__.'.ViewPermissionsFailure',
|
__CLASS__ . '.ViewPermissionsFailure',
|
||||||
'It seems you don\'t have the necessary permissions to view {ObjectTitle}',
|
'It seems you don\'t have the necessary permissions to view {ObjectTitle}',
|
||||||
'',
|
'',
|
||||||
['ObjectTitle' => $this->record->singular_name()]
|
['ObjectTitle' => $this->record->singular_name()]
|
||||||
|
@ -195,7 +195,7 @@ class GridFieldDetailForm_ItemRequest extends RequestHandler
|
||||||
if (!$this->record->canView()) {
|
if (!$this->record->canView()) {
|
||||||
$controller = $this->getToplevelController();
|
$controller = $this->getToplevelController();
|
||||||
return $controller->httpError(403, _t(
|
return $controller->httpError(403, _t(
|
||||||
__CLASS__.'.ViewPermissionsFailure',
|
__CLASS__ . '.ViewPermissionsFailure',
|
||||||
'It seems you don\'t have the necessary permissions to view {ObjectTitle}',
|
'It seems you don\'t have the necessary permissions to view {ObjectTitle}',
|
||||||
'',
|
'',
|
||||||
['ObjectTitle' => $this->record->singular_name()]
|
['ObjectTitle' => $this->record->singular_name()]
|
||||||
|
@ -500,7 +500,7 @@ class GridFieldDetailForm_ItemRequest extends RequestHandler
|
||||||
// Check permission
|
// Check permission
|
||||||
if (!$this->record->canEdit()) {
|
if (!$this->record->canEdit()) {
|
||||||
$this->httpError(403, _t(
|
$this->httpError(403, _t(
|
||||||
__CLASS__.'.EditPermissionsFailure',
|
__CLASS__ . '.EditPermissionsFailure',
|
||||||
'It seems you don\'t have the necessary permissions to edit {ObjectTitle}',
|
'It seems you don\'t have the necessary permissions to edit {ObjectTitle}',
|
||||||
'',
|
'',
|
||||||
['ObjectTitle' => $this->record->singular_name()]
|
['ObjectTitle' => $this->record->singular_name()]
|
||||||
|
|
|
@ -25,13 +25,13 @@ class PasswordExpirationMiddleware implements HTTPMiddleware
|
||||||
/**
|
/**
|
||||||
* Session key for persisting URL of the password change form
|
* Session key for persisting URL of the password change form
|
||||||
*/
|
*/
|
||||||
const SESSION_KEY_REDIRECT = __CLASS__.'.change password redirect';
|
const SESSION_KEY_REDIRECT = __CLASS__ . '.change password redirect';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Session key for persisting a flag allowing to process the current request
|
* Session key for persisting a flag allowing to process the current request
|
||||||
* without performing password expiration check
|
* without performing password expiration check
|
||||||
*/
|
*/
|
||||||
const SESSION_KEY_ALLOW_CURRENT_REQUEST = __CLASS__.'.allow current request';
|
const SESSION_KEY_ALLOW_CURRENT_REQUEST = __CLASS__ . '.allow current request';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* List of URL patterns allowed for users to visit where
|
* List of URL patterns allowed for users to visit where
|
||||||
|
|
Loading…
Reference in New Issue