Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
f66e28c4
Commit
f66e28c4
authored
Jul 04, 2014
by
Alexander Makarov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes #4199: added missing category to logging calls
parent
b5e1959b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
RateLimiter.php
framework/filters/RateLimiter.php
+2
-2
I18N.php
framework/i18n/I18N.php
+1
-1
AssetConverter.php
framework/web/AssetConverter.php
+1
-1
No files found.
framework/filters/RateLimiter.php
View file @
f66e28c4
...
@@ -77,9 +77,9 @@ class RateLimiter extends ActionFilter
...
@@ -77,9 +77,9 @@ class RateLimiter extends ActionFilter
$action
$action
);
);
}
elseif
(
$user
)
{
}
elseif
(
$user
)
{
Yii
::
info
(
'Rate limit skipped: "user" does not implement RateLimitInterface.'
);
Yii
::
info
(
'Rate limit skipped: "user" does not implement RateLimitInterface.'
,
__METHOD__
);
}
else
{
}
else
{
Yii
::
info
(
'Rate limit skipped: user not logged in.'
);
Yii
::
info
(
'Rate limit skipped: user not logged in.'
,
__METHOD__
);
}
}
return
true
;
return
true
;
}
}
...
...
framework/i18n/I18N.php
View file @
f66e28c4
...
@@ -113,7 +113,7 @@ class I18N extends Component
...
@@ -113,7 +113,7 @@ class I18N extends Component
$result
=
$formatter
->
format
(
$message
,
$params
,
$language
);
$result
=
$formatter
->
format
(
$message
,
$params
,
$language
);
if
(
$result
===
false
)
{
if
(
$result
===
false
)
{
$errorMessage
=
$formatter
->
getErrorMessage
();
$errorMessage
=
$formatter
->
getErrorMessage
();
Yii
::
warning
(
"Formatting message for language '
$language
' failed with error:
$errorMessage
. The message being formatted was:
$message
."
);
Yii
::
warning
(
"Formatting message for language '
$language
' failed with error:
$errorMessage
. The message being formatted was:
$message
."
,
__METHOD__
);
return
$message
;
return
$message
;
}
else
{
}
else
{
...
...
framework/web/AssetConverter.php
View file @
f66e28c4
...
@@ -94,7 +94,7 @@ class AssetConverter extends Component implements AssetConverterInterface
...
@@ -94,7 +94,7 @@ class AssetConverter extends Component implements AssetConverterInterface
}
elseif
(
YII_DEBUG
)
{
}
elseif
(
YII_DEBUG
)
{
throw
new
Exception
(
"AssetConverter command '
$command
' failed with exit code
$status
:
\n
STDOUT:
\n
$stdout
\n
STDERR:
\n
$stderr
"
);
throw
new
Exception
(
"AssetConverter command '
$command
' failed with exit code
$status
:
\n
STDOUT:
\n
$stdout
\n
STDERR:
\n
$stderr
"
);
}
else
{
}
else
{
Yii
::
error
(
"AssetConverter command '
$command
' failed with exit code
$status
:
\n
STDOUT:
\n
$stdout
\n
STDERR:
\n
$stderr
"
);
Yii
::
error
(
"AssetConverter command '
$command
' failed with exit code
$status
:
\n
STDOUT:
\n
$stdout
\n
STDERR:
\n
$stderr
"
,
__METHOD__
);
}
}
return
$status
===
0
;
return
$status
===
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment