Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
27f1743
Fixed AbstractActiveRecord
dbuhonov Mar 13, 2026
aeecf63
Fixed AbstractActiveRecord.php:454
dbuhonov Mar 13, 2026
ec920b3
Add test ensuring new records do not execute updates during save
dbuhonov Mar 13, 2026
f0eaf4b
Add test for resetting populated relation via property setter
dbuhonov Mar 13, 2026
3b89f33
Add test for handling models without a primary key
dbuhonov Mar 13, 2026
39ad6de
Add test for linking via relation with a new record
dbuhonov Mar 13, 2026
5de7e0c
Add test for unlinking array-valued property with delete in ActiveRecord
dbuhonov Mar 13, 2026
4235f60
Add tests for intermediate relation population and reset conditions
dbuhonov Mar 13, 2026
91babdc
Add new test cases for ActiveQuery and EventsTrait functionality
dbuhonov Mar 13, 2026
5d7bc96
Add unit tests for edge cases and behavior refinements across multipl…
dbuhonov Mar 13, 2026
0154804
Add tests for property handling in `MagicActiveRecordTest` and `Repos…
dbuhonov Mar 13, 2026
a2cca91
Wrap event class instantiations in parentheses to enhance readability…
dbuhonov Mar 13, 2026
c4e2b9a
Refactor tests to improve consistency and simplify assertions across …
dbuhonov Mar 13, 2026
1d7e210
Add new tests for improving ActiveRecord and ActiveQuery behavior cus…
dbuhonov Mar 13, 2026
9e400ec
Add comprehensive tests for `ArArrayHelper`, `ModelRelationFilter`, a…
dbuhonov Mar 13, 2026
5f106e9
Add new test cases for ActiveQuery, ActiveRecord, traits, and event h…
dbuhonov Mar 13, 2026
0517a01
Fix spacing in JSON array assertion in ActiveRecordTest
dbuhonov Mar 13, 2026
91c4b35
Fixes inconsistent formatting in `ActiveRecordTest` assertions for JS…
dbuhonov Mar 13, 2026
8daa965
Fixes inconsistent formatting in `ActiveRecordTest` assertions for JS…
dbuhonov Mar 13, 2026
0258502
Add tests for single model relation population and `createRelationQue…
dbuhonov Mar 13, 2026
8b0558c
Add tests for single model relation population and `createRelationQue…
dbuhonov Mar 13, 2026
4abf941
Add test for table name and alias resolution with newline in alias
dbuhonov Mar 13, 2026
5cb4347
Remove error handler for invoke calls and add test for missing bucket…
dbuhonov Mar 13, 2026
af44084
Add `CategoryWithNameRelationArrayAccess` stub and enhance `RelationP…
dbuhonov Mar 13, 2026
58e9ed7
Add `OrderItemWithDeepViaProfile` test stub and related test
dbuhonov Mar 13, 2026
db1387b
Add test to ensure `joinWith` via relation avoids duplicating child W…
dbuhonov Mar 13, 2026
3e4e335
Add test for RelationPopulator handling composite keys in arrays
dbuhonov Mar 13, 2026
bc72ed6
Add test to verify `joinWith` avoids duplicating child `where` condit…
dbuhonov Mar 13, 2026
cb145a2
Add test for ArArrayHelper to retrieve undeclared magic property
dbuhonov Mar 13, 2026
0af6a91
Add test to validate rejection of malformed aliased relation names in…
dbuhonov Mar 13, 2026
7b2c0e5
Add unit test for ArArrayHelper::getValueByPath default value on miss…
dbuhonov Mar 13, 2026
c56c26f
Update `infection.json.dist` to add ignored cases for specific mutators
dbuhonov Mar 13, 2026
583f941
Replace outdated test `testUnlinkAllWithArrayValuedPropertyAndDelete`…
dbuhonov Mar 17, 2026
a66fcc6
Skip Oracle-specific tests due to lack of RETURNING clause support in…
dbuhonov Mar 17, 2026
69331c0
Skip Oracle-specific tests due to lack of RETURNING clause support in…
dbuhonov Mar 17, 2026
1903aaa
Simplify test setup by removing redundant `id` assignments and cleani…
dbuhonov Mar 17, 2026
27b2a3e
Update tests to handle database-specific constraints and refactor eve…
dbuhonov Mar 17, 2026
e2a77f1
Update tests to handle database-specific constraints and refactor eve…
dbuhonov Mar 17, 2026
ab10e5a
Re-enable and update `testPropertyAccess` method in `ActiveRecordTest`
dbuhonov Mar 17, 2026
cee9d4a
Simplify infection.json.dist by removing mutator-specific ignore conf…
dbuhonov Mar 17, 2026
a476f7d
Adjust mutator configurations in `infection.json.dist` to improve mut…
dbuhonov Mar 17, 2026
1887462
Add test for ModelRelationFilter handling array column conditions
dbuhonov Mar 17, 2026
0e2ff77
Add tests for ModelRelationFilter with JSON and scalar column conditions
dbuhonov Mar 17, 2026
a110abf
Use `ReflectionMethod` without fully qualified namespace in `ActiveQu…
dbuhonov Mar 19, 2026
1899548
Use `ReflectionMethod` without fully qualified namespace in `ActiveQu…
dbuhonov Mar 19, 2026
8492865
Add stub classes to test ActiveQuery and ActiveRecord behavior
dbuhonov Mar 19, 2026
b1ab39a
Update `ActiveRecordTest` to improve assertions for relation populati…
dbuhonov Mar 19, 2026
c3a20fd
Add test for ModelRelationFilter handling array column values with co…
dbuhonov Mar 19, 2026
f0e4e68
Use `ReflectionMethod` without fully qualified namespace in `ActiveRe…
dbuhonov Mar 19, 2026
a100844
Add test to verify `resetRelation` updates relation dependencies in `…
dbuhonov Mar 19, 2026
8fe24c9
Update tests/Stubs/ActiveRecord/CustomerWithOverriddenRelationQuery.php
dbuhonov Mar 19, 2026
aaccff4
Update tests/Stubs/ActiveRecord/CustomerWithRefreshInternalOverride.php
dbuhonov Mar 19, 2026
7804055
Update CHANGELOG for Test #529: Increase MSI to 100%
dbuhonov Mar 20, 2026
4dbfbf2
Combine and revise array column tests in `ModelRelationFilter` for cl…
dbuhonov Mar 22, 2026
dc1ccc0
Update CHANGELOG to reflect no changes in release 1.0.3
dbuhonov Mar 23, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 40 additions & 1 deletion infection.json.dist
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,45 @@
},
"mutators": {
"@default": true,
"ArrayItemRemoval": false
"ArrayItemRemoval": false,
"ConcatOperandRemoval": {
"ignore": [
"Yiisoft\\ActiveRecord\\Trait\\MagicRelationsTrait::relationQuery",
"Yiisoft\\ActiveRecord\\Trait\\MagicRelationsTrait::relationNames"
]
},
"FalseValue": {
"ignore": [
"Yiisoft\\ActiveRecord\\Event\\Handler\\SetValueOnUpdate::beforeUpsert"
]
},
"LogicalAnd": {
"ignore": [
"Yiisoft\\ActiveRecord\\Internal\\JoinsWithBuilder::joinWithRelations"
]
},
"MatchArmRemoval": {
"ignore": [
"Yiisoft\\ActiveRecord\\Event\\Handler\\SetValueOnUpdate::beforeUpsert"
]
},
"MethodCallRemoval": {
"ignore": [
"Yiisoft\\ActiveRecord\\Internal\\JoinsWithBuilder::build"
]
},
"TrueValue": {
"ignore": [
"Yiisoft\\ActiveRecord\\ActiveRecord::upsertInternal"
],
"ignoreSourceCodeByRegex": [
"protected function upsertInternal\\(\\?array \\$insertProperties = null, array\\|bool \\$updateProperties = true\\): void"
]
},
"UnwrapArrayValues": {
"ignore": [
"Yiisoft\\ActiveRecord\\Internal\\JoinsWithBuilder::build"
]
}
Comment on lines +17 to +55
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These exclusions are for survivors that are not obvious from the test diff itself, so I moved them into infection.json.dist intentionally to make them explicit and visible rather than leaving them hidden in the report only.

}
}
Loading
Loading