39 Commits

Author SHA1 Message Date
f9b03dfd42 SCA with Php Inspections (EA Ultimate) 2018-02-27 19:06:27 +01:00
b566dd522c Fixes #15272: Removed type attribute from script tag 2018-02-14 13:39:48 +03:00
7cafa65ad2 Fixes #15216: Added yii\web\ErrorHandler::$traceLine to allow opening file at line clicked in IDE 2018-02-07 22:36:29 +03:00
6b0be47e0f Fixes #14711: Fixed yii\web\ErrorHandler displaying exception message in non-debug mode 2018-01-22 11:41:24 +03:00
c1323c84ba Fixes #15300: Fixed "Cannot read property 'style' of undefined" error at the error screen 2018-01-21 22:37:30 +03:00
0199325c81 Fixes #14958: Added options to copy stacktrace and search for error message to the exception page 2017-10-15 12:09:27 +03:00
acf29e0001 Fixes #14492: Fixed error handler not escaping error info debug mode 2017-07-21 12:49:33 +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
3a6a590eae Fixes #13945: Removed Courier New from error page fonts list since it looks bad on Linux (#13947) 2017-04-09 22:51:02 +03:00
a6d266405d Fixes #13671: Fixed error handler trace to work correctly with XDebug 2017-03-06 15:24:18 +03:00
4aa935e69e Fixes #12055: Changed boolean to bool and integer to int in phpdoc 2016-11-07 02:51:39 +03:00
2ac17ddae6 Simplified exception page Javascript
- Removed unused block.
- Removed Sizzle library from exception page.
- Fixed highlighting hovering over code lines

close #10967
2016-04-26 18:34:31 +02:00
360eb03d5c remove min.js sourcemap hint from error page
fixes #10919
2016-02-25 15:35:35 +01:00
1b3770fd21 Use === instead of == where possible 2015-10-10 01:04:35 +03:00
2cd4837f41 fixed display issue with overlapping text in callstack item
fixes #4763
2015-07-26 01:08:42 +02:00
716057ed39 Fixes #9059: Fixed PHP Notice in error handler view 2015-07-24 12:22:05 +03:00
7b5744a5c3 Add to list declared variables 2015-06-08 16:17:40 +03:00
6481d13494 Optimized checks order in conditions 2015-02-08 17:56:36 +03:00
23e51edfc6 use a monospace font in error details on exception page
better readability
2014-12-13 16:28:34 +01:00
95afdceb55 fixed exception page to show error info that is longer than screen 2014-10-22 23:19:20 +02:00
798a22be4d add missing semicolon, fixes #5393 2014-10-07 15:18:08 +08:00
4f95fcd91f added unit tests for schema detection
fixed some issues with schema detection
2014-06-25 03:09:28 +02:00
0c14f47f9a Fixes #3793: Changed inline autocomplete hints style to get more IDEs support 2014-06-20 17:40:00 +04:00
ee2b968b7f fixed argument display in errorHandler 2014-05-25 20:30:26 +02:00
b7e493fca0 Tabs to spaces to be consistent
```
vendor/bin/indent --spaces -r framework/
vendor/bin/indent --tabs -r . --pattern=*.json
vendor/bin/indent --spaces -r . --pattern=*.md
vendor/bin/indent --spaces -r . --pattern=yii.*.js
vendor/bin/indent --spaces -r . --pattern=*.css
```
2014-05-23 16:58:21 +02:00
7511de6cab added errorInfo to exception views 2014-05-12 13:31:33 +02:00
340278b59c Fixes #3183: fixed regression after #3175 2014-04-30 01:31:11 +04:00
dad88c78b4 Fixes #2837: Error page now shows arguments in stack trace method calls 2014-04-18 04:20:22 +04:00
8546b41bb8 Update error.php 2014-04-16 19:59:25 -03:00
57692cd448 Update error.php 2014-04-16 19:47:28 -03: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
055455d814 updated error handler and requirement checker links. 2014-04-10 00:05:05 -04:00
3fb840f3f3 updated errorhandler views doc 2014-03-31 00:43:08 +02:00
dbc6d106b4 reverted wrong changes after #2764
- readded removed file
- readded use statement to migration template
2014-03-16 21:01:53 +01:00
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
da13b336be minor css fixes. 2014-02-24 15:26:47 -05:00
8bdc437bc2 Fixes #2079:
- i18n now falls back to `en` from `en-US` if message translation isn't found
- View now falls back to `en` from `en-US` if file not found
- Default `sourceLanguage` and `language` are now `en`
2014-01-23 04:51:17 +04:00
4d8d3eaf2c minor fix of exception display. 2014-01-13 22:16:11 -05:00
0c38655217 psr-4 move 2014-01-10 21:41:43 -05:00