- Simplified concat assignment logic by checking for Concat instance directly instead of flattening
- Changed SelectionExpressionTrait to use parseExprAsValue for ternary branches
- Added proper handling of void branch conversion to null in ternary expressions
- Added tests for concat assignment to inherited properties
- Added tests for ternary expressions with void branches and side effects
- Replaced all occurrences of self::TYPE_* with Type::* in AnonClassGenerator.php
- Updated ArrayExpressionTrait.php to use Type::ARRAY and Type::VAR instead of self::TYPE_*
- Modified AssignOpTrait.php to reference Type constants instead of self::TYPE_*
- Changed BinaryOpTrait.php to use Type::BIGINT, Type::DECIMAL, Type::BIGFLOAT constants
- Updated CallArgumentGenerator.php to use Type::ARRAY and Type::REF constants
- Added Type import statements to all modified files
- Maintained same functionality while improving code consistency with Type namespace
- Moved conditional control methods (parseIf, parseIfChain) to ConditionalControlTrait
- Moved loop control methods (parseFor, parseWhile, parseDo) to LoopControlTrait
- Moved selection expression methods (parseTernary, parseMatch) to SelectionExpressionTrait
- Removed unused parseValueSelection method from CompilerBase
- Updated CompilerBase to import new trait files
- Extracted conditional, loop, and selection expression logic into modular traits
- Maintained all existing functionality while improving code organization