16 Commits

Author SHA1 Message Date
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
fad635440b Fixes #2655: Arrayable and ArrayableTrait are incompatible for some PHP versions. 2014-03-07 19:08:27 -05: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
4be9e195c2 Add Newlines
Appended newlines to every PHP document that did not have a newline as the last character in the file.
2013-05-05 17:04:55 +01:00
4fdaab3560 updated file header. 2013-03-04 08:03:46 -05:00
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.
2013-02-13 03:51:29 +04:00
3c1452e84b Changed the separator of message category. 2013-02-05 11:48:35 -05:00
54ee8c44a0 refactored exceptions.
I18N WIP.
2013-02-04 16:39:19 -05:00
398ac25456 added UserException. 2013-02-03 19:45:44 -05:00
761a9f4472 exception cleanup. 2013-02-01 07:53:32 -05:00
9165a1592a cleanup. 2013-01-29 09:01:38 -05:00
8e05e6e62d changed copyright line. 2013-01-07 11:34:52 -05:00
28af29248b w 2011-07-18 21:03:24 -04:00
2390da8ca3 w 2011-07-17 00:19:32 -04:00
3ba68632b2 finished Vector. 2011-07-15 22:58:46 -04:00