phan/phan

Add additional sanity checks to Phan's signature map data tests

Aberta

#1.821 aberto em 20 de jun. de 2018

 (0 comentário) (0 reação) (0 responsável)PHP (373 forks)batch import
enhancementhelp wantedprobably easytests

Métricas do repositório

Stars
 (5.455 estrelas)
Métricas de merge de PR
 (Mesclagem média 7d) (8 fundiu PRs em 30d)

Description

The existing unit tests are found in tests/Phan/Language/Internal/FunctionSignatureMapTest.php

  • Check that deltas are in sync with the FunctionSignatureMap.php (E.g. the signatures that are removed (and possibly replaced) such as getenv are identical to the signature in the map)
  • Check that optional parameters are after required parameters (in internal/sanitycheck.php)
  • Check that variadic parameters are after optional and required parameters

Guia do colaborador