Robert Korulczyk
|
1501c659ac
|
Add empty lines before return statements. (#14682) [skip ci]
|
7 years ago |
Alexander Makarov
|
1f26db9fb7
|
Applied code style fixes
|
7 years ago |
Carsten Brandt
|
69673c0c94
|
Rename Object -> BaseObject for PHP 7.2 compatibility
issue #7936
|
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 |
Robert Korulczyk
|
4aa935e69e
|
Fixes #12055: Changed `boolean` to `bool` and `integer` to `int` in phpdoc
|
8 years ago |
╃巡洋艦㊣
|
1468bd4d3d
|
version 2.0.1 84b42ab
|
10 years ago |
Serge Postrash
|
eb60aaecdf
|
Update BaseMessage.php
See 0ff0f9d32e
https://github.com/yiisoft/yii2/issues/4071
|
10 years ago |
Carsten Brandt
|
c93231e26b
|
improved session error handling
fixes #1946
|
11 years ago |
Carsten Brandt
|
ccd16e184f
|
added mailer to the message when using compose
more expected behavior when chaining methods using
Mailser::compose()
fixes #2723
|
11 years ago |
SonicGD
|
b5f8a4dc22
|
Reformat code te be PSR-2 compatible
|
11 years ago |
Qiang Xue
|
0c38655217
|
psr-4 move
|
11 years ago |
Carsten Brandt
|
7a1949fe2d
|
improved traceability of errors thrown in toString() methods
|
11 years ago |
Qiang Xue
|
73442fb12a
|
doc fix.
|
11 years ago |
Qiang Xue
|
a5e3c00d75
|
replaced inheritdoc tags.
|
11 years ago |
Qiang Xue
|
bd8f74cf12
|
Refactored MessageInterface::send().
|
11 years ago |
Panagiotis Moustafellos
|
2ff8ac3d61
|
fixed PhpDoc by swapping to {@inheritdoc}
|
11 years ago |
Carsten Brandt
|
913eb62294
|
updated phpdoc and fixed generator read/write-only annotation
|
11 years ago |
Qiang Xue
|
90a5bcc611
|
Refactored mail.
|
11 years ago |
Qiang Xue
|
ed0e44d23b
|
minor touch up of swiftmailer.
|
11 years ago |
Paul Klimov
|
1aafa73e15
|
Render methods removed from 'yii\mail\MessageInterface'.
Method 'yii\mail\MailerInterface::compose()' reworked allowing rendering message body.
|
11 years ago |
Paul Klimov
|
3d1a625cbb
|
'yii\mail\MessageInterface' updated:
- 'body()' renamed to 'renderBody()'
- new 'body()' method introduced
|
11 years ago |
Paul Klimov
|
b0c5981d42
|
Method names "yii\mail\MessageInterface" simplified.
|
11 years ago |
Klimov Paul
|
45d02d07a0
|
Method 'yii\mail\MessageInterface::body()' added.
|
11 years ago |
Klimov Paul
|
87af95f712
|
'yii\mail\MessageInterface' updated:
- setter methods renamed to have pure name
- method 'createMessage' renamed to 'compose'
|
11 years ago |
Klimov Paul
|
ef6fea9610
|
Unit test 'BaseMessageTest' created
|
11 years ago |
Paul Klimov
|
368c244768
|
MessageInterface::render() replaced by MessageInterface::renderHtml() and MessageInterface::renderText()
|
11 years ago |
Paul Klimov
|
99d8216103
|
Email message charset setup added.
|
11 years ago |
Paul Klimov
|
774c4db860
|
'yii\mail\MessageInterface' file related methods interface adjusted to use options, embed file methods added.
|
11 years ago |
Paul Klimov
|
5bc22a077f
|
Interface 'MailerInterface' extracted.
Method 'MailerInterface::createMessage()' added.
|
11 years ago |
Paul Klimov
|
73a8e77c3d
|
BaseMailer::defaultMessageConfig published as BaseMailer::messageConfig
|
11 years ago |
Paul Klimov
|
4a9d546c79
|
'MessageInterface::createAttachment()' renamed to 'MessageInterface::attachContentAsFile()'
|
11 years ago |
Paul Klimov
|
2a326c7d7b
|
'email' renamed to 'mail'.
'SwiftMailer' recomposed into extension.
|
11 years ago |
Paul Klimov
|
b611c4241f
|
Email message interface extracted.
|
11 years ago |
Paul Klimov
|
e5e0de8c8f
|
'\yii\email\ViewResolver' added.
Email message render functionality added.
|
11 years ago |
Paul Klimov
|
88126bc4d3
|
Unit tests for \yii\email\swift have been improved.
Methods 'addText' and 'addHtml' added to \yii\email\BaseMessage.
|
11 years ago |
Paul Klimov
|
492f35621c
|
Email components hierarchy created.
SwiftMailer applied as email solution.
|
11 years ago |