Matthew Brown
23a414a2b3
Fix test failures
2016-12-30 13:14:17 -05:00
Matthew Brown
8b5e066ba6
Add case-sensitive function names
2016-12-30 13:09:00 -05:00
Matthew Brown
92fe58b97c
Shift storage from static arrays to dedicated ClassLikeStorage objects
2016-12-30 12:41:14 -05:00
Matthew Brown
3e78405836
# This is a combination of 4 commits.
...
# The first commit's message is:
Make cofig schema more relaxed about ordering
# This is the 2nd commit message:
Add tests for awkward case
# This is the 3rd commit message:
Fix static calls to class methods within traits
# This is the 4th commit message:
Repopulate fewer arrays
2016-12-30 01:50:33 -05:00
Matthew Brown
90fee45a18
Add test to guarantee that config schema stays up-to-date
2016-12-29 22:31:52 -05:00
Matthew Brown
ca98efb630
Check specific reporting levels
2016-12-29 20:23:04 -05:00
Matthew Brown
685eaeb4fe
Reimagine XML schema, fixes #21
2016-12-29 20:10:06 -05:00
Matthew Brown
b79ce904d2
Fix #23 - allow exclusion in projectFiles
2016-12-29 18:33:03 -05:00
Matthew Brown
749735a3ec
Update config file API still further
2016-12-29 10:24:10 -05:00
Matthew Brown
ff466b7992
Change config API
2016-12-29 08:42:39 -05:00
Matthew Brown
18e7c65430
Emit more InvalidOperand issues
2016-12-29 00:14:06 -05:00
Matthew Brown
a91fc2d3dc
Add pre-run step so all class declarations in a given file can be dealt with
2016-12-28 22:11:50 -05:00
Matthew Brown
ed03104ca8
Fix overridden method interface checks
2016-12-28 21:37:24 -05:00
Matthew Brown
c1e1c0ae85
Check trait methods against interfaces
2016-12-28 20:33:26 -05:00
Matthew Brown
2bf515be5f
Check return types of functions in namespaces
2016-12-28 19:57:18 -05:00
Matthew Brown
b6455a2566
Improve how we disable clauses
2016-12-28 18:55:16 -05:00
Matthew Brown
63a75108f5
Evaluate more expressions up front
2016-12-28 17:04:03 -05:00
Matthew Brown
992e7ae256
Fix #1 - add in support for !==false-negating assertions in ifs
2016-12-28 16:39:05 -05:00
Matthew Brown
797875ba9a
Fix #10 - allow negated assignments
2016-12-28 16:29:50 -05:00
Matthew Brown
48151d0190
Fix repeated assertion after unreconcilable clause
2016-12-28 14:53:49 -05:00
Matthew Brown
05834a0db3
Fix #13 by revamping how we treat type assertions in if statements and ternary expressions
2016-12-28 13:12:06 -05:00
Matthew Brown
b6eea4e812
Fix #20 - emit an issue when param is missing a type or param
2016-12-25 11:32:21 +00:00
Matthew Brown
1007d1682c
Fix mixed operand issues
2016-12-24 18:29:11 +00:00
Matthew Brown
07c415d588
Add tests for upcoming functionality
2016-12-24 18:29:11 +00:00
Matthew Brown
c55870e26c
Allow generic TypeChecker::isContainedBy checks
2016-12-24 18:28:43 +00:00
Matthew Brown
dfa089f8df
Remove functionality that overlaps with phpcs FunctionCommentSniff
2016-12-23 22:48:36 +00:00
Matthew Brown
9474412343
Add extra test to check good behaviour passes
2016-12-23 20:14:13 +00:00
Matthew Brown
5f332a5500
Suppress test issue
2016-12-20 17:29:52 +00:00
Matthew Brown
e79dded17b
Fix #19 - InvalidDocblock errors have proper casing now
2016-12-19 22:02:00 +00:00
Matthew Brown
9a32b5fd40
Hide Mixed* issues under a totallyTyped config flag
2016-12-18 19:17:39 -05:00
Matthew Brown
52b3e1ba8c
Simplify test config setup;
2016-12-18 19:00:32 -05:00
Matthew Brown
9746c8972f
Fix MixedAssignment errors
2016-12-17 00:48:31 -05:00
Matthew Brown
d88bb4e135
Finish adding tests for all issues
2016-12-16 22:16:29 -05:00
Matthew Brown
972e3b5c6e
Fix failure to warn when class does not implement all interface methods
2016-12-16 22:15:31 -05:00
Matt Brown
6755c8724a
Add tests for M* issues, fixing bugs along the way
2016-12-16 18:56:23 -05:00
Matt Brown
16e89a8c1c
Fix #26 - Allow refinement via type intersection
...
Not just via explict subsets
2016-12-16 17:59:27 -05:00
Matthew Brown
dcec735d11
Fix generation of MixedArrayAccess issue
2016-12-15 01:28:36 -05:00
Matt Brown
a44dd4f6b0
Add more tests
2016-12-14 19:43:44 -05:00
Matt Brown
587e067567
Fix start time ref
2016-12-14 19:43:20 -05:00
Matt Brown
c4b1633d78
Add cache dir nulling back
2016-12-14 12:58:56 -05:00
Matt Brown
c91e457c28
Add psalm.xml support for checking tests
2016-12-14 12:55:23 -05:00
Matt Brown
154d023a9d
Add more robust config testing
2016-12-14 12:28:38 -05:00
Matt Brown
fa50a250c3
Limit snippet selection by preview bounds
2016-12-12 19:11:21 -05:00
Matt Brown
8d693d7db2
Fix issues around incorrectly registering inherited private methods
2016-12-12 14:29:58 -05:00
Matt Brown
7d3753ddd8
Fix errors on inherited trait protected/private methods
2016-12-12 13:57:45 -05:00
Matt Brown
c7a758ceb1
Fix trait method call checks
2016-12-12 13:50:46 -05:00
Matthew Brown
4c21a5af7c
Add so many new tests
2016-12-11 23:41:11 -05:00
Matthew Brown
562f71b21f
Add TypeDoesNotContainType issue and fix those issues in Psalm code
2016-12-11 13:48:11 -05:00
Matthew Brown
73b1ab1411
Support int offsets in dealing with type inference
2016-12-10 18:24:28 -05:00
Matt Brown
e8c91bc748
Mark failing tests incomplete
2016-12-09 13:26:40 -05:00