Brown
|
c4eb127f11
|
Fix treatment of class_exists
|
2019-06-27 10:17:11 -04:00 |
|
LeSuisse
|
f29826b958
|
Fully qualify constants and function calls (#1849)
This should give a small performance boost.
Part of #1837.
The change is enforced via phpcs and can be autofixed
with phpcbf.
|
2019-06-26 16:52:29 -04:00 |
|
Matthew Brown
|
c66a106622
|
Improve performance by doing less cloning
Ref #1837
|
2019-06-26 00:14:06 -04:00 |
|
Matthew Brown
|
d96246a824
|
Improve template handling robustness
|
2019-06-25 09:06:23 -04:00 |
|
Matthew Brown
|
5cb6fe14d7
|
Add support for doubly-extended non-template params
|
2019-06-24 23:57:19 -04:00 |
|
Matthew Brown
|
9d998bf3ac
|
Fix handling of inherited method call
|
2019-06-24 23:43:06 -04:00 |
|
Matthew Brown
|
c0b86bd40d
|
Use uppercase template_type_extends keys
|
2019-06-24 23:43:04 -04:00 |
|
Brown
|
69b05f5052
|
Improve handling of parent method calls
|
2019-06-24 17:45:10 -04:00 |
|
Brown
|
4baa4d70d8
|
Allow templated static type in fleshOutType
|
2019-06-24 15:08:55 -04:00 |
|
Matthew Brown
|
4735955829
|
Fix #1835 - move reference generation before argument analysis
|
2019-06-23 08:08:00 -04:00 |
|
Brown
|
aa6677a177
|
Add autocompletion for some classes
Ref #1822
|
2019-06-21 17:10:35 -04:00 |
|
Brown
|
a5a9da6e50
|
Fix #1818 - handle intersection when expanding template
|
2019-06-20 10:09:03 -04:00 |
|
Brown
|
250ef02687
|
Fix #1801 - add support for class_exists(Foo::class) too
|
2019-06-17 11:31:43 -04:00 |
|
Matthew Brown
|
c4551bd0df
|
Fix issue where extension_loaded stopped constructor being recognised
|
2019-06-15 18:49:58 -04:00 |
|
Matthew Brown
|
38cee39c22
|
Be more lenient returning false
|
2019-06-15 18:34:18 -04:00 |
|
Matthew Brown
|
9c03dfa1d3
|
Don’t quit after a bad run
|
2019-06-15 18:15:04 -04:00 |
|
Matthew Brown
|
56e66af6a2
|
Keep going even when function doesn’t exist
|
2019-06-15 16:14:36 -04:00 |
|
Matthew Brown
|
2d5f332ebf
|
Fix #1781 by improving handling of callmap options
|
2019-06-15 16:10:48 -04:00 |
|
Matthew Brown
|
5a64e97f0f
|
Fix #1793 - warn on deprecated function
|
2019-06-15 12:09:15 -04:00 |
|
Brown
|
58b6ce3483
|
Fix bugs when moving methods that reference each other
|
2019-06-14 14:41:44 -04:00 |
|
Matthew Brown
|
42cc201e9e
|
Fix #1698 - better understand inherited docblock return types
|
2019-06-08 09:44:22 -04:00 |
|
Brown
|
9aeaf1a4ed
|
Fix #1746 - allow DeprecatedInterface to be suppressed with referencedClass
|
2019-06-06 14:48:33 -04:00 |
|
Matthew Brown
|
c6063d1378
|
Only replace same-file param docblock types
|
2019-06-05 19:32:27 -04:00 |
|
Brown
|
6f0a6201de
|
Fix static calls after moving
|
2019-06-05 11:22:09 -04:00 |
|
Brown
|
f309c755f8
|
Add ability to move classes
|
2019-06-05 08:50:24 -04:00 |
|
Marco Pivetta
|
624c7bc6fb
|
Renamed Fn to TFn to allow for PHP 7.4 compatibility
|
2019-06-03 08:21:25 -04:00 |
|
Matthew Brown
|
2439a9f6a0
|
Allow instance method renaming, too
|
2019-06-02 12:02:39 -04:00 |
|
Matthew Brown
|
bee87c25eb
|
Add transformations for new A, param A
|
2019-06-01 10:32:49 -04:00 |
|
Matthew Brown
|
7e4de611bf
|
Migrate class references in static calls
|
2019-06-01 10:07:45 -04:00 |
|
Matthew Brown
|
cc89b9254d
|
Add initial ideas for moving static methods
Ref #1595
|
2019-06-01 00:56:54 -04:00 |
|
Matthew Brown
|
a001616753
|
Remove object-like array under falsy assertion when it contains a sure key
|
2019-05-28 00:32:27 -04:00 |
|
Matthew Brown
|
5861476765
|
Don’t remove null after magic property fetch
|
2019-05-27 09:18:34 -04:00 |
|
Matthew Brown
|
c356c452ec
|
Fix #1692 - allow magic annotations on all interfaces without config flag
|
2019-05-26 23:35:03 -04:00 |
|
Matthew Brown
|
790bc53bfd
|
Fix #1681 - interpret parent annotation properly
|
2019-05-25 11:51:09 -04:00 |
|
Matthew Brown
|
7a48225184
|
Fix leaky template type
|
2019-05-24 13:35:14 -04:00 |
|
Matthew Brown
|
3e2b7163ca
|
Fix #1674 - treat intersections more equally regardless of order
|
2019-05-24 12:48:37 -04:00 |
|
Brown
|
963d5bb901
|
Fix #1656 - allow chained call completion
|
2019-05-17 12:38:29 -04:00 |
|
Brown
|
4a434d9a2f
|
Add separate issue for undefined classes in docblocks
|
2019-05-15 18:41:26 -04:00 |
|
Barney Laurance
|
6fbe2b0837
|
Extract function NamespaceAnalyzer::nameSpaceRootsMatch
|
2019-05-14 18:54:16 -04:00 |
|
Barney Laurance
|
14843ed58a
|
psalm-internal - extract function NamespaceAnalyzer::isWithin
Also adjust behaviour so things can be internal to classes, not just to
namespace, and namespace comparision is case insensitive
|
2019-05-14 18:54:16 -04:00 |
|
Barney Laurance
|
cd673538f1
|
psalm-internal - refactor - use snake_case not camelCase
|
2019-05-14 18:54:16 -04:00 |
|
Barney Laurance
|
cd16dc7ac3
|
psalm-internal - PHPBCBF fixes
|
2019-05-14 18:54:16 -04:00 |
|
Barney Laurance
|
ce5d307f83
|
psalm-internal - present fetching internal property from other namespace
|
2019-05-14 18:54:16 -04:00 |
|
Barney Laurance
|
0ebcba3e02
|
psalm-internal - prevent instantiation of class from other namespace
|
2019-05-14 18:54:16 -04:00 |
|
Barney Laurance
|
059d1ef177
|
psalm-internal - prevent static call to psalm-internal class from other namespace
|
2019-05-14 18:54:16 -04:00 |
|
Tyson Andre
|
d4f1a4a75f
|
Remove unused variables/comment params
|
2019-05-11 22:11:38 -04:00 |
|
Matthew Brown
|
e08944cae0
|
Allow diff mode with --find-dead-code
|
2019-04-27 17:38:24 -04:00 |
|
Matthew Brown
|
59e53acd56
|
Fix new template class array key coercion to mixed - when we don’t know, assume bottom type
|
2019-04-26 07:54:21 -04:00 |
|
Brown
|
0e4c8ce482
|
Split apart TypeCoercion issues, allowing more granular issue filtering
|
2019-04-25 18:02:19 -04:00 |
|
Matthew Brown
|
9be8013633
|
Add a way to ignore variable method & property calls
|
2019-04-20 17:49:49 -04:00 |
|