161526cd41
HTTPS everywhere ( #19503 )
2022-08-03 12:32:18 +03:00
4628b91e73
Fix types ( #19332 )
...
* Migration::upsert() returns void
* Unneeded `@property` tags
* Add missing `null` param/return types
* Null types for db\Query + db\ActiveQuery
* Fixed testSelect
2022-03-30 18:40:10 +02:00
655786b7ed
release version 2.0.44
2021-12-30 10:50:56 +03:00
0041f034fd
[doc] Update PHP doc links ( #18957 )
...
* Replace https://secure.php.net with https://www.php.net
* Replace http://www.php.net with https://www.php.net
2021-10-19 14:50:26 +02:00
054e259861
Fixed typo in console/Application.php ( #18596 )
2021-04-06 12:33:16 +03:00
ccb14ff667
release version 2.0.39
2020-11-10 13:58:35 +03:00
bdb7c64910
Update to https protocol for php.net links ( #17168 ) [skip ci]
...
* Updated php.net link for some MemCache properties [skip ci]
* Changed protocol to https for links to php.net in comments
* Changed protocol to https for links to php.net in code
* Changed www.php.net (http) to secure.php.net (https) in comments
* Changed www.php.net (http) to secure.php.net (https) in code
* Changed protocol to https for links to php.net in UPGRADE.md
* Changed protocol to https for links to pecl.php.net in comments
* Changed us.php.net to secure.php.net (https) in comments
* Changed protocol to https for links to php.net in docs
* Changed www.php.net (http) to secure.php.net (https) in docs
* Changed protocol to https for links to pecl.php.net in docs
* Changed ru/jp.php.net to secure.php.net (https) in docs
Don't sure about russian guide: is this links meant to be for guide on russian, or not?
2019-02-28 13:09:27 +03:00
65f6b59b35
@inheritdoc
notation changed
2018-01-23 13:11:24 +02:00
a50d9d8e3e
Enable include
rule in php-cs-fixer ( #14418 )
2017-07-10 13:19:57 +03:00
fe8a0a6a2e
Enable no_useless_else
rule in php-cs-fixer ( #14420 )
2017-07-10 11:26:21 +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
1d3495d84d
Alternative implementation for Unknown command suggestions
...
alternative implementation for #12661 , proof of concept, does not
include filtering by similarity yet.
issue #12659
2016-12-03 01:13:28 +01:00
4aa935e69e
Fixes #12055 : Changed boolean
to bool
and integer
to int
in phpdoc
2016-11-07 02:51:39 +03:00
ee92cfa7ba
release version 2.0.9
2016-07-11 15:36:42 +02:00
4e7f6f64d2
added errorHandler, Request and Response getter
...
to web and console application to ensure better ide completion.
methods in base class are required because they are called from base
class.
fixes #10947
2016-06-20 14:47:17 +02:00
b4995c3990
Fixed yii\console\Application::runAction
to not to corrupt response exit code when action returns Response object
...
close #10235
2016-04-22 17:24:11 +02:00
60be6389bf
Fixes #11081
2016-03-10 21:31:03 +03:00
3f828d9599
alphabetical order for console core commands
2016-02-06 20:04:31 +01:00
cd87d67f34
Global DOCS update: ~~~ replaced with ```
2015-12-02 23:15:28 +02:00
3e915903a2
Fixes #10083 : Added wrapper for PHP webserver
2015-11-05 22:08:57 +03:00
6d9fe671de
various code style and whitespace adjustments
2015-08-02 00:27:19 +02:00
b53f50a762
Reverted #9140
...
See discussion at ef27d820d2
2015-07-18 22:08:47 +03:00
ef27d820d2
#9140 : better fix for IDEs
2015-07-17 15:42:29 +03:00
105100fe79
Merge pull request #9140 from matthewyang/fix-redefine-parent-property-controller
...
Removed redefinition of Application::$controller from web/console
2015-07-17 08:29:33 +03:00
fed6f35627
remove redefined parent property
2015-07-17 12:23:27 +08:00
a5c92eb4cb
register STDIN
, STDOUT
, and STDERR
if not defined by PHP
...
this ensures that they are defined if needed and reduces redundant
code in the entry script.
close #6853
2015-07-11 17:46:32 +02:00
68c30c1034
Replace aliases of functions
2015-06-29 22:59:22 +03:00
de87f43d70
Fixes #4292 : The error messages for console commands will not be translated
2014-10-02 23:46:11 -04:00
3a1e0f3a5c
property codestyle framework
2014-07-30 00:21:31 +02:00
5c837c0575
fixed console errorHandler class
2014-05-12 19:11:40 +02:00
a2aa20f183
simplified errorhandler registration.
2014-05-11 20:59:20 -04:00
c7b05f0c22
Fixed inconsistent return of \yii\console\Application::runAction()
2014-05-07 03:11:35 +04:00
c6e1a2f02f
Merge branch 'master' of github.com:yiisoft/yii2
...
* 'master' of github.com:yiisoft/yii2: (79 commits)
Refactored app bootstrap logic.
Update authorization.md
Fixes #3052 : Fixed the issue that cache dependency data is not reused when `reusable` is set true
start debug logging only if debug runs when bootstrap.
Update finnish translation
Add ODBC support to yii\db\Connection
updated error handler and requirement checker links.
fixed broken API links [skip ci]
added more doc [skip ci]
update class map.
Fixes #2034 : Added `ContentNegotiator` to support response format and language negotiation
renamed attributes to attributeNames in model
updated phpdoc
Removed `Application::preload` in favor of `Application::bootstrap`
Update module-debug.md
Update model.md
Fixes
Update basics.md
typo fix [skip ci]
Added `HtmlResponseFormatter` and `JsonResponseFormatter`
...
2014-04-10 22:22:36 +02:00
3c400dbca8
fixed file PHPdoc
...
issue #3026
2014-04-10 22:10:59 +02:00
3fdcf11f24
updated phpdoc
2014-04-09 18:51:45 +02:00
a4b6fb263d
handle Exceptions in application init()
2014-03-30 01:27:18 +01:00
89f6a00147
created console errorHandler
2014-03-30 01:04:43 +01:00
f2b20d99d5
Merge branch 'master' into refactor-errorhandler
...
* master:
Fixes #2912 : Relative view files will be looked for under the directory containing the view currently being rendered
app end improvement.
improvement of Application::end() handling.
typo fix.
Fixes #2910 : Added `Application::end()`
Conflicts:
framework/base/Application.php
2014-03-30 00:27:51 +01:00
8b4d4a0b25
cleanup web errorhandler
2014-03-29 23:02:35 +01:00
ac74fede28
Fixes #2910 : Added Application::end()
2014-03-28 16:59:21 -04:00
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
2014-03-23 20:51:09 +01:00
8c2e39235f
Turn module and application into DI containers.
2014-03-17 23:57:01 -04:00
b5f8a4dc22
Reformat code te be PSR-2 compatible
2014-03-16 10:46:21 +06:00
bbea1ab19c
Fixes #2629 : Module::controllerPath
is now read only, and all controller classes must be namespaced under Module::controllerNamespace
2014-03-07 10:35:15 -05:00
aeeee44f69
support loading config by alias.
2014-02-08 10:29:53 -05:00
bd70ac840f
Fixes #2054 : Added support for using custom application configuration with the console command runner
2014-02-07 21:58:24 -05:00
9630c807a7
doc link fixes
2014-01-23 12:04:02 +01: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
e132ed8d18
initial implementation of asset command.
2013-04-22 17:22:38 -04:00