-
-
Notifications
You must be signed in to change notification settings - Fork 48
Milestone
Description
What needs to be done?
Last step to complete new HTMLEntry should be adding some usage example.
You can either use http adapter to grab some real html or simply prepare it from static string (static string is more reliable as it wont change over time).
Would be good to add those related scalar function/functions to that example.
The only challenge here is that we currently run examples on lowest supported version of PHP (.github/workflows/job-examples.yml - look here)
What I would do, is to add to run.php a mechanism that would parse composer.json, check what's the minimum required php version for that given example and skip it (with a message) when current php version doesn't meet that expectation.