Commit Graph

130 Commits

Author SHA1 Message Date
Maksim Spirkov
0885af7c99 Update PHPStan version to 2.1 (#20558) 2025-10-02 01:27:51 +03:00
Wilmer Arambula
973a55f90e Update minimum PHP version requirement from 7.3 to 7.4. (#20539) 2025-09-25 18:08:30 -03:00
Maksim Spirkov
28b6ca7002 Fix #20485: Fix error Cannot unset string offsets in yii\di\Instance:ensure(['__class' => ...], 'some\class\name'), Integrate PHPStan for static analysis 2025-08-26 22:01:33 +03:00
Tim Düsterhus
8bd71d3d83 Fix #20273: Remove unnecessary paragonie/random_compat dependency 2024-11-05 02:58:05 +03:00
Wilmer Arambula
953a1265d7 Update ezyang/htmlpurifier dependency to version 4.17. 2024-03-26 15:04:45 -03:00
Wilmer Arambula
c2d4691fee Update composer.json
Co-authored-by: Robert Korulczyk <robert@korulczyk.pl>
2024-03-20 18:00:30 -03:00
Wilmer Arambula
ce813e5060 Raise version min PHP 7.3. 2024-03-20 17:27:20 -03:00
Razvan Grigore
e2a167028b Upgrade to PSR12 coding standard (#20121) 2024-03-19 17:21:27 +03:00
Wilmer Arambula
6ceb6f65f4 Fix MaskedInputAsset::class. 2023-10-15 06:28:12 -03:00
Wilmer Arambula
a028baf1b9 Fix order. 2023-09-22 06:14:23 -03:00
Wilmer Arambula
20a4b7eff9 Update bower-asset/inputmask, bower-asset/punycode. 2023-09-21 11:22:53 -03:00
Wouter Wolters
f6bb12091b Fix #19841: Allow jQuery 3.7 to be installed 2023-05-28 13:50:15 +03:00
Tobias Munk
7c07885375 Feature/dependency fixes for PHP 8.2 (#19746) 2023-01-24 00:01:18 +03:00
Anton
10f604582c Fix autoload sections in composer.json (#19337)
Move `yii\cs\`  into `autoload-dev` and add  `test` and `build` namespaces
2022-04-06 23:43:31 +04:00
Tobias Munk
857f049e2e composer update (allow-plugins) (#19277)
Co-authored-by: Bizley <pawel@positive.codes>
2022-03-02 17:45:53 +01:00
Alexander Makarov
1271bc419f Fix #19041: Fix PHP 8.1 issues 2022-01-14 13:52:01 +03:00
Alexander Makarov
489a543b10 Use ircs as IRC protocol
See b583310476
2021-08-19 23:17:05 +03:00
Alexander Makarov
2bfe51c6c7 Rollback #18532: Do not autoload tests/bootstrap.php since new Composer tries to do so for ./build/build as well 2021-08-09 20:30:40 +03:00
Alexander Makarov
13f27e4d92 Fix #18817: Use paragonie/random_compat for random bytes and int generation 2021-08-09 10:25:36 +03:00
Alexander Makarov
1a057444ab Update URLs (#18802)
Composer doesn't support ircs protocol yet
2021-08-02 19:56:07 +03:00
Arhell
e1bcfe7e15 update composer.json links 2021-07-16 00:30:53 +03:00
Marco van 't Wout
3cc1201d7b Allow jQuery 3.6 to be installed
See https://blog.jquery.com/2021/03/02/jquery-3-6-0-released/
2021-06-22 11:34:44 +02:00
Brandon Kelly
1bdbe80bfb Execute tests/bootstrap.php via autoload-dev 2021-02-26 23:14:43 +03:00
Alexander Makarov
7d25dc72a9 Apply PHPUnit patches from URL (#18356) 2020-10-30 22:21:20 +03:00
Alexander Makarov
ed1c087784 Fix #18317: Additional PHP 8 compatibility fixes
Co-authored-by: Bizley <pawel@positive.codes>
2020-10-23 12:42:44 +03:00
Alexander Makarov
0aed904077 Move patcher up so patches are certainly applied (#18211) 2020-08-07 16:38:47 +03:00
Wouter Wolters
9814f61847 Fix #18019: Allow jQuery 3.5.0 to be installed 2020-05-01 02:20:36 +03:00
haveyaseen
b1da57ddf9 Apply patch to PHPUnit which replaces the deprecated each method (#17831) 2020-01-27 01:41:09 +03:00
Alexander Makarov
e88cc3888a Patch PHPUnit mock objects to work correctly with PHP 7.4 2019-12-11 18:55:35 +03:00
Alexander Makarov
3a7779f09a Fixes #17313: Support jQuery 3.4 2019-05-21 11:51:14 +03:00
SilverFire - Dmitry Naumenko
0e3a66134c Fixing Travis build
Travis build failed because of very slow MySQL queries execution.
According to MySQL 5.7.23 [release notes](https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-23.html#mysqld-5-7-23-bug)
the `mysql_upgrade` command MUST be run after upgrading to this release.
Otherwise MySQL will flood logs with a warging that results in a performance problems.
2018-08-29 12:24:55 +03:00
Filippo Tessarotto
4e82541ed3 Fixes #16522: Allow jQuery 3.3 2018-07-31 23:44:35 +03:00
Alexander Makarov
d4c4294318 #15899 Updated cebe/markdown composer constraint 2018-03-15 00:48:00 +03:00
SilverFire - Dmitry Naumenko
adc58f0b67 Allowed jQuery 3.2 in composer.json 2017-09-09 15:46:47 +03:00
Carsten Brandt
758f01934f Make PHPUnit run on PHP 7.2
fix PHPUnit at 4.8.34 as the next version breaks our compatibility
Layer:
a55235c033
2017-07-19 10:51:46 +02:00
Alexander Makarov
858e801573 Fixes #14286: Used primary inputmask package name instead of an alias 2017-06-17 14:49:38 +03:00
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.
2017-06-12 12:25:45 +03:00
Carsten Brandt
c09a03ab8e fixed version and missing @since annotation 2017-06-05 16:26:51 +02:00
Robert Korulczyk
33cff4b5cc Cleanup after #14017 (#14091) 2017-05-01 11:58:02 +02:00
SilverFire - Dmitry Naumenko
d3f97f7e64 Switched to asset-packagist 2017-04-20 14:46:30 +03:00
Carsten Brandt
c19b2f7dc8 release version 2.0.11 2017-02-01 17:46:29 +01:00
SilverFire - Dmitry Naumenko
076661c390 Added @dynasource to composer.json 2016-12-29 12:59:21 +02:00
Robert Korulczyk
706fcec374 Use github-no-api for assets plugin. (#13100)
Possible fix for #12987. At least for me it fixes travis tests on my fork: https://travis-ci.org/rob006/yii2-dev/branches.

References:

    http://www.yiiframework.com/wiki/843/boost-composer-asset-plugin-update-speed/
    fxpio/composer-asset-plugin#226
2016-12-01 10:00:20 +01:00
Carsten Brandt
ef30c7c7b6 update composer.json to work on different platforms
issue #12946
2016-11-08 23:25:02 +01:00
Carsten Brandt
8c17e4a6c1 updated jQuery dependency to include 1.12.x
close #11364
2016-07-06 00:33:30 +02:00
Carsten Brandt
15eb280d2d changed HTMLPurifier dependency to allow loading new minor versions
see d7f6f11193
2016-02-21 18:07:10 +01:00
Alexander Makarov
d7f6f11193 HTMLPurifier dependency updated to ~4.7.0 2016-02-20 02:57:45 +03:00
Carsten Brandt
33f86b3913 updated composer.json to match the one in framework 2016-02-16 15:04:50 +01:00
Alexander Makarov
9edd26eef7 Updated composer.json dependency versions. Fixes #10785 2016-02-08 11:33:16 +03:00
SilverFire - Dmitry Naumenko
1bba59edc2 Added Dmitry Naumenko to authors 2015-11-27 20:44:02 +02:00