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
Hisateru Tanaka
9585939d9f
Fixes #11723 : Fixed PHP 7 + XDebug error handling displaying "Expected array for frame 0"
8 years ago
Carsten Brandt
abc7dbbf0f
added missing `@since` annotations
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
╃巡洋艦㊣
1468bd4d3d
version 2.0.1 84b42ab
10 years ago
Qiang Xue
a92e214b9e
Fixes #5770 : Added more PHP error names for `ErrorException`
10 years ago
Alexander Mohorev
b2341edfcf
add more default names of exceptions
10 years ago
Carsten Brandt
33543cbdb3
improved error handler output on console app
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
fad635440b
Fixes #2655 : Arrayable and ArrayableTrait are incompatible for some PHP versions.
11 years ago
Alexander Makarov
96d131899f
Fixed ErrorException changes
11 years ago
Alexander Makarov
44558df59d
#2603 : `yii\base\ErrorHandler` now extends `\ErrorHandler`
11 years ago
Alexander Mohorev
c7e8d8b900
@param , @var , @property and @return must declare types as boolean, integer, string, array or null
11 years ago
Qiang Xue
0c38655217
psr-4 move
11 years ago
Alexander Makarov
5fc01bce69
Better names for PHP error-exceptions
11 years ago
Alexander Makarov
c79994c773
Removed exception translation, updated translations
11 years ago
Kamil
7e12ae5767
fix issue #1315
11 years ago
Alexander Makarov
1f6a823073
Short array syntax
11 years ago
Qiang Xue
f72105166c
reorganized the main repo to satisfy PSR-0.
12 years ago
Qiang Xue
fb5993af40
Fixes issue #251 : changed the signature of t() to be the same as v1.1
12 years ago
Qiang Xue
0d814fa523
Moved "framework" to "iii".
12 years ago
Qiang Xue
3616278ada
typo.
12 years ago
Qiang Xue
f2027c1cdd
Fixed errorexception trace type.
12 years ago
Qiang Xue
1df9114b9a
refactored ErrorException handling.
12 years ago
Qiang Xue
4fdaab3560
updated file header.
12 years ago
Alexander Makarov
7f1f1b7767
- Moved handling fatal errors into handleFatalError() method.
...
- Refactored checking for fatal error.
- Suppressed errors in exception handler in case of fatal errors.
12 years ago
Alexander Makarov
97eda21ab6
ErrorException now extends from Exception
12 years ago
Alexander Makarov
2d5db95149
More on error handling:
...
- Correct exit code for require errors in CLI mode. It was 0 even in case of error.
- Solved handling fatals and displaying custom error template w/o output buffering.
- If XDEBUG is available, error screen will display trace (implementation inspired by Kohana and Nette).
- Added ErrorException to store/display type of the error and user-friendly messages.
- Fatals are still logged in PHP log.
- Turned off native display_errors since we're now catching all errors.
- Added reserving memory (256kb) . Can be removed safely. In case of removal we're losing only memory exhausted error when allocating last very small chunk of memory.
- Properly handled errors in __toString (exception can't be thrown in this case).
- In the YII_DEBUG===false mode it's bad to display exception name even in page title.
- In the YII_DEBUG===true mode it's still useful to get user-friendly message additionally to exception name.
12 years ago