GravityPDF / querypath

A fork of QueryPath: a PHP library for HTML(5)/XML querying (CSS 4 or XPath) and processing (like jQuery) with PHP8.3 support
Other
21 stars 2 forks source link

Refactor Examples #36

Open jakejackson1 opened 1 year ago

jakejackson1 commented 1 year ago

Modernize and Refactor the examples included in the /examples/ directory.

Pull Request type

Please check the type of change your PR introduces:

What is the current behavior?

Many of the examples are outdated and/or broken.

What is the new behavior?

Organize each example into a subdirectory for easier browsing, refactor the code, fix up any broken code, make it easier to understand, and rename.

Does this introduce a breaking change?

Other information

This is a WIP. Once done, I'm considering migrating the examples into their own repo, so people can clone the repo, composer install, and then directly access each example to see what it does.

codecov[bot] commented 1 year ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 88.41%. Comparing base (86f1c77) to head (4c0100b). Report is 3 commits behind head on main.

:exclamation: Current head 4c0100b differs from pull request most recent head 7a9aeae. Consider uploading reports for the commit 7a9aeae to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #36 +/- ## ========================================= Coverage 88.41% 88.41% Complexity 1349 1349 ========================================= Files 26 26 Lines 3124 3124 ========================================= Hits 2762 2762 Misses 362 362 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.