phan/phan
Add additional sanity checks to Phan's signature map data tests
Aberta
#1.821 aberto em 20 de jun. de 2018
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
getenvare 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