silverstripe-framework/tests/php/View
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
..
ArrayDataTest ENH PHP 8.2 support 2022-12-21 14:44:47 +13:00
Embed ENH PHP 8.2 support 2022-12-21 14:44:47 +13:00
Parsers MNT small indentation change 2023-02-08 16:20:25 +13:00
Shortcodes API Remove configurability of attributes 2023-03-21 16:38:05 +13:00
SSViewerCacheBlockTest Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
SSViewerTest Merge branch '5.0' into 5 2023-08-09 23:47:19 +00:00
ViewableDataTest FIX Allow public extension getter methods to work (#10676) 2023-02-01 16:05:54 +13:00
ArrayDataTest.php API Stop using deprecated API 2022-11-15 18:20:54 +13:00
ContentNegotiatorTest.php API Upgrade SapphireTest to work with phpunit 9 (#10028) 2021-10-27 15:39:47 +13:00
HTMLTest.php ENH Use masterminds/html5 for HTMLValue 2023-01-18 10:58:53 +13:00
RequirementsTest.php ENH Create Requirements::customScriptWithAttributes (#11076) 2023-12-22 12:00:33 +13:00
SSViewerCacheBlockTest.php API Update caching to use symfony 6 2022-09-07 16:08:54 +12:00
SSViewerTest.php MNT Remove TODO comments 2023-10-30 13:21:09 +13:00
ViewableDataCustomisedTest.php Implement __isset for ViewableData_Customised 2018-10-01 09:40:12 +13:00
ViewableDataTest.php NEW Access dynamic data inside ViewableData 2023-02-22 09:40:27 +13:00