Closed emteknetnz closed 4 months ago
Turns out you need brackets in this scenario, won't return a bool, instead it returns the value of the property
$o = new stdClass; $o->abc=123; var_dump($o->abc ?? '' === 'def'); // int(123)
Also alpha sorts script files so that scripts run in a predictable nature - this is desirable because there's a depedency on dispatch-ci.yml from merge-ups.yml - https://github.com/silverstripe/module-standardiser/blob/main/scripts/cms-any/merge-ups.php#L10
Turns out you need brackets in this scenario, won't return a bool, instead it returns the value of the property
Also alpha sorts script files so that scripts run in a predictable nature - this is desirable because there's a depedency on dispatch-ci.yml from merge-ups.yml - https://github.com/silverstripe/module-standardiser/blob/main/scripts/cms-any/merge-ups.php#L10