Robert Korulczyk
|
5a8c3d537b
|
Enable `phpdoc_summary` rule in php-cs-fixer config (#14675)
* Enable `phpdoc_summary` rule in php-cs-fixer config.
* Fix case in "PHPDoc".
|
7 years ago |
Robert Korulczyk
|
1501c659ac
|
Add empty lines before return statements. (#14682) [skip ci]
|
7 years ago |
Robert Korulczyk
|
a50d9d8e3e
|
Enable `include` rule in php-cs-fixer (#14418)
|
7 years ago |
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.
|
7 years ago |
Nikolay Oleynikov
|
950e895fe0
|
Fix phpDocumentor annotations (#13905) [skip ci]
|
8 years ago |
Nikolay Oleynikov
|
ea75068a92
|
Fixes #13813: Fixed PHP 7 compatibiltiy by adding support for passing instances of `Error` to the `yii\web\Response::setStatusCodeByException()`
|
8 years ago |
Robert Korulczyk
|
9cb7125921
|
`@return bool` in `ErrorHandler::handleError()`
|
8 years ago |
Robert Korulczyk
|
450eefaa50
|
Some phpdoc fixes from scrutinizer.
|
8 years ago |
Robert Korulczyk
|
4aa935e69e
|
Fixes #12055: Changed `boolean` to `bool` and `integer` to `int` in phpdoc
|
8 years ago |
Boudewijn Vahrmeijer
|
32f4dc8997
|
Fixes #5385: links created from classes to corresponding guide articles (#12920)
|
8 years ago |
Robert Korulczyk
|
5308aa1eee
|
Fixes #12619: Added catch `Throwable` in `yii\base\ErrorHandler::handleException()`
|
8 years ago |
Alexander Makarov
|
1b3770fd21
|
Use === instead of == where possible
|
9 years ago |
Carsten Brandt
|
a2568d1ec8
|
updated some comments and `@since` annotations
|
9 years ago |
Carsten Brandt
|
6d9fe671de
|
various code style and whitespace adjustments
|
9 years ago |
adinata
|
8ced2ba96a
|
Fixes #8933: Yii is now able to properly handle HHVM fatal errors
|
9 years ago |
Carsten Brandt
|
b9916b1718
|
log the whole exception object to allow log targets to work with it
fixes #6354
made possible by #7305
|
10 years ago |
Carsten Brandt
|
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
|
10 years ago |
Alexander Makarov
|
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
|
10 years ago |
Carsten Brandt
|
2aace3714c
|
minor adjustments
|
10 years ago |
Alexander Makarov
|
2ba573bfb5
|
Fixes #6883: `yii\base\ErrorHandler::logException()` is now public
|
10 years ago |
Alexander Makarov
|
ab0033542b
|
Fixes #6247: Logger and error handler are now using slightly less memory
|
10 years ago |
Ilya Antipenko
|
9061874bdb
|
Fixes #5646: Call `yii\base\ErrorHandler::unregister()` instead of `restore_*_handlers` directly
|
10 years ago |
Klimov Paul
|
6709154792
|
`yii\base\ErrorHandler::handleError()` adjusted keeping native error processing on error reporting miss match.
|
10 years ago |
Qiang Xue
|
0087339a42
|
log fatal errors to yii logs.
|
10 years ago |
Klimov Paul
|
1641e057a9
|
`VarDumper::export()` applied over framework.
|
11 years ago |
Qiang Xue
|
32aa175b7c
|
renamed ErrorHandler::deRegister to unregister. [skip ci]
|
11 years ago |
Carsten Brandt
|
2e6e318720
|
added ErrorHandler::deRegister()
|
11 years ago |
Qiang Xue
|
c15aceb094
|
Refactored filter error display for GridView.
|
11 years ago |
Thiago Talma
|
c1445871f4
|
Correction of many errors code inspection.
Adjustments code according to the standards.
Adding missing PHPDoc comment.
|
11 years ago |
Carsten Brandt
|
a64429acf3
|
removed TODOs
|
11 years ago |
Carsten Brandt
|
a4b6fb263d
|
handle Exceptions in application init()
|
11 years ago |
Carsten Brandt
|
89f6a00147
|
created console errorHandler
|
11 years ago |
Carsten Brandt
|
c93231e26b
|
improved session error handling
fixes #1946
|
11 years ago |
Carsten Brandt
|
bb2906917d
|
adjusted guide and small code adjustements
|
11 years ago |
Carsten Brandt
|
33543cbdb3
|
improved error handler output on console app
|
11 years ago |
Carsten Brandt
|
d4ad533d48
|
moved error handling related methods from app to errorhandler
|
11 years ago |
Carsten Brandt
|
fdface1646
|
added stack trace to exception output in API when YII_DEBUG is true
issues #303 and #2516
|
11 years ago |
Carsten Brandt
|
bf3c75147d
|
reverted breaking PHPdoc codestyle changes
issue #2852
|
11 years ago |
SonicGD
|
b5f8a4dc22
|
Reformat code te be PSR-2 compatible
|
11 years ago |
Qiang Xue
|
ad19e332f4
|
Added back some toArray() implementations.
|
11 years ago |
Qiang Xue
|
fad635440b
|
Fixes #2655: Arrayable and ArrayableTrait are incompatible for some PHP versions.
|
11 years ago |
Qiang Xue
|
7b46dc3443
|
Fixed incorrect error handling.
|
11 years ago |
Qiang Xue
|
39947be66b
|
rest WIP
|
11 years ago |
Carsten Brandt
|
214f66a8c1
|
skip exiting in test env.
see 0cfd41a21a (commitcomment-5238567)
issue #2233
|
11 years ago |
Carsten Brandt
|
0cfd41a21a
|
let application exit with code 1 on error/exception in console
fixes #2233
|
11 years ago |
Carsten Brandt
|
262189533a
|
huge amount of documentation link fixes
|
11 years ago |
Luciano Baraglia
|
7d33a5d3b5
|
Some Code style fixes
|
11 years ago |
Qiang Xue
|
0c38655217
|
psr-4 move
|
11 years ago |
Qiang Xue
|
4b353c7bce
|
Fixes #1297: CSRF not generated on error pages
|
11 years ago |
Carsten Brandt
|
539e233d9c
|
massive improvement on class documentation
- added example code for application components
- added missing short description
[ci skip]
|
11 years ago |