silverstripe-framework/tests/php
Finlay Metcalfe 2487c4085d
ENH Create Requirements::customScriptWithAttributes (#11076)
* ENH Create Requirements::customScriptWithAttributes

* MNT PHP Lint failures corrected

* ENH Refactored attribute handling to avoid API changes, auto lowercase, strong typing

* FIX Updated default value handling for type in customScriptWithAttributes

* DOC Removed white space

* MNT PHP Lint Failures Corrected

* Update src/View/Requirements_Backend.php

Co-authored-by: Steve Boyd <emteknetnz@gmail.com>

* Update src/View/Requirements_Backend.php

Co-authored-by: Steve Boyd <emteknetnz@gmail.com>

* Update tests/php/View/RequirementsTest.php

Co-authored-by: Steve Boyd <emteknetnz@gmail.com>

* FIX Removed extra closing brace in customScriptWithAttributes

* Update src/View/Requirements_Backend.php

Co-authored-by: Steve Boyd <emteknetnz@gmail.com>

* Update src/View/Requirements.php

Co-authored-by: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com>

* MNT Fixed left over content definition and created tests for uniquenessIDs

* MNT Fixed PHP Lint Error

* MNT Fix PHP Lint Error

* FIX Remove attribute when calling customScript with the same uniquenessID

---------

Co-authored-by: Steve Boyd <emteknetnz@gmail.com>
Co-authored-by: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com>
2023-12-22 12:00:33 +13:00
..
Control MNT Remove TODO comments 2023-10-30 13:21:09 +13:00
Core MNT Remove TODO comments 2023-10-30 13:21:09 +13:00
Dev NEW Allow a single has_one to manage multiple reciprocal has_many (#11084) 2023-12-12 10:18:25 +13:00
Forms Merge pull request #11049 from creative-commoners/pulls/5/gridfield-with-viewabledata 2023-12-19 19:55:29 +13:00
i18n Merge branch '5.0' into 5 2023-06-14 11:10:44 +12:00
Logging Merge branch '4' into 5.0 2023-03-30 13:20:03 +13:00
ORM Merge pull request #11049 from creative-commoners/pulls/5/gridfield-with-viewabledata 2023-12-19 19:55:29 +13:00
Security Merge branch '5.1' into 5 2023-11-01 20:14:50 +00:00
View ENH Create Requirements::customScriptWithAttributes (#11076) 2023-12-22 12:00:33 +13:00