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

1233 Commits

Author SHA1 Message Date
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
Matthew Brown
a179eb89eb Add check for missing function params in docblocks 2016-11-21 13:37:02 -05:00
Matthew Brown
80ce60d356 Fix link 2016-11-21 13:20:47 -05:00
Matthew Brown
cdadb37937 Move readme contents to wiki 2016-11-21 13:20:15 -05:00
Matthew Brown
d8e11c7ad7 Support dollars 2016-11-21 10:29:59 -05:00
Matthew Brown
55005cdf23 Removing repetition 2016-11-21 00:11:30 -05:00
Matthew Brown
8acc0f388b Remove need for typehint 2016-11-21 00:03:46 -05:00
Matthew Brown
e43fd6af53 Fix invalid phpdoc return type 2016-11-20 23:57:37 -05:00
Matthew Brown
55a3ffa773 Add missing return types 2016-11-20 23:45:10 -05:00
Matthew Brown
7e829a3b46 Allow numbers in types 2016-11-20 23:35:15 -05:00
Matthew Brown
9d3dcc7401 Do not panic when bad types are passed 2016-11-20 23:31:10 -05:00
Matthew Brown
6822f46a2c Add suppprt for PHP 7.0 grouped uses 2016-11-20 22:40:19 -05:00
Matthew Brown
4b3f63c843 Fix missing properties 2016-11-20 22:02:26 -05:00
Matthew Brown
df18ad27d2 Add lots of tests for use 2016-11-20 21:49:29 -05:00
Matthew Brown
5a9f99c24e Fix namespacing issues in PHP 5.6 2016-11-20 21:49:06 -05:00
Matthew Brown
64029b2c74 Make sure we only checking namespaces with names 2016-11-20 17:26:30 -05:00
Matthew Brown
4a66dad2ac Improve interface inheritance 2016-11-20 11:51:19 -05:00
Matthew Brown
31aa1c3ce5 Fix PHPDoc-style type parsing 2016-11-20 02:52:34 -05:00
Matthew Brown
d542b22322 Add belt & braces file checking 2016-11-18 16:13:59 -05:00
Matthew Brown
8e64c28cbf Add --help for --update-docblocks 2016-11-14 14:49:49 -05:00
Matthew Brown
262e6895be Fix lowercase check 2016-11-14 14:31:31 -05:00
Matthew Brown
360213df9e Add support for PHPDoc-style type updates 2016-11-13 20:32:09 -05:00
Matthew Brown
f2ce83c8e5 Fix minor boop 2016-11-13 15:55:06 -05:00