6b0be47e0f
Fixes #14711 : Fixed yii\web\ErrorHandler
displaying exception message in non-debug mode
2018-01-22 11:41:24 +03:00
5a8c3d537b
Enable phpdoc_summary
rule in php-cs-fixer config ( #14675 )
...
* Enable `phpdoc_summary` rule in php-cs-fixer config.
* Fix case in "PHPDoc".
2017-08-21 11:19:35 +02:00
1501c659ac
Add empty lines before return statements. ( #14682 ) [skip ci]
2017-08-21 01:58:49 +03:00
a50d9d8e3e
Enable include
rule in php-cs-fixer ( #14418 )
2017-07-10 13:19:57 +03:00
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
950e895fe0
Fix phpDocumentor annotations ( #13905 ) [skip ci]
2017-04-02 21:49:09 +03:00
ea75068a92
Fixes #13813 : Fixed PHP 7 compatibiltiy by adding support for passing instances of Error
to the yii\web\Response::setStatusCodeByException()
2017-03-23 01:20:42 +03:00
4aa935e69e
Fixes #12055 : Changed boolean
to bool
and integer
to int
in phpdoc
2016-11-07 02:51:39 +03:00
32f4dc8997
Fixes #5385 : links created from classes to corresponding guide articles ( #12920 )
2016-11-04 18:55:14 +03:00
5308aa1eee
Fixes #12619 : Added catch Throwable
in yii\base\ErrorHandler::handleException()
2016-10-25 21:38:48 +03:00
1b3770fd21
Use === instead of == where possible
2015-10-10 01:04:35 +03:00
a2568d1ec8
updated some comments and @since
annotations
2015-08-02 19:56:49 +02:00
6d9fe671de
various code style and whitespace adjustments
2015-08-02 00:27:19 +02:00
8ced2ba96a
Fixes #8933 : Yii is now able to properly handle HHVM fatal errors
2015-07-28 10:32:52 +03:00
b9916b1718
log the whole exception object to allow log targets to work with it
...
fixes #6354
made possible by #7305
2015-05-16 00:32:01 +02:00
8f1811919f
ensure error will always result in a failing HTTP status code
...
fixes #8326
proper fix for #7571 which did not work in all situations
2015-05-08 22:38:49 +02:00
b6a591c720
Fixes #7571 : HTTP status 500 and "An internal server error occurred." are now returned in case there was an exception in layout and YII_DEBUG
is false
2015-03-06 20:10:54 +03:00
2aace3714c
minor adjustments
2015-03-01 01:24:28 +01:00
2ba573bfb5
Fixes #6883 : yii\base\ErrorHandler::logException()
is now public
2015-02-08 18:36:55 +03:00
ab0033542b
Fixes #6247 : Logger and error handler are now using slightly less memory
2014-12-17 00:39:54 +03:00
9061874bdb
Fixes #5646 : Call yii\base\ErrorHandler::unregister()
instead of restore_*_handlers
directly
2014-10-19 14:48:11 +04:00
6709154792
yii\base\ErrorHandler::handleError()
adjusted keeping native error processing on error reporting miss match.
2014-08-19 12:42:41 +03:00
0087339a42
log fatal errors to yii logs.
2014-06-19 15:35:04 -04:00
1641e057a9
VarDumper::export()
applied over framework.
2014-05-20 16:35:12 +03:00
32aa175b7c
renamed ErrorHandler::deRegister to unregister. [skip ci]
2014-05-11 20:47:27 -04:00
2e6e318720
added ErrorHandler::deRegister()
2014-05-11 21:18:34 +02:00
c15aceb094
Refactored filter error display for GridView.
2014-04-22 20:46:23 -04:00
c1445871f4
Correction of many errors code inspection.
...
Adjustments code according to the standards.
Adding missing PHPDoc comment.
2014-04-16 19:29:07 -03:00
a64429acf3
removed TODOs
2014-03-30 12:01:08 +02:00
a4b6fb263d
handle Exceptions in application init()
2014-03-30 01:27:18 +01:00
89f6a00147
created console errorHandler
2014-03-30 01:04:43 +01:00
f2b20d99d5
Merge branch 'master' into refactor-errorhandler
...
* master:
Fixes #2912 : Relative view files will be looked for under the directory containing the view currently being rendered
app end improvement.
improvement of Application::end() handling.
typo fix.
Fixes #2910 : Added `Application::end()`
Conflicts:
framework/base/Application.php
2014-03-30 00:27:51 +01:00
c93231e26b
improved session error handling
...
fixes #1946
2014-03-29 23:54:26 +01:00
bb2906917d
adjusted guide and small code adjustements
2014-03-29 20:15:32 +01:00
33543cbdb3
improved error handler output on console app
2014-03-29 19:52:36 +01:00
d4ad533d48
moved error handling related methods from app to errorhandler
2014-03-28 19:57:11 +01:00
fdface1646
added stack trace to exception output in API when YII_DEBUG is true
...
issues #303 and #2516
2014-03-27 00:22:01 +01:00
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
2014-03-23 20:51:09 +01:00
b5f8a4dc22
Reformat code te be PSR-2 compatible
2014-03-16 10:46:21 +06:00
ad19e332f4
Added back some toArray() implementations.
2014-03-07 22:05:45 -05:00
fad635440b
Fixes #2655 : Arrayable and ArrayableTrait are incompatible for some PHP versions.
2014-03-07 19:08:27 -05:00
7b46dc3443
Fixed incorrect error handling.
2014-03-02 12:32:22 -05:00
39947be66b
rest WIP
2014-02-28 21:25:43 -05:00
214f66a8c1
skip exiting in test env.
...
see 0cfd41a21a (commitcomment-5238567)
issue #2233
2014-02-01 19:53:01 +01:00
0cfd41a21a
let application exit with code 1 on error/exception in console
...
fixes #2233
2014-01-31 15:01:05 +01:00
262189533a
huge amount of documentation link fixes
2014-01-28 17:54:40 +01:00
7d33a5d3b5
Some Code style fixes
2014-01-19 13:35:36 -03:00
0c38655217
psr-4 move
2014-01-10 21:41:43 -05:00
0d814fa523
Moved "framework" to "iii".
2013-05-09 12:00:15 -04:00
0a41b006ee
removed unnecessary code, added comment about displaying errors
2013-04-19 04:22:36 +04:00