Matt Brown
a25a989c12
Prepare v2 dev release
2018-04-19 17:29:07 -04:00
Matt Brown
1f3837d972
Fix #686 - allow undefined class inside class_exists call
2018-04-19 12:16:00 -04:00
Matt Brown
f3b579b06a
Fix #685 - ignore assignment in conditional
2018-04-19 11:58:51 -04:00
Matthew Brown
2b34c1d315
Add extra level 8 containing PHP autoload landmines
2018-04-19 01:03:28 -04:00
Matthew Brown
a5f639d879
Fix array type conversion
2018-04-18 23:49:09 -04:00
Matthew Brown
392f3194c0
Fix #684 - use getIterator return type for IteratorAggregate functions
2018-04-18 23:47:21 -04:00
Matt Brown
907f741c7b
Fix Psalm errors in TypeParseTest
2018-04-18 19:04:06 -04:00
Matt Brown
41e2d9ef58
Bind callable ): stronger than |
2018-04-18 19:00:08 -04:00
Matt Brown
4c84f88668
Bump allowable config
2018-04-18 15:38:24 -04:00
Matt Brown
aa3ea9c14c
Add a 7th level with even more permissive checks
2018-04-18 15:31:00 -04:00
Matt Brown
6a8fcaef56
Break compatibility with EventBuffer <= 1.5 (5+ years old)
2018-04-18 14:56:33 -04:00
Matt Brown
8c34c3d653
Support empty callable returning callable
2018-04-18 13:23:48 -04:00
Matt Brown
9099a0972b
Remove bad variable check
2018-04-18 12:10:49 -04:00
Matt Brown
4ee0298558
Always panic when two types can never be the same
2018-04-18 12:01:13 -04:00
Matt Brown
0b729de107
Make Throwable tests PHP7-only
2018-04-18 11:47:25 -04:00
Matt Brown
b9f55b7b8b
Fix #680 - add intersection to cloned type
2018-04-18 10:59:46 -04:00
Matt Brown
5b7d190640
Emit RedundantCondition when asserting two variables can never be equal
2018-04-17 15:39:09 -04:00
Matt Brown
5a2f6ff0e0
Fix #624 - change some innaccurate issue names
2018-04-17 14:07:02 -04:00
Matt Brown
6afaf5aae9
Make Psalm compatible with PHP Parser 4
2018-04-17 13:06:02 -04:00
Matt Brown
87be0b5863
Change die($message) to explicit exit(1)
2018-04-17 11:48:29 -04:00
Matt Brown
6ac2d22f76
Add TOC back to index
2018-04-17 11:29:26 -04:00
Matt Brown
df5d369443
Fix #677 - handle get_class checks more accurately
2018-04-17 10:28:49 -04:00
Matt Brown
b28cc19fd2
Fix bitwise operations on strings
2018-04-16 18:19:18 -04:00
Matt Brown
55153f9542
Fix #676 - bitwise operators didn’t have int return type
2018-04-16 16:36:06 -04:00
Matt Brown
3cc549384f
Type explode more accurately
2018-04-16 16:03:04 -04:00
Matt Brown
02a5d22449
Fix #674 - remove summary for full Psalm run if not in console mode
2018-04-16 14:05:46 -04:00
François Kooman
0c815c7bf4
fix return type of Sodium\crypto_sign_open (sync with sodium_crypto_sign_open)
2018-04-16 14:00:43 -04:00
Matthew Brown
7345a44494
Fix callable parse issue
2018-04-15 18:16:31 -04:00
Matthew Brown
1afc8b8a7b
Add a link to the docs from the readme
2018-04-15 12:19:51 -04:00
Matthew Brown
a03dd6502c
Specify what config levels do
2018-04-15 12:17:07 -04:00
Matthew Brown
ad051dcf6d
Improve installation instructions
2018-04-15 10:56:43 -04:00
Matthew Brown
3dad2ecb97
Fix formatting for mkdocs
2018-04-15 10:51:21 -04:00
Matthew Brown
d07644191e
Remove artificial table of contents
2018-04-15 10:26:03 -04:00
Matthew Brown
50f4ee95e8
Set from docblock before queuing params for scanning
2018-04-14 13:41:25 -04:00
Matthew Brown
8e07119e57
Fix #673 - don’t store hydration failures when exhuming
2018-04-14 13:39:30 -04:00
Radosław Kowalewski
eab7f7b68b
Suppress MixedArgument
2018-04-14 10:45:05 -04:00
Radosław Kowalewski
88bf8e284c
Configuration fallback to psalm.xml.dist file
...
Closes vimeo/psalm#644
2018-04-14 10:45:05 -04:00
Matt Brown
21b74ae725
Turn useAssertForType on by default (was off)
2018-04-13 17:35:56 -04:00
Matt Brown
3cf5345728
Improve codebase mixed coverage calculation by ignoring initial loops
2018-04-13 17:26:07 -04:00
Bruce Weirdan
11f239f6cb
dropped $link params that shouldn't be there for OO interface
2018-04-13 14:55:34 -04:00
Bruce Weirdan
ea748c5e83
dropped mysqli properties (these should not be in the CallMap)
2018-04-13 14:55:34 -04:00
Matt Brown
6ae39c84fc
Use more locals
2018-04-13 11:28:15 -04:00
Matt Brown
6502eba658
Don’t invalidate object vars after callmap functions
2018-04-13 11:24:59 -04:00
Matt Brown
564cebbaad
Fix #669 - improve signatures of mysql
2018-04-13 10:51:18 -04:00
Matt Brown
8fdd827e0d
Fix scope leaking from autoloader
2018-04-13 10:32:08 -04:00
Radosław Kowalewski
15c1a82d8c
Few fixes to make tests pass on windows
...
* changed / to DIRECTORY_SEPARATOR in expected messages
* cahnged most occurences PHP_EOL to "\n" in tests and src
* added output buffering in test to avoid marking test as risky
2018-04-12 22:41:13 -04:00
Matthew Brown
1a97f69d32
Allow longer lines in tests
2018-04-12 22:40:47 -04:00
Radosław Kowalewski
0ea053bda1
Fix detecting relative paths on windows
...
Fixes vimeo/psalm#655
2018-04-12 16:08:50 -04:00
Matthew Brown
6519748837
Make class-string annotation more clear
2018-04-11 23:55:39 -04:00
Matthew Brown
f9b6027bbc
Fix relative path includes on windows
2018-04-11 20:56:11 -04:00