Commit Graph

28 Commits

Author SHA1 Message Date
atiline
be6fa87642 Fix #18483: Add yii\log\Logger::$dbEventNames that allows specifying event names used to get statistical results (profiling) of DB queries 2021-01-14 19:15:09 +03:00
Alexander Makarov
ccb14ff667 release version 2.0.39 2020-11-10 13:58:35 +03:00
Alexander Makarov
d1d60e2d19 Fixes #14341: Fixed regression in error handling introduced by fixing #14264 2017-06-24 02:28:54 +03:00
Robert Korulczyk
ba0ab403b5 Added php-cs-fixer coding standards validation to Travis CI (#14100)
* php-cs-fixer: PSR2 rule.

* php-cs-fixer: PSR2 rule - fix views.

* Travis setup refactoring.

* Add php-cs-fixer to travis cs tests.

* Fix tests on hhvm-3.12

* improve travis config

* composer update

* revert composer update

* improve travis config

* Fix CS.

* Extract config to separate classes.

* Extract config to separate classes.

* Add file header.

* Force short array syntax.

* binary_operator_spaces fixer

* Fix broken tests

* cast_spaces fixer

* concat_space fixer

* dir_constant fixer

* ereg_to_preg fixer

* function_typehint_space fixer

* hash_to_slash_comment fixer

* is_null fixer

* linebreak_after_opening_tag fixer

* lowercase_cast fixer

* magic_constant_casing fixer

* modernize_types_casting fixer

* native_function_casing fixer

* new_with_braces fixer

* no_alias_functions fixer

* no_blank_lines_after_class_opening fixer

* no_blank_lines_after_phpdoc fixer

* no_empty_comment fixer

* no_empty_phpdoc fixer

* no_empty_statement fixer

* no_extra_consecutive_blank_lines fixer

* no_leading_import_slash fixer

* no_leading_namespace_whitespace fixer

* no_mixed_echo_print fixer

* no_multiline_whitespace_around_double_arrow fixer

* no_multiline_whitespace_before_semicolons fixer

* no_php4_constructor fixer

* no_short_bool_cast fixer

* no_singleline_whitespace_before_semicolons fixer

* no_spaces_around_offset fixer

* no_trailing_comma_in_list_call fixer

* no_trailing_comma_in_singleline_array fixer

* no_unneeded_control_parentheses fixer

* no_unused_imports fixer

* no_useless_return fixer

* no_whitespace_before_comma_in_array fixer

* no_whitespace_in_blank_line fixer

* not_operator_with_successor_space fixer

* object_operator_without_whitespace fixer

* ordered_imports fixer

* php_unit_construct fixer

* php_unit_dedicate_assert fixer

* php_unit_fqcn_annotation fixer

* phpdoc_indent fixer

* phpdoc_no_access fixer

* phpdoc_no_empty_return fixer

* phpdoc_no_package fixer

* phpdoc_no_useless_inheritdoc fixer

* Fix broken tests

* phpdoc_return_self_reference fixer

* phpdoc_single_line_var_spacing fixer

* phpdoc_single_line_var_spacing fixer

* phpdoc_to_comment fixer

* phpdoc_trim fixer

* phpdoc_var_without_name fixer

* psr4 fixer

* self_accessor fixer

* short_scalar_cast fixer

* single_blank_line_before_namespace fixer

* single_quote fixer

* standardize_not_equals fixer

* ternary_operator_spaces fixer

* trailing_comma_in_multiline_array fixer

* trim_array_spaces fixer

* protected_to_private fixer

* unary_operator_spaces fixer

* whitespace_after_comma_in_array fixer

* `parent::setRules()` -> `$this->setRules()`

* blank_line_after_opening_tag fixer

* Update finder config.

* Revert changes for YiiRequirementChecker.

* Fix array formatting.

* Add missing import.

* Fix CS for new code merged from master.

* Fix some indentation issues.
2017-06-12 12:25:45 +03:00
Bizley
deea1829db Fixes #14264: Fixed a bug where yii\log\Logger::calculateTimings() was not accepting messages with array tokens 2017-06-08 12:57:43 +03:00
Bizley
ddee256a1a Fixes #14133: Fixed bug when calculating timings with mixed nested profile begin and end in yii\log\Logger::calculateTimings() 2017-05-12 11:48:16 +03:00
Carsten Brandt
c19b2f7dc8 release version 2.0.11 2017-02-01 17:46:29 +01:00
bashkarev
338e5967cb Added Logging of memory usage
calculateTimings added options: `memory`, `memoryDiff` memory_get_usage only the used memory is reported.

close #13268
2017-01-02 02:01:49 +01:00
Robert Korulczyk
4aa935e69e Fixes #12055: Changed boolean to bool and integer to int in phpdoc 2016-11-07 02:51:39 +03:00
Boudewijn Vahrmeijer
32f4dc8997 Fixes #5385: links created from classes to corresponding guide articles (#12920) 2016-11-04 18:55:14 +03:00
Dmitriy Makarov
5189693560 Added 'LEVEL_PROFILE' to the map of levels (#12045) 2016-07-29 16:25:03 +03:00
SilverFire - Dmitry Naumenko
cd87d67f34 Global DOCS update: ~~~ replaced with ``` 2015-12-02 23:15:28 +02:00
Klimov Paul
771ff15133 Fixed yii\log\Logger unable to export session id
close #8174
fixes #8036
2015-04-24 18:22:26 +02:00
Alexander Makarov
6481d13494 Optimized checks order in conditions 2015-02-08 17:56:36 +03:00
Alexander Makarov
ab0033542b Fixes #6247: Logger and error handler are now using slightly less memory 2014-12-17 00:39:54 +03:00
Qiang Xue
88caccd61d Fixes #5997: The same message may be exported twice to log targets 2014-11-10 13:49:19 -05:00
Klimov Paul
f91929761a yii\log\Logger::flush() updated to reset messages before passing them to the dispatcher. 2014-11-10 13:46:48 -05:00
Qiang Xue
88d38b7820 Fixes #4501: Renamed the constant YII_PATH to YII2_PATH 2014-08-14 22:17:05 -04:00
Carsten Brandt
3a1e0f3a5c property codestyle framework 2014-07-30 00:21:31 +02:00
Qiang Xue
59b967cc17 Fixes #3968: Messages logged in shutdown functions are not handled 2014-06-19 12:01:57 -04:00
Carsten Brandt
efbd23b52e refactored logger to support array values out of the box.
fixes #3245, #3244
2014-06-09 14:58:36 +02:00
Qiang Xue
f8b63591b0 Fix #2877: yii\log\Logger is split into yii\log\Logger and yii\log\Dispatcher. (qiangxue) 2014-03-26 21:48:41 -04:00
Carsten Brandt
bf3c75147d reverted breaking PHPdoc codestyle changes
issue #2852
2014-03-23 20:51:09 +01:00
SonicGD
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
Carsten Brandt
262189533a huge amount of documentation link fixes 2014-01-28 17:54:40 +01:00
Carsten Brandt
21ae27b306 updated phpdoc properties 2014-01-28 00:11:18 +01:00
Alexander Makarov
5d23a066ca Removed unused imports 2014-01-12 23:42:55 +04:00
Qiang Xue
0c38655217 psr-4 move 2014-01-10 21:41:43 -05:00