Matthew Brown
|
046025576e
|
Fix issue merging class constants and inherited interface ones
|
2018-09-09 11:18:20 -04:00 |
|
Matthew Brown
|
7c274431f0
|
Fix #975 - don’t check things at all when there’s a duplicate class
|
2018-09-04 21:22:05 -04:00 |
|
Matt Brown
|
b97972ebb3
|
Fix Psalm-found issues
|
2018-09-04 14:37:33 -04:00 |
|
Matt Brown
|
cbfebb7a69
|
Fix #971 - be more robust in face of duplicate classes
|
2018-09-04 14:34:14 -04:00 |
|
Matt Brown
|
f844f86a6c
|
Improve type coercion checks in strict mode
|
2018-08-28 17:42:39 -04:00 |
|
Matt Brown
|
cb63f4f70f
|
Add support for checking DeprecatedTrait and DeprecatedConstant
|
2018-08-10 13:25:25 -04:00 |
|
Matt Brown
|
2636b194db
|
Fix #920 - support @var self properties in static method calls
|
2018-08-07 14:43:05 -04:00 |
|
Matthew Brown
|
c97329da06
|
Fix #903 - make sure parent::foo is executed in context of method’s class
and not immediate parent
|
2018-07-21 20:01:58 -04:00 |
|
Matt Brown
|
534876085d
|
Fix #857 - improve handling of hard-to-reconcile while conditionals
|
2018-07-03 12:27:14 -04:00 |
|
Matt Brown
|
ffda44c3ba
|
Fix #838 - check assertions, even outside conditionals
|
2018-06-25 18:02:05 -04:00 |
|
Matt Brown
|
f2d96eefe7
|
Fix #837 - detect issues with constants
|
2018-06-25 15:03:45 -04:00 |
|
Matthew Brown
|
e3ae1bf26f
|
Fix #15 - check for uncaught throws if config flag is set
|
2018-06-22 01:13:49 -04:00 |
|
Matthew Brown
|
fa51c39902
|
Improve dead code analysis of switch statements
|
2018-06-16 21:54:44 -04:00 |
|
Matt Brown
|
7c2ec06de8
|
Fix #795 - don’t use colons in generated anonymous class name
|
2018-06-06 15:32:03 -04:00 |
|
Matt Brown
|
1462020cd4
|
Properly analyse nested traits
|
2018-05-30 13:08:56 -04:00 |
|
Matt Brown
|
68dbe509a8
|
Fix #731 - report issues in files required by the source
|
2018-05-30 12:23:53 -04:00 |
|
Tyson Andre
|
39a1ecfd89
|
Remove unused variables (#777)
|
2018-05-29 10:08:56 +01:00 |
|
Matthew Brown
|
62486c1adb
|
Fix #772 - allow closures to be defined on a single line
|
2018-05-25 18:42:39 +01:00 |
|
Matt Brown
|
5007a3a3b6
|
Only scan user-defined constructors for property initialisations
|
2018-05-21 13:06:11 -04:00 |
|
Matt Brown
|
5c0f4a999c
|
Move a bunch of classes to better places
|
2018-05-11 18:35:02 -04:00 |
|
Matt Brown
|
8d7c365e5f
|
Fix #679 - improve template param type checks
|
2018-04-20 10:52:23 -04:00 |
|
Matt Brown
|
6afaf5aae9
|
Make Psalm compatible with PHP Parser 4
|
2018-04-17 13:06:02 -04:00 |
|
Matt Brown
|
6ae39c84fc
|
Use more locals
|
2018-04-13 11:28:15 -04:00 |
|
Matt Brown
|
f5ef864168
|
Improve checks to prevent breaking existing typehints when running psalter
|
2018-03-23 16:34:45 -04:00 |
|
Matthew Brown
|
452fd2e7c9
|
Make UndefinedClass an explicit class-related issue
|
2018-03-21 10:17:57 -04:00 |
|
Matthew Brown
|
eb3750d8f3
|
Remove unnecessary @var annotations
|
2018-03-17 00:19:55 -04:00 |
|
Matt Brown
|
0bd229a86f
|
Add better checks for trait-related fatal errors
|
2018-03-13 18:12:05 -04:00 |
|
Matt Brown
|
ef35cfc6fe
|
Fix #566 - check for abstract methods inheriting from non-abstract ones
|
2018-03-13 12:52:00 -04:00 |
|
Matthew Brown
|
a0ce8791d3
|
Detect fatal issues where property access is overridden
Fixes #547
|
2018-03-04 12:24:50 -05:00 |
|
Matt Brown
|
5471b89391
|
Make array coercion an error
|
2018-02-21 18:59:31 -05:00 |
|
Tyson Andre
|
aea3779c96
|
Fix unused imports in psalm, wrong param order doc comments (#523)
(Some of the imports appear as strings elsewhere in the same file)
|
2018-02-18 17:55:11 -05:00 |
|
Matt Brown
|
be75c143d4
|
Fix #510 - check that constructor parent classes and interfaces exist
|
2018-02-14 11:21:43 -05:00 |
|
Matt Brown
|
d0a2258806
|
Fix #508 - make sure trait missing property checks happen on correct file
|
2018-02-12 10:46:45 -05:00 |
|
Matt Brown
|
6f7903716d
|
Move property lookup api into codebase class
|
2018-02-08 18:14:28 -05:00 |
|
Matt Brown
|
2e443dce85
|
Revert "Fix private constructor check"
This reverts commit 684eb7923b , because it introduces more problems than it solves
|
2018-02-05 15:53:39 -05:00 |
|
Matt Brown
|
684eb7923b
|
Fix private constructor check
|
2018-02-05 13:06:03 -05:00 |
|
Matthew Brown
|
8e0998e081
|
Break apart the Codebase class
|
2018-02-03 18:56:54 -05:00 |
|
Matthew Brown
|
fb300baa6d
|
Move a bunch of code into Codebase
|
2018-02-01 00:50:01 -05:00 |
|
Matt Brown
|
fc805a926e
|
Add code coverage message at the end of a scan
|
2018-01-31 16:08:52 -05:00 |
|
Matthew Brown
|
6bfb27165d
|
Check property defaults again
|
2018-01-28 21:43:26 -05:00 |
|
Matthew Brown
|
f628187de9
|
Remove dead code found by improved Psalm checks
|
2018-01-28 12:01:51 -05:00 |
|
Matt Brown
|
a2d11cce51
|
Fix static/self return type handling
|
2018-01-26 13:51:00 -05:00 |
|
Matt Brown
|
b333e90fee
|
Fix casing of duplicate interface method check
|
2018-01-26 12:00:02 -05:00 |
|
Matt Brown
|
1320b6dd54
|
Fix #472 - inherit interface method docblocks if defined just once
|
2018-01-26 11:50:29 -05:00 |
|
Matt Brown
|
5e0a8c4339
|
Inherit correct self return type
|
2018-01-26 10:59:30 -05:00 |
|
Matthew Brown
|
ea28ee709d
|
Improve unused variable detection slightly
|
2018-01-25 01:04:26 -05:00 |
|
Matthew Brown
|
507007a2bf
|
Add DeprecatedInterface and emit DeprecatedClass in more places
Fixes #463
|
2018-01-23 09:09:43 -05:00 |
|
Matthew Brown
|
bc9761f6c9
|
Create Codebase out from ProjectChecker
|
2018-01-21 13:45:33 -05:00 |
|
Matthew Brown
|
e05a7c00cc
|
Break FileScanner out from FileChecker
|
2018-01-21 12:44:46 -05:00 |
|
Matthew Brown
|
26945acce6
|
Move ClassLikeChecker::analyze into ClassChecker and InterfaceChecker
|
2018-01-14 13:08:24 -05:00 |
|