TysonAndre/phan
Phan is a static analyzer for PHP. Phan prefers to avoid false-positives and attempts to prove incorrectness rather than correctness.
PHPNOASSERTION
Issues
- 0
Detect pointless `??` (null coalescing operator) - Check if left hand side is never null
#208 opened by TysonAndre - 0
- 0
Plugin idea: Run spell checker on comments and calls to gettext()/_(), etc.
#205 opened by TysonAndre - 0
Idea: Warn about unused results of methods that have no side effects (count, strlen, etc)
#222 opened by TysonAndre - 0
- 0
- 0
- 0
- 0
Warn about throw in the global scope
#215 opened by TysonAndre - 0
Clarify `@internal` in PSR-5
#213 opened by TysonAndre - 0
- 0
Plugin idea: phangrep
#207 opened by TysonAndre - 0
Look into warning about infinite recursive loops
#211 opened by TysonAndre - 0
Look into supporting multi-line array shapes
#209 opened by TysonAndre - 1
Look into disabling gc_disable for php 7.3?
#182 opened by TysonAndre - 1
- 0
Support tracking whether properties are read only (magic and regular). Add `@phan-const` for regular properties
#202 opened by TysonAndre - 0
- 0
Incorrect signature for SolrClient::addDocuments
#159 opened by TysonAndre - 0
- 0
Look into mutation testing for catching bugs
#199 opened by TysonAndre - 0
- 1
Project idea: Create a language server wrapper wrapping `php -l` and php_codesniffer
#197 opened by TysonAndre - 0
Test $foo->{2}($args) for crashes
#195 opened by TysonAndre - 0
Add target_php_version of 5.6
#196 opened by TysonAndre - 0
Always warn about unused use variables in `function() use ($unusedWithUnusedInName) { }`
#194 opened by TysonAndre - 0
Publish snippets for syntax highlighting support for custom php tags in editors (vim)
#161 opened by TysonAndre - 0
- 0
Add plugin to warn about duplication issues in operand expressions of binary operators ($a == $a, $a > $a, etc)
#193 opened by TysonAndre - 0
Language server: Add CLI option to run basic syntax checks of PHP files outside the project
#192 opened by TysonAndre - 0
- 0
Return type of {closure} is undeclared type static seen for closure in method with `@return static`
#190 opened by TysonAndre - 0
False positive return mismatch of `void` type seen in vendor/symfony/cache/Simple/ArrayCache.php
#189 opened by TysonAndre - 0
- 1
- 0
Support "find all references"
#187 opened by TysonAndre - 0
preg_replace_callback not detecting reference to private class method with `array(__CLASS__, 'myFn')`
#166 opened by TysonAndre - 0
- 0
- 0
- 0
Add an array shape to match variadic arrays?
#170 opened by TysonAndre - 0
Warn about iteration over empty array shape
#169 opened by TysonAndre - 0
Plugin idea: Warn if argument name corresponds to parameter name at another position
#168 opened by TysonAndre - 0
- 0
- 0
Figure out additional parameters where one is usually a constant, other is usually a variable
#164 opened by TysonAndre - 0
Check if inherited method implementations are compatible with implemented interfaces
#163 opened by TysonAndre - 0
Add `@phan-mock-of T1` as annotation on classes
#162 opened by TysonAndre - 0
Make Config::setValue() modify list of acceptable target classes for canCastToType
#160 opened by TysonAndre - 0
Add suggestion for CommentParamWithRealParam if text similar to real param
#158 opened by TysonAndre