Matthew Brown
97bca6d762
Fix const test name
2018-08-08 21:46:37 -04:00
Matthew Brown
9880e2bede
Prevent leading-number constants in docblocks
2018-08-08 21:36:33 -04:00
Matthew Brown
6670dd31e1
Fix #927 - improve typing of object-like arrays containing class like strings
2018-08-08 21:31:13 -04:00
Matthew Brown
d9af167e38
Fix #931 - replace self in enum declaration where possible
2018-08-08 20:59:21 -04:00
Matthew Brown
55be2c3ce4
Fix #934 - allow numbers in class constant enums
2018-08-08 20:36:16 -04:00
Matt Brown
226aa27686
Fix issue resolving namespaced constants
2018-08-08 16:13:37 -04:00
Matt Brown
2636b194db
Fix #920 - support @var self properties in static method calls
2018-08-07 14:43:05 -04:00
Matt Brown
13238a0dc8
Add secure github token
...
Fixes #930
2018-08-07 13:54:02 -04:00
Matt Brown
0304201d91
Fix #932 - allow obvious string vars to be used for includes
2018-08-07 13:17:23 -04:00
François Kooman
c54534c640
fix return values of imagettfbbox and imagettftext ( #929 )
2018-08-03 11:01:45 -05:00
Matthew Brown
37be70a465
Fix issue calling possibly magic method
2018-08-02 16:14:53 -05:00
Matthew Brown
c9a2ca9321
Allow output of get_parent_class to be used in new without check
2018-08-02 13:43:13 -05:00
François Kooman
b1e81c2c25
fix ldap_bind parameters, allow null for bind_rdn and bind_password
2018-08-02 13:14:41 -05:00
Bruce Weirdan
aab345ad81
Multi-stage builds ( #928 )
...
- Run phpcs once, not on every row of build matrix
- Start coverage builds only when regular test builds succeed
- Always build phar (to see if it builds)
- Automatically deploy psalm.phar on tag builds (no more missing phars)
Also fixes vimeo/psalm#921
2018-08-02 00:44:15 -04:00
Tyson Andre
06abf52d94
Fix typos detected by misspell
( #924 )
...
Both of initiali[sz]e were used, z was more common.
2018-08-02 00:40:51 -04:00
François Kooman
9ebf748eb9
fix return value of headers_list ( #919 )
2018-08-02 00:40:10 -04:00
Tyson Andre
9b7ca80fa4
nit: fix typo in docs ( #917 )
...
https://www.vocabulary.com/dictionary/parenthesis
2018-07-24 16:56:51 -04:00
Matthew Brown
5ca35a0635
Remove types from function
2018-07-22 19:29:04 -04:00
Matthew Brown
d3fc9a51e0
Improve callmap with PHPStan’s additions
...
cc @TysonAndre
2018-07-22 19:15:40 -04:00
Matthew Brown
b6372f8342
Analyse SimpleNameResolver too
2018-07-22 18:00:08 -04:00
Matthew Brown
4de33e509b
Fix linting issues
2018-07-21 22:55:16 -04:00
Matthew Brown
4fcef5c0d6
Add more tests for globbing
2018-07-21 22:34:22 -04:00
Matthew Brown
cc28ff7ad6
Fix #904 - scan all docblocks for possible @psalm-type annotations
2018-07-21 22:24:33 -04:00
Matthew Brown
200ea70334
Check that non-user-defined abstract methods are implemented, too
2018-07-21 20:50:42 -04:00
Matthew Brown
bc23f732a4
Fix #905 - ignore interface case when checking for extended interfaces
2018-07-21 20:38:55 -04:00
Matthew Brown
c33bebb908
Fix typo
2018-07-21 20:30:38 -04:00
Matthew Brown
e439c9e8a3
Fix typo in public test
2018-07-21 20:29:39 -04:00
Matthew Brown
79d547d0a0
Add support for second dirname arg
...
Fixes #900
2018-07-21 20:22:42 -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
Tyson Andre
ef1c1995a3
Split up CLI options into individual lines, and sort them ( #902 )
...
No CLI options were added or removed.
This has the following benefits:
- It makes it easier to track history of CLI flags in git
- It avoids merge conflicts if multiple PRs add CLI options
- It makes maintaining patches/forks easier.
2018-07-20 07:07:41 -04:00
Matthew Brown
d4ff5f6515
Allow 7.1/lowest deps to fail until I fix
2018-07-20 07:07:25 -04:00
Matt Brown
ad3e449982
Allow rescanning of classes when we need more info
2018-07-18 11:44:01 -04:00
Matthew Brown
2af7ea05da
Fix #897 - understand static class comparisons in is_a
2018-07-17 22:50:30 -04:00
Matt Brown
b831baee51
Make disabled extensions configurable
2018-07-17 16:54:34 -04:00
Matt Brown
6a06f06044
Improve API for disabling extensions and disable apc as well
2018-07-17 16:40:03 -04:00
Matt Brown
35fb1ab164
Ignore issue only found in legacy PHPUnit
2018-07-17 15:32:14 -04:00
Matt Brown
ebe9452511
Bump XDebugHandler version
2018-07-17 15:24:20 -04:00
Matt Brown
516b2eea5d
Fix SoapClient::__call param type
2018-07-17 14:16:22 -04:00
Matt Brown
73aa0df08a
Restart without grpc if running in threaded mode
2018-07-17 14:08:40 -04:00
Matthew Brown
9a9adf897d
Fix #896 - improve ReflectionParameter::getType return
2018-07-17 08:45:42 -04:00
Matthew Brown
0fa7cbeb02
Fix #895 - check __call magic method args
2018-07-16 22:48:53 -04:00
Matthew Brown
6f96c661ef
Fix #881 - skip tests if necessary test classes are missing
2018-07-16 20:52:58 -04:00
Matthew Brown
39870f97c4
Fix #894 - check magic methods with given return types
2018-07-16 20:32:16 -04:00
Matt Brown
92aa3f8117
Fix dumb regression
2018-07-16 16:07:18 -04:00
Matt Brown
b80440f1e3
Fix #893 - improve error message for missing intersection type method
2018-07-16 11:52:38 -04:00
Matthew Brown
95b9b8b51e
Remove PHP 5-incompatible things from SimpleNameResolver
2018-07-16 00:03:03 -04:00
Matthew Brown
a7cb4664aa
Fix #542 - warn about incorrect psalm args
2018-07-15 18:43:06 -04:00
Matthew Brown
e836f69ca2
Fix #502 - check for bad generator return in more places
2018-07-15 17:47:58 -04:00
Matthew Brown
1e54c61fde
Fix #18 - add support for @psalm-type
2018-07-15 17:23:17 -04:00
Matthew Brown
f9ba8d7167
Fix #573 - improve required param message
2018-07-13 20:17:29 -04:00