Maksim Spirkov
|
9a9a8b1e21
|
Use PHPStan/Psalm types in PHPDoc annotations (#20717)
|
2026-01-24 16:44:20 +03:00 |
|
Wilmer Arambula
|
c311720922
|
Fix testExceptionContainsRawQuery() in ConnectionTest class in SQLite. (#20653)
|
2025-10-31 05:57:06 -03:00 |
|
Wilmer Arambula
|
7b6a617364
|
Merge pull request #20657 from terabytesoftw/fix-sqlite-tests-3
|
2025-10-30 09:44:13 +03:00 |
|
Wilmer Arambula
|
ed6989d87b
|
Fix SQLite CommandTest skipped tests and minor fixes. (#20648)
|
2025-10-29 11:51:58 -03:00 |
|
Wilmer Arambula
|
d1ecf2ec2a
|
Add SQLite InconditionBuilderTest class to assert subquery IN is not supported and raise code coverage. (#20652)
|
2025-10-29 11:06:36 -03:00 |
|
Wilmer Arambula
|
fa724b128f
|
Make test data providers static and declare array return types in QueryBuilderTest class. (#20635)
|
2025-10-27 09:46:41 -03:00 |
|
Wilmer Arambula
|
6067cbbd76
|
Make conditionProviders() method static and declare array return type array in QueryBuilderTest class. (#20633)
|
2025-10-21 20:02:21 +03:00 |
|
Wilmer Arambula
|
f983c66cf5
|
Make test data providers static and declare array return types in db tests. (#20631)
|
2025-10-21 14:28:49 +03:00 |
|
Wilmer Arambula
|
c960f93dfe
|
Use ::class instead of ::className() in tests. (#20612)
|
2025-10-14 19:26:35 +03:00 |
|
Wilmer Arambula
|
d71f7309ae
|
Add void return to method in tests. (#20602)
|
2025-10-14 12:37:35 +03:00 |
|
Maksim Spirkov
|
909396074e
|
Fix codestyle in build and tests (#20586)
|
2025-10-10 23:04:09 +03:00 |
|
Wilmer Arambula
|
6e6174deaa
|
Add test for boolean type SQLite.
|
2023-10-26 12:59:15 -03:00 |
|
Wilmer Arambula
|
76d6345e85
|
Add test resetSequence() for SQLite. (#19895)
* Add test `resetSequence()`.
* add more test.
|
2023-07-17 09:53:21 +02:00 |
|
Bizley
|
161526cd41
|
HTTPS everywhere (#19503)
|
2022-08-03 12:32:18 +03:00 |
|
Alexander Makarov
|
385fe13d66
|
Revert #18102 since renaming is technically problematic (#18109)
|
2020-06-17 13:40:17 +03:00 |
|
Brandon Kelly
|
eb956e9c6b
|
primary/replica in a definitely non-breaking way (#18106)
|
2020-06-16 11:33:27 +03:00 |
|
Brandon Kelly
|
472600ee3f
|
Fix #18102: Use “primary”/“replica” terminology instead of “master”/“slave”
|
2020-06-14 00:12:10 +03:00 |
|
Sartor
|
a66fac3bb1
|
Fix #17758: Query::withQuery() can be used for CTE
|
2020-04-13 11:58:18 +03:00 |
|
Alexander Makarov
|
438cc80fc7
|
Fix #17667: Fix CREATE INDEX failure on sqlite when specifying schema
|
2020-03-24 15:40:02 +03:00 |
|
Alexander Kartavenko
|
cdd40b8dfb
|
Fix #17504: Fix upsert when $updateColumns = true but there are no columns to update in the table
|
2019-08-21 11:56:20 +03:00 |
|
Alexander Kartavenko
|
eb65dba796
|
Fixes #17057: Fixed issues with table names that contain special characters or keywords in MSSQL
|
2019-07-02 14:41:56 +03:00 |
|
Bizley
|
3907895324
|
Fixes #16897: Fixed yii\db\sqlite\Schema missing primary key constraint detection in case of INTEGER PRIMARY KEY
|
2018-11-22 23:57:00 +03:00 |
|
SilverFire - Dmitry Naumenko
|
59fed9a428
|
Fixed error in tests
|
2018-02-18 20:44:34 +02:00 |
|
SilverFire - Dmitry Naumenko
|
0177d68476
|
Commit da06c4a1 reduced num of useless brackets in SQL. Fixing tests
|
2018-02-17 00:15:12 +02:00 |
|
Alexander Makarov
|
64d57043b1
|
Fixes #11401: Fixed yii\web\DbSession concurrency issues when writing and regenerating IDs
|
2018-02-09 03:13:50 +03:00 |
|
Dmitry Naumenko
|
de1750228d
|
Fixes #13879: Added upsert support for yii\db\QueryBuilder and yii\db\Command
|
2018-02-09 01:05:50 +03:00 |
|
Vladimir Reznichenko
|
ecf3ef8bf9
|
Use root NS specification for opcoded functions
|
2018-02-08 00:00:36 +03:00 |
|
Zhukov Roman
|
40b038379f
|
Fixes #13019: Support JSON in SchemaBuilderTrait
|
2018-02-06 16:35:49 +03:00 |
|
Klimov Paul
|
71c541773f
|
PHPDoc fix
|
2018-01-23 13:17:25 +02:00 |
|
Klimov Paul
|
65f6b59b35
|
@inheritdoc notation changed
|
2018-01-23 13:11:24 +02:00 |
|
Sergey Makinen
|
315855f7f5
|
Fixes #15357: Added multi statement support for yii\db\sqlite\Command
|
2017-12-20 00:02:14 +03:00 |
|
Sergey Makinen
|
4e176ca325
|
Fixes #15108: Fixed yii\db\Schema::getSchemaNames() for MSSQL and added tests for all DBMSes
|
2017-11-07 19:20:14 +03:00 |
|
SilverFire - Dmitry Naumenko
|
c0d8b0a817
|
Fixed sqlite tests
Prevent marking some tests as risky
|
2017-10-30 22:13:17 +02:00 |
|
SilverFire - Dmitry Naumenko
|
06d7a1f0c6
|
Improved ConnectionTest performance
Methods testMastersShuffled and testMastersSequential executed about 30 seconds each.
This commit reduces execution time to 2-5 seconds each.
|
2017-10-30 20:34:35 +02:00 |
|
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".
|
2017-08-21 11:19:35 +02:00 |
|
Robert Korulczyk
|
0c0942d6e2
|
Enable phpdoc_add_missing_param_annotation rule in php-cs-fixer config. (#14681) [skip ci]
|
2017-08-21 01:57:23 +03:00 |
|
Robert Korulczyk
|
12eb936083
|
Enable heredoc_to_nowdoc rule in php-cs-fixer (#14419)
|
2017-07-10 13:18:52 +03:00 |
|
Sergey Makinen
|
c8856ccd4e
|
Fix merging issues & CS
|
2017-06-17 01:02:01 +03:00 |
|
Sergey Makinen
|
f820d2ca36
|
Merge branch 'master' into db-constraints
|
2017-06-16 16:52:43 +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 |
|
Sergey Makinen
|
52f8539135
|
Add Command tests
|
2017-05-15 20:55:26 +03:00 |
|
Sergey Makinen
|
73ac13e6d7
|
Implement retrieving dbms constraints
|
2017-05-15 20:55:25 +03:00 |
|
Carsten Brandt
|
fb2441c3d7
|
moved query log logic into private method and reduced calls to getRawSql()
fixes #12528
|
2017-05-08 00:04:37 +02:00 |
|
Alexander Makarov
|
3f8e8a89eb
|
Used more specific unit test assertions in framework tests
|
2017-03-14 09:45:31 +03:00 |
|
Sergey Makinen
|
9a915ba10c
|
Fixes #8120: Fixes LIKE special characters escaping for Cubrid/MSSQL/Oracle/SQLite in yii\db\QueryBuilder
|
2017-02-24 01:24:06 +03:00 |
|
Bob Olde Hampsink
|
fab53b4a6e
|
Fixes #13582: Added tests for all yii\db\QueryBuilder::resetSequence implementations, fixed SQLite implementation
|
2017-02-20 23:04:04 +03:00 |
|
Boudewijn Vahrmeijer
|
45d670c995
|
Update ConnectionTest.php
|
2017-02-18 15:49:24 +01:00 |
|
Vovan-VE
|
3538bde085
|
Add test case for #13340 and update CHANGELOG
|
2017-02-10 11:24:20 +08:00 |
|
Alexander Makarov
|
1cc327f108
|
Run common batch insert tests for SQLite
|
2017-01-28 14:41:57 +03:00 |
|
João Pedro Pereira
|
3692941ead
|
Fixes #11464: Foreign key name is not provided by schema
|
2017-01-16 00:27:20 +03:00 |
|