Carsten Brandt
0199325c81
Fixes #14958 : Added options to copy stacktrace and search for error message to the exception page
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
Dmitry V. Alexeev
1761a10c13
Added phpdoc to migration template [skip ci]
7 years ago
Alexander Makarov
acf29e0001
Fixes #14492 : Fixed error handler not escaping error info debug mode
7 years ago
Robert Korulczyk
d2781cd232
Added configuration for headers in PHP files generated by `message/extract` command ( #14417 )
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
3a6a590eae
Fixes #13945 : Removed Courier New from error page fonts list since it looks bad on Linux ( #13947 )
8 years ago
Nikolay Oleynikov
558f2aa02a
Fixes #13827 Generate "safe" methods uncommented by default
8 years ago
Nikolay Oleynikov
cf4eea1878
Fixes #13823 : Refactored migrations template
8 years ago
Alexander Makarov
a6d266405d
Fixes #13671 : Fixed error handler trace to work correctly with XDebug
8 years ago
Robert Korulczyk
4aa935e69e
Fixes #12055 : Changed `boolean` to `bool` and `integer` to `int` in phpdoc
8 years ago
MKiselev
4f89265fff
Fixes #12748 : Migration generator now tries to fetch reference column name for foreignKey from schema if it's not set explicitly
8 years ago
Paul Klimov
8aa0e85a07
Add migration namespace support ( #12511 )
...
namespace support added to `BaseMigrateController`
8 years ago
Nikola Kovacs
84124bec4f
Fix grammar in migration template docblocks. ( #12148 )
...
Fix typo in test file's name.
8 years ago
Alexander Makarov
6728d5d0e0
Fixes #11965 : fixed docs for MessageController only and except
8 years ago
Robert Korulczyk
5992eea571
Fixes #11808 : `_table` and `_column` suffixes are now required when generating migration
8 years ago
Sam Mousa
2ac17ddae6
Simplified exception page Javascript
...
- Removed unused block.
- Removed Sizzle library from exception page.
- Fixed highlighting hovering over code lines
close #10967
9 years ago
Angel Guevara
b923adf75c
Enh: Support for useTablePrefix parameter in migrate command
...
Fixes #11166 : migrate command new option `useTablePrefix`
9 years ago
Angel Guevara
49aec24ae1
Enh: Migrate command now supports foreign keys
...
Fixes #11207 : migrate command can create foreign keys
9 years ago
Angel Guevara
3cbd64547a
Additional phpdoc for #11187
9 years ago
Angel Guevara
2ccf9e46f8
documentation snippet
9 years ago
Carsten Brandt
360eb03d5c
remove min.js sourcemap hint from error page
...
fixes #10919
9 years ago
Vadym Chenin
ccfd9cb536
Fixes #8329 : Added support of options for `message` console command
9 years ago
Daniel Gomez Pan
2a1764f97a
Enhancements for #9465
9 years ago
Alexander Makarov
76e8556d34
#9465 better naming, code polish, changelog, docs wording
9 years ago
Daniel Gomez Pan
9afd240ab6
Fixes #9465 : ./yii migrate/create now generates code based on migration name and --fields
9 years ago
Alexander Makarov
1b3770fd21
Use === instead of == where possible
9 years ago
Alexey Rogachev
760cc03194
Removed extra line break
...
Caused by #9440
9 years ago
Alexey Rogachev
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.
9 years ago
Carsten Brandt
2cd4837f41
fixed display issue with overlapping text in callstack item
...
fixes #4763
9 years ago
Andrey Nester
716057ed39
Fixes #9059 : Fixed PHP Notice in error handler view
9 years ago
Felix Schindler
04accb6dcc
Trim some trailing whitespaces.
9 years ago
Alexander Mohorev
7b5744a5c3
Add to list declared variables
9 years ago
Alexander Makarov
371fa3f241
Fixes #7856 : Fixed comments order in messageConfig
10 years ago
Alexander Makarov
b7a29e38d9
Fixes #6895 : Added `ignoreCategories` config option for message command to ignore categories specified
10 years ago
Carsten Brandt
6dc45276b5
Added hint about safeUp/safeDown
10 years ago
Alexander Makarov
6481d13494
Optimized checks order in conditions
10 years ago
Alexander Makarov
174843a971
Fixes #5690 : adjusted paths in message config generated by `yii message/config` to reflect directory structure better
10 years ago
Carsten Brandt
23e51edfc6
use a monospace font in error details on exception page
...
better readability
10 years ago
Carsten Brandt
95afdceb55
fixed exception page to show error info that is longer than screen
10 years ago
Jared Feng
798a22be4d
add missing semicolon, fixes #5393
10 years ago
RichWeber
92cd13a913
pull origin
10 years ago
Alexander Makarov
8f81e231da
Fixes #4453 : `yii message/extract` wasn't properly writing to po files in case of multiple categories
10 years ago
Alexander Makarov
bc3200cef1
Fixes #4295 : reworked message extraction for PO files
10 years ago
Mark
583a562bb9
migration fixed
10 years ago
Carsten Brandt
4f95fcd91f
added unit tests for schema detection
...
fixed some issues with schema detection
10 years ago
Alexander Makarov
0c14f47f9a
Fixes #3793 : Changed inline autocomplete hints style to get more IDEs support
10 years ago
Carsten Brandt
ee2b968b7f
fixed argument display in errorHandler
10 years ago
Carsten Brandt
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
```
10 years ago
Carsten Brandt
7511de6cab
added errorInfo to exception views
11 years ago