52 Commits

Author SHA1 Message Date
7c07885375 Feature/dependency fixes for PHP 8.2 (#19746) 2023-01-24 00:01:18 +03:00
161526cd41 HTTPS everywhere (#19503) 2022-08-03 12:32:18 +03:00
58afaaf4d2 Change http to https in requirements.php (#19423) 2022-06-01 23:23:56 +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
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
d5a428e001 Fix some code smells (#18696) 2021-06-05 13:37:45 +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
9bf11efedf Fixed IPv6 requirement check
Closes #16035
2018-04-29 11:15:45 +03:00
185209957e Fixes #15270: Resolved potential race conditions when writing generated php-files 2017-12-02 18:24:56 +03:00
a50d9d8e3e Enable include rule in php-cs-fixer (#14418) 2017-07-10 13:19:57 +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
620ce9af19 Enhanced requirements memo for IPv6 2017-04-18 19:15:16 +03:00
14a245a413 Added AF_INET6 to requirements 2017-04-18 19:12:40 +03:00
9fa66b23a5 Remove an empty expression (#13731) 2017-03-09 02:52:36 +03:00
3cf55b8f03 Remove redundant semicolon (#13045)
merci
2016-11-18 17:04:00 +01:00
4aa935e69e Fixes #12055: Changed boolean to bool and integer to int in phpdoc 2016-11-07 02:51:39 +03:00
eb02b362be Revert "Replaced extract() function usages with custom polyfill in order to fix HHVM compatibility"
This reverts commit f7bd7c2b6b1b9941e3c50d99e4f07ff17d513cca.
2016-09-07 11:33:57 +03:00
f7bd7c2b6b Replaced extract() function usages with custom polyfill in order to fix HHVM compatibility 2016-09-06 22:50:00 +03:00
c7d5e69cda Eliminated unused variables 2016-07-29 23:06:38 +03:00
3d719d057e review yii\web namespaces docs 2016-02-12 16:21:32 +01:00
557b32f1d7 Efficiency CSS on Requirement Checker
I think this is no need a 6807 lines only for css style, 'same' css code, unused code inside core framework. 
Like @samdark say, I think will be better to remove unused stuff.

closed issue : https://github.com/yiisoft/yii2/issues/10791
2016-02-10 10:44:39 +07:00
d0e285ea3a Change to semantic html 5 elements/tags 2016-02-10 10:42:03 +07:00
cd87d67f34 Global DOCS update: ~~~ replaced with ``` 2015-12-02 23:15:28 +02:00
9d79038485 Added requirement for ICU Data 2015-11-19 17:26:01 +02:00
f393a84a0f Fixed error in case of missing ICU 2015-11-15 13:58:13 +02:00
1b3770fd21 Use === instead of == where possible 2015-10-10 01:04:35 +03:00
0407407b76 fix coding style to follow PSR-2 2015-10-05 13:58:47 +06:00
67658cf57d Replaced static with $this in phpdoc since current IDEs are finally able to handle it correctly 2015-05-31 13:39:30 +03:00
219bf07dbb 'ctype' PHP extension added to the requirements 2015-05-14 16:41:36 +03:00
b2f5739781 Merge pull request #7407 from sidtj/7301-check-icu-version-in-requirements
#7301 adds checking of the icu version in requirements
2015-02-24 14:22:40 +03:00
4512833fac Fixes #7215: Uses OpenSSL crypto lib instead of Mcrypt. Added testing of encrypted data compatibility, both backward and forward 2015-02-24 14:03:41 +03:00
f0cc302802 [i18n, #7301] Check ICU version in requirements warning when < 49 2015-02-23 20:45:31 -03:00
274b92b6a3 Fix #6605 2014-12-21 17:34:07 +01:00
bb8550886e PHP type casting 2014-10-25 15:30:03 +03:00
ddf8085b8e Fixes #4297: Added check for DOM extension to requirements 2014-07-16 14:40:09 +04:00
08b7636d81 Review requirements
fileinfo is not a hard dependency.
2014-06-30 11:22:13 +02:00
1f4a7997a3 Update requirements.php 2014-06-29 15:56:44 +02:00
8df51a7ec0 made mcrypt a framework requirement 2014-06-29 15:26:32 +02:00
0c14f47f9a Fixes #3793: Changed inline autocomplete hints style to get more IDEs support 2014-06-20 17:40:00 +04:00
c3de3450a7 Fixes #3939: \yii\Inflector::slug() improvements:
- Added protected `\yii\Inflector::transliterate()` that could be replaced with custom translit implementation.
- Added proper tests for both intl-based slug and PHP fallback.
- Removed character maps for non-latin languages.
- Improved overall slug results.
- Added note about the fact that intl is required for non-latin languages to requirements checker.
2014-06-19 20:33:52 +04:00
724efdb58e fileinfo check 2014-06-11 20:52:25 +04:00
55b8a749ae Tests excess dump removed 2014-05-17 01:56:33 +03:00
435747cf98 apidoc and codestyle fixes 2014-03-26 23:03:18 +01:00
bf3c75147d reverted breaking PHPdoc codestyle changes
issue #2852
2014-03-23 20:51:09 +01:00
64997fd5e3 fixed requirements checker once again... 2014-03-16 20:40:54 +01:00
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
1b7e1cd027 Merge pull request #2605 branch 'feature' of https://github.com/mongosoft/yii2 into code-style
* 'feature' of https://github.com/mongosoft/yii2:
  returned back formatting language files
  code style. WHILE
  code style. FOR
  code style. FOREACH
  code style. operator IF
  @param, @var, @property and @return must declare types as boolean, integer, string, array or null
  short echo tags
  short array syntax

Conflicts:
	extensions/apidoc/commands/RenderController.php
	extensions/apidoc/models/BaseDoc.php
	extensions/apidoc/models/Context.php
	extensions/apidoc/templates/bootstrap/Renderer.php
	extensions/apidoc/templates/bootstrap/layouts/guide.php
	extensions/apidoc/templates/bootstrap/layouts/main.php
	extensions/apidoc/templates/bootstrap/views/index.php
	extensions/apidoc/templates/html/Renderer.php
	extensions/apidoc/templates/offline/views/index.php
	extensions/apidoc/templates/offline/views/offline.php
	extensions/apidoc/templates/online/views/index.php
	extensions/elasticsearch/Connection.php
	extensions/redis/ActiveQuery.php
	framework/base/ErrorException.php
	framework/helpers/BaseFileHelper.php
	tests/unit/framework/helpers/FileHelperTest.php
2014-03-07 21:54:44 +01:00
3777ec2bd3 fixed > 100 typos introduced by me :-) 2014-03-05 02:38:59 +01:00
95ea1c20bb code style. FOREACH 2014-03-03 21:47:47 +03:00
c7e8d8b900 @param, @var, @property and @return must declare types as boolean, integer, string, array or null 2014-03-03 20:50:44 +03:00