Skip to content

[Task]: Prepare HTML Entry Examples #1916

@norberttech

Description

@norberttech

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions