phan / phan/phan

Add `phan-assert-if-true T $x` to only assert when the function returned true

Open
#3,127 2 comments 2 reactions 1 assignee View on GitHub

@TysonAndre is already working on this.

Since Aug 18, 2019.

enhancement
Dominant language
PHP
Stars
5.6k
Forks
365
Avg merge
1h 25m
Merged PRs (30d)
6

Description

And phan-assert-if-false.

This would be useful for #3080

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.