phpgt / phpgt/DomTemplate

Test: Negative boolean modifier

Open
#466 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement good first issue help wanted
Dominant language
PHP
Stars
18
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Regarding this functionality: https://github.com/PhpGt/DomTemplate/wiki/modifier-characters#inverse-boolean-modifier-

I just struggled implementing it. It didn't seem to do what I thought it would - it would be worth adding some more tests for this.

Make sure that this works with data-element elements, too, and that #497 still works.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read the linked wiki section on the inverse boolean modifier, then locate the existing modifier tests in the repository. Add coverage for negative boolean modifiers on normal bindings and data-element elements, and verify that the behavior described by #497 still passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.