View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003205 | Composr testing platform / automation goals | [All Projects] General / Uncategorised | public | 2017-04-08 16:07 | 2019-12-01 22:53 |
Reporter | Chris Graham | Assigned To | |||
Severity | Feature-request | ||||
Status | non-assigned | Resolution | open | ||
Summary | 0003205: Re-work type system to not use 'mixed' types (on hold) | ||||
Description | Eliminate 'mixed' types being ever set explicitly. 'mixed' should only occur when doing type analysis and finding a conflict. Instead we will support union types. Union types will be carried with variables as an additional possibility than just a single type. The union type will never expand or switch-out, although a non-union type can become union if it has union assigned to it. Any use of 'mixed' in phpdoc should be replaced with union types. Any variable will be allowed to take a 'null' value. The mixed() function can be removed. | ||||
Additional Information | This will allow better robustness and removes the mixed() function which is currently used very inconsistently. | ||||
Tags | No tags attached. | ||||
Time estimation (hours) | 24 | ||||
Sponsorship open | |||||
related to | 0002747 | assigned | Patrick Schmalstig | Composr | PHP refresh (ongoing) |
Date Modified | Username | Field | Change |
---|---|---|---|
2017-04-08 16:07 | Chris Graham | New Issue | |
2019-06-27 17:16 | Chris Graham | Summary | Re-work type system => Re-work type system to not use 'mixed' types |
2019-11-14 22:33 | Chris Graham | Relationship added | related to 0002747 |
2019-12-01 22:53 | Chris Graham | Summary | Re-work type system to not use 'mixed' types => Re-work type system to not use 'mixed' types (on hold) |
2023-02-26 18:29 | Chris Graham | Category | General => General / Uncategorised |