1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-15 19:07:00 +01:00
Commit Graph

1555 Commits

Author SHA1 Message Date
Matthew Brown
def7120b8b Further tweak travis 2016-12-07 00:07:33 -05:00
Matthew Brown
519c17cb9c Remove PHP 5.4 support 2016-12-07 00:04:06 -05:00
Matthew Brown
1aeee53f0f Add travis PHP config 2016-12-07 00:01:49 -05:00
Matt Brown
48e19fc7e5 Add support for closure docblocks 2016-12-06 19:41:52 -05:00
Matt Brown
af1a932655 Make code location more accurate 2016-12-06 18:27:22 -05:00
Matthew Brown
c0a3211f66 Support disabling file includes via the config 2016-12-06 16:41:42 -05:00
Matthew Brown
ef1049224d Add selection of return types in code preview 2016-12-06 16:33:47 -05:00
Matthew Brown
565750aa77 Add Switch type test 2016-12-06 13:51:10 -05:00
Matthew Brown
60e15c255b Add support for gettype switch statements too 2016-12-06 13:51:03 -05:00
Matthew Brown
ff409a7f01 Update minimum requirements 2016-12-04 23:19:14 -05:00
Matthew Brown
638fdad3ad Add support for PHP 7.1 iterable pseudo-type 2016-12-04 21:04:25 -05:00
Matthew Brown
f0939952d4 Add extra array assignment tests 2016-12-04 19:33:42 -05:00
Matthew Brown
37166a27b9 Set inferredType without needing string key offsets 2016-12-04 19:33:14 -05:00
Matthew Brown
23334700f6 Add config option to determine whether or not to use a property default value for its type 2016-12-04 18:43:07 -05:00
Matthew Brown
35802ccaa6 Don't totally panic when encountering invalid argument error 2016-12-04 18:42:20 -05:00
Matthew Brown
dcb9e1af14 Be more lenient when computing result of addition/subtraction 2016-12-04 18:41:33 -05:00
Matthew Brown
03d8a4ab0b Add support for array destructuring with keys 2016-12-04 14:14:00 -05:00
Matthew Brown
b912dd2777 Add support for array destructuring 2016-12-04 13:35:38 -05:00
Matthew Brown
52ba52ce91 Fix false negative for return type check 2016-12-04 10:57:58 -05:00
Matthew Brown
7cb6891a0b Add support for class constant visibility 2016-12-04 01:44:33 -05:00
Matthew Brown
48ba91a05b Add MissingPropertyType to default exceptions 2016-12-04 00:08:53 -05:00
Matthew Brown
983c6fd6c4 Allow nullable method return types 2016-12-04 00:08:25 -05:00
Matthew Brown
d7c6e84a0d Add test for PHP 7.1 nullable types 2016-12-03 23:03:51 -05:00
Matthew Brown
ffee37a23a Support nullable return types 2016-12-03 23:03:18 -05:00
Matthew Brown
0675e3364a Fix PHPParser 3.0.1 compatibility issues 2016-12-03 22:41:45 -05:00
Matthew Brown
ae16353f94 Suppress a couple more issues 2016-12-03 20:44:04 -05:00
Matthew Brown
3159d4e7aa Update nikic/php-parser for PHP 7.1 support 2016-12-03 20:04:42 -05:00
Matthew Brown
a1acbfec07 Show code snippets when reporting errors
This also introduces a new method of identifying specific code locations when creating issues
2016-12-03 19:11:30 -05:00
Matthew Brown
1d603b11d0 Fix NULL signature issue 2016-11-30 15:03:52 -05:00
Matthew Brown
8d0e724438 Remove need for repo address 2016-11-29 12:33:01 -05:00
Matthew Brown
134bc950fb Add specific NullArrayAccess error 2016-11-22 11:11:47 -05:00
Matthew Brown
89ea4384f9 Add repo until we're in packagist 2016-11-22 11:02:38 -05:00
Matthew Brown
032f54ecdb Add MissingReturnType 2016-11-21 23:39:47 -05:00
Matthew Brown
0cf3787b7f Be more lenient with requirements 2016-11-21 22:27:33 -05:00
Matthew Brown
632ce0eafe Add more nice-to-have suppression in default Psalm config 2016-11-21 19:10:25 -05:00
Matthew Brown
4f95c67e1c Emit issues for null/mixed array access 2016-11-21 19:07:56 -05:00
Matthew Brown
cf0c0cdda2 Do not quit, just fall through 2016-11-21 18:38:56 -05:00
Matthew Brown
7b3ab79aab Treat empty as mixed 2016-11-21 17:49:07 -05:00
Matthew Brown
09a1a92a8e Update composer for public repo 2016-11-21 17:08:17 -05:00
Matthew Brown
ded2cb5460 Add (skipped) test for #1 2016-11-21 16:48:35 -05:00
Matthew Brown
05a004c8bc Add check for array access on invalid type 2016-11-21 16:44:35 -05:00
Matthew Brown
e9ea66f21b Fix issues in examples 2016-11-21 15:51:38 -05:00
Matthew Brown
4514006d42 Add explanation for plugin 2016-11-21 15:39:04 -05:00
Matthew Brown
9befca8c31 Add example checker 2016-11-21 15:32:51 -05:00
Matthew Brown
a8166668ab Add quickstart guide 2016-11-21 15:15:23 -05:00
Matthew Brown
7cac909cae Add attribution 2016-11-21 14:51:19 -05:00
Matthew Brown
7793f40803 Add Phan MIT license 2016-11-21 14:50:00 -05:00
Matthew Brown
e7c1bbe786 Add license 2016-11-21 14:48:17 -05:00
Matthew Brown
0cb3b828b8 Add support for oldstyle constructors 2016-11-21 14:36:06 -05:00
Matthew Brown
72071fb5ec Add missing docblock params 2016-11-21 13:37:27 -05:00