Matthew Brown
|
b61d0c6dcd
|
Fix #2104 - only treat @method returns as separate if attached to method name
|
2019-09-07 22:30:09 -04:00 |
|
Matthew Brown
|
dcc4de59df
|
Change @immutable to @psalm-immutable
|
2019-08-31 18:43:45 -04:00 |
|
Matthew Brown
|
f20dc16295
|
Make @immutable work properly
|
2019-08-31 10:07:23 -04:00 |
|
Matthew Brown
|
7886d5a408
|
Add support for @psalm-mutation-free annotation on methods
|
2019-08-31 00:47:12 -04:00 |
|
Brown
|
b7b4baff8f
|
Add support for @immutable
Fixes #1272
|
2019-08-30 12:36:35 -04:00 |
|
Matthew Brown
|
c5f62d261d
|
Remove redundant @psalm-suppress in Psalm’s codebsae
|
2019-08-18 16:10:12 -04:00 |
|
Matthew Brown
|
2a5e0d8f39
|
Fix #1444 - track unused suppressions
|
2019-08-18 14:27:50 -04:00 |
|
Matthew Brown
|
2146f73782
|
Prepare for tracking unused suppressions
Ref #1444
|
2019-08-18 12:25:48 -04:00 |
|
Brown
|
2b2988b072
|
Fix #2019 - allow union in @throws
|
2019-08-13 15:44:18 -04:00 |
|
Matthew Brown
|
7ed30cd5b0
|
Add support for @readonly annotation
|
2019-08-11 16:01:37 -04:00 |
|
Brown
|
bdac01582d
|
Fix #1989 - support fully-qualified params in @method annotations
|
2019-08-08 17:25:56 -04:00 |
|
Matthew Brown
|
b2c0993cdc
|
Add framework for taint analysis to Psalm
Ref #611
|
2019-08-04 10:37:36 -04:00 |
|
Tyson Andre
|
5d5a9c6eac
|
Remove redundant casts and unused use statements (#1955)
* Remove redundant casts
(not sure about older versions of php-parser)
* Remove unused use statements
|
2019-07-18 23:37:36 -04:00 |
|
Matthew Brown
|
3df248eea2
|
Add concept of purity to functions and methods
|
2019-07-18 01:31:48 -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 |
|
Brown
|
e4e48d2d06
|
Add support for templated @var on return statements
|
2019-06-26 16:33:43 -04:00 |
|
Brown
|
1864d9a2be
|
Allow templated @var on return docblocks
|
2019-06-26 16:26:14 -04:00 |
|
Matthew Brown
|
31c8a2e4d7
|
Add offsets to type tokenisation
Ref #1832
|
2019-06-22 23:30:40 -04:00 |
|
Brown
|
b12f05185a
|
Fix #1799 - support trailing commas in object-like docblock types
|
2019-06-18 17:47:06 -04:00 |
|
Matthew Brown
|
a0866da88e
|
Strip extranous data
|
2019-06-16 12:45:02 -04:00 |
|
Brown
|
7a6395490c
|
Allow @property to contain union types
|
2019-06-14 10:45:00 -04:00 |
|
Brown
|
b1d1ab974c
|
Preserve formatting of callable type
|
2019-06-06 14:27:49 -04:00 |
|
Brown
|
0221282074
|
Be resilient to docblock spaces
|
2019-06-06 13:57:00 -04:00 |
|
Brown
|
20422cf223
|
Fix #1730 - parse @param * $foo properly
|
2019-06-03 15:46:25 -04:00 |
|
Brown
|
2f29dcce93
|
Fix #1728 - remove extra data in template-extends annotation
|
2019-06-03 10:28:54 -04:00 |
|
Matthew Brown
|
c569f3932c
|
Use separate method for parsing docblocks
|
2019-06-01 18:44:59 -04:00 |
|
Matthew Brown
|
22b6c8120a
|
Fix spacing issue
|
2019-06-01 17:22:33 -04:00 |
|
Matthew Brown
|
62be1cc1b0
|
Add rest of files
|
2019-06-01 16:57:33 -04:00 |
|
Matthew Brown
|
736f01c29e
|
Store more accurate return type location
|
2019-06-01 13:02:20 -04:00 |
|
Matthew Brown
|
909e02d441
|
Move var docblocks within function
|
2019-06-01 12:25:57 -04:00 |
|
Matthew Brown
|
dc5a5bcd9d
|
Simplify var docblock parsing signature
|
2019-06-01 11:53:32 -04:00 |
|
Matthew Brown
|
c80f9d8ecd
|
Add class-based support for key-of
Ref #762
|
2019-05-24 02:12:58 -04:00 |
|
Matthew Brown
|
574545e149
|
Add initial support for key-of<T>
Ref #762
|
2019-05-23 23:53:48 -04:00 |
|
Brown
|
66bbe5bb74
|
Allow space in intersection type
Ref #1645
|
2019-05-16 13:52:58 -04:00 |
|
Barney Laurance
|
f4c754737f
|
psalm-internal: Prevent use of @psalm-internal without @internal
|
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
|
fcf893d2e8
|
psalm-internal - disalow use of @psalm-internal property without setting namespace
|
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
|
b29e041d3c
|
psalm-internal - prevent call to method marked psalm-internal from other namespace
|
2019-05-14 18:54:16 -04:00 |
|
Barney Laurance
|
4415ef0dbd
|
psalm-internal - prevent invalid extention of class internal to other namespace
|
2019-05-14 18:54:16 -04:00 |
|
Brown
|
751253ddf0
|
Fix #1603 - prevent invalid covariant template classes from being passed
|
2019-05-06 16:38:08 -04:00 |
|
Brown
|
fb1eba9b61
|
Fix #1473 - add support for ...&x in docblocks
|
2019-04-09 14:23:48 -04:00 |
|
Brown
|
b9ba24929d
|
Refactor storage of template names to prevent clashes
|
2019-03-22 15:59:10 -04:00 |
|
Matthew Brown
|
136429dfd4
|
Fix location of @method docblocks for issues
|
2019-03-18 21:05:37 -04:00 |
|
bugreportuser
|
c8fffe362a
|
Allow capitalized @inheritDoc
|
2019-03-09 20:26:17 -05:00 |
|
Matthew Brown
|
619590aa71
|
Fix parsing of template of type with spaces
Fixes #1406
|
2019-03-01 09:20:59 -05:00 |
|
bugreportuser
|
68a135f434
|
Allow @psalm-property and @psalm-method
|
2019-02-23 11:04:08 -05:00 |
|
bugreportuser
|
6c7819b438
|
Allow @psalm-template for classes
|
2019-02-09 11:15:25 -05:00 |
|
Matthew Brown
|
17541b415f
|
Fix #1191 - allow Psalm to check against different versions of PHP
|
2019-02-07 12:25:57 -05:00 |
|
Matthew Brown
|
509709d6bc
|
Fix #1267 - flesh out self static property types
|
2019-02-01 08:59:01 -05:00 |
|