88 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
65f6b59b35 @inheritdoc notation changed 2018-01-23 13:11:24 +02: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
b953a184e3 Fixes #13919: Added option to add comment for created table to migration console command 2018-01-15 18:30:52 +03:00
75dbdb0083 Fixes #14568: Refactored migration templates to use safeUp() and safeDown() methods 2017-11-15 00:49:40 +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
5a8c3d537b Enable phpdoc_summary rule in php-cs-fixer config (#14675)
* Enable `phpdoc_summary` rule in php-cs-fixer config.

* Fix case in "PHPDoc".
2017-08-21 11:19:35 +02:00
1761a10c13 Added phpdoc to migration template [skip ci] 2017-08-03 13:15:23 +03:00
acf29e0001 Fixes #14492: Fixed error handler not escaping error info debug mode 2017-07-21 12:49:33 +03:00
d2781cd232 Added configuration for headers in PHP files generated by message/extract command (#14417) 2017-07-10 20:14:54 +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
558f2aa02a Fixes #13827 Generate "safe" methods uncommented by default 2017-03-23 00:53:14 +03:00
cf4eea1878 Fixes #13823: Refactored migrations template 2017-03-22 18:28:33 +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
4f89265fff Fixes #12748: Migration generator now tries to fetch reference column name for foreignKey from schema if it's not set explicitly 2016-11-01 02:02:16 +03:00
8aa0e85a07 Add migration namespace support (#12511)
namespace support added to `BaseMigrateController`
2016-09-12 14:01:04 +03:00
84124bec4f Fix grammar in migration template docblocks. (#12148)
Fix typo in test file's name.
2016-08-12 17:55:43 +03:00
6728d5d0e0 Fixes #11965: fixed docs for MessageController only and except 2016-07-15 21:46:14 +03:00
5992eea571 Fixes #11808: _table and _column suffixes are now required when generating migration 2016-07-04 12:50:37 +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
b923adf75c Enh: Support for useTablePrefix parameter in migrate command
Fixes #11166: migrate command new option `useTablePrefix`
2016-04-06 13:37:37 +03:00
49aec24ae1 Enh: Migrate command now supports foreign keys
Fixes #11207: migrate command can create foreign keys
2016-04-05 01:02:52 +03:00
3cbd64547a Additional phpdoc for #11187 2016-03-27 23:38:23 +03:00
2ccf9e46f8 documentation snippet 2016-03-24 18:13:25 -06:00
360eb03d5c remove min.js sourcemap hint from error page
fixes #10919
2016-02-25 15:35:35 +01:00
ccfd9cb536 Fixes #8329: Added support of options for message console command 2015-11-25 06:12:52 +03:00
2a1764f97a Enhancements for #9465 2015-11-23 13:33:26 +03:00
76e8556d34 #9465 better naming, code polish, changelog, docs wording 2015-11-20 22:50:32 +03:00
9afd240ab6 Fixes #9465: ./yii migrate/create now generates code based on migration name and --fields 2015-11-20 22:08:47 +03:00
1b3770fd21 Use === instead of == where possible 2015-10-10 01:04:35 +03:00
760cc03194 Removed extra line break
Caused by #9440
2015-08-25 09:54:18 +06:00
777c45a653 Removed yii\db\Schema from use section
Declaration of yii\db\Schema is not needed by default. Migration can be related with changing data or renaming column, so user should explicitly add it when it's needed.
2015-08-17 15:42:06 +06: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
04accb6dcc Trim some trailing whitespaces. 2015-07-14 14:16:20 +02:00
7b5744a5c3 Add to list declared variables 2015-06-08 16:17:40 +03:00
371fa3f241 Fixes #7856: Fixed comments order in messageConfig 2015-03-25 00:25:07 +03:00
b7a29e38d9 Fixes #6895: Added ignoreCategories config option for message command to ignore categories specified 2015-03-06 21:51:42 +03:00
6dc45276b5 Added hint about safeUp/safeDown 2015-02-23 21:19:53 +01:00
6481d13494 Optimized checks order in conditions 2015-02-08 17:56:36 +03:00
174843a971 Fixes #5690: adjusted paths in message config generated by yii message/config to reflect directory structure better 2015-01-11 14:56:11 +08: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
8f81e231da Fixes #4453: yii message/extract wasn't properly writing to po files in case of multiple categories 2014-07-26 02:46:58 +04:00