Vladimir Reznichenko
1a74b3d4f8
[minor] SCA with Php Inspections (EA Ultimate) ( #15871 )
...
* Php Inspections (EA Ultimate): use type casting where applicable
* Php Inspections (EA Ultimate): use constants where applicable
* Php Inspections (EA Ultimate): CS
* Php Inspections (EA Ultimate): address some of one-time used variables
* Php Inspections (EA Ultimate): address some of performance-related findings
* Php Inspections (EA Ultimate): address some of performance-related findings
* Php Inspections (EA Ultimate): revert a constant usage
* Php Inspections (EA Ultimate): revert sequential assignments
* Php Inspections (EA Ultimate): build is green again
* Php Inspections (EA Ultimate): revert array_merge tweaks
* Php Inspections (EA Ultimate): revert BC-incompatible one-time used variable tweak
* Update description [skip ci]
* Php Inspections (EA Ultimate): CS
7 years ago
SilverFire - Dmitry Naumenko
22832b7c49
release version 2.0.14
7 years ago
Alexander Makarov
d934d9f6f6
Improved phpdoc for ErrorHandler::$traceLine [skip ci]
7 years ago
Гордиенко Владислав Юрьевич
7cafa65ad2
Fixes #15216 : Added `yii\web\ErrorHandler::$traceLine` to allow opening file at line clicked in IDE
7 years ago
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
Sam
0017d9c660
Fixes #13780 : Added support for trusted proxies in `yii\web\Request`
7 years ago
Robert Korulczyk
a50d9d8e3e
Enable `include` rule in php-cs-fixer ( #14418 )
7 years ago
Robert Korulczyk
fe8a0a6a2e
Enable `no_useless_else` rule in php-cs-fixer ( #14420 )
7 years ago
Carsten Brandt
f67d8d5a79
Fixed broken error page when calling an undefined method
...
fixes #14269
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
Alexander Makarov
705dae9964
Fixes #14052 : Fixed processing parse errors on PHP 7 since these are instances of `\ParseError`
8 years ago
Michael Härtl
6792099bcc
Fixes #13689 : Fixed handling of errors in closures
8 years ago
Carsten Brandt
5bbf372f85
cleanup some phpdoc
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
Alexander Makarov
bc59d5da85
Fixes #13707 : Fixed `\yii\web\ErrorHandler` and `\yii\web\ErrorAction` not setting correct response code to response object before rendering error view
8 years ago
Alexander Makarov
a6d266405d
Fixes #13671 : Fixed error handler trace to work correctly with XDebug
8 years ago
Alexander Makarov
97171a0db7
Fixes #13401 : Fixed lack of escaping of request dump at exception screens
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
Alexander Makarov
bea7c63664
And another leftover
...
No pushes to master today anymore. Need more sleep :(
8 years ago
Alexander Makarov
3d9945958d
Removed accidentally committed leftovers
8 years ago
Alexander Makarov
dd71fa3958
Fixes #4113 : Error page stacktrace was generating links to private methods which are not part of the API docs
8 years ago
SilverFire - Dmitry Naumenko
eb02b362be
Revert "Replaced `extract()` function usages with custom polyfill in order to fix HHVM compatibility"
...
This reverts commit f7bd7c2b6b
.
8 years ago
SilverFire - Dmitry Naumenko
f7bd7c2b6b
Replaced `extract()` function usages with custom polyfill in order to fix HHVM compatibility
8 years ago
Roman Grinyov
b54ef3f9e3
Typos in docblock of $errorAction ( #12250 ) [skip ci]
8 years ago
Alexander Makarov
c7d5e69cda
Eliminated unused variables
8 years ago
Carsten Brandt
55b858df6d
use already existing error string
...
this one is already available and translated to some languages.
9 years ago
Arzamastsev Mikhail
59ed5e18d6
ErrorHandler HttpException message translation ( #11303 )
9 years ago
Carsten Brandt
f620f4de90
phpdoc fixes
9 years ago
SilverFire - Dmitry Naumenko
7ac2bc13f7
Overrides c651dbb7
. `yii\web\ErrorHandler::loggableGlobals` renamed to `displayVars`
9 years ago
SilverFire - Dmitry Naumenko
c651dbb798
Added `yii\web\ErrorHandler::loggableGlobals`, removed `$_ENV` and `$_SERVER` from dumping by default
9 years ago
SilverFire - Dima Naumenko
ac7b0ef6ff
ErrorHandler - hardcoded UTF-8 in mb_* functions
...
As `Yii::$app` may be not initialized on the moment of error,
decided to hardcode UTF-8.
PR #10169
9 years ago
SilverFire - Dima Naumenko
a6e1ba2cf6
Fixed mb_ functions calls to use UTF-8 or app charset
9 years ago
Alexander Makarov
5ab4f0f090
Better quotes usage in strings
...
- Use single quote where interpolation isn't necessary
- Use interpolation when it's better than concatenation
9 years ago
nainoon
3a313ac652
Fixes #9874 : Fixed outputting exception stacktrace in non-debug mode when `Response::FORMAT_RAW` is used
9 years ago
jeicd
c2f83da8d8
Fix phpdoc
9 years ago
Alexander Makarov
9a87271abf
Fixed missing stacktrace items on PHP syntax errors of "unexpected end of file" type
9 years ago
╃巡洋艦㊣
586684b050
2.0.5 bf7edc5
9 years ago
Carsten Brandt
5d3532c649
fixed endless error loop in error handler
...
this happended when `stream` was set on the response but the stream resouce was invalid
either because it was already sent or became invalid for some other cases.
fixes #9046
9 years ago
Ezekiel Fernandez
d0c01dc9ba
CodeStyle fix
...
close #7614
10 years ago
Alexander Makarov
6481d13494
Optimized checks order in conditions
10 years ago
Brandon Kelly
cf0d582a0b
Added yii\web\ErrorHandler::getTypeUrl()
...
Makes it possible for classes that extend yii\web\ErrorHandler to provide their own informational URLs for types/classes/methods.
10 years ago
╃巡洋艦㊣
1468bd4d3d
version 2.0.1 84b42ab
10 years ago
Qiang Xue
865a94f321
Fixes #4739 : Better display of exceptions when the response format is set as "raw" format
10 years ago
Qiang Xue
880a305ee4
Fixes #5452 : Errors occurring after the response is sent are not displayed
10 years ago
Alexander Makarov
355c26df8b
Fixes #4188 : API exceptions are now exposing less data when YII_DEBUG is false
...
- If exception is internal it's always returned as HTTP 500 general purpose one.
- Type isn't exposed anymore.
10 years ago
Qiang Xue
88d38b7820
Fixes #4501 : Renamed the constant `YII_PATH` to `YII2_PATH`
10 years ago
Qiang Xue
9c4d4715dd
guide WIP [skip ci]
10 years ago
Carsten Brandt
a28589203f
do not show debug info for UserException
10 years ago