Mateusz Cholewka
|
cd1b155f53
|
test if the type of second argument is not uncertain
|
2022-03-07 14:10:03 +01:00 |
|
Mateusz Cholewka
|
70abbbee01
|
refactor array column test
add one more test when index key not exist in array
reorganise samples to keep all similar together
|
2022-03-06 15:45:22 +01:00 |
|
Mateusz Cholewka
|
d48965d929
|
add failing test
|
2022-03-06 14:09:07 +01:00 |
|
orklah
|
fc2c6ab4d5
|
Merge pull request #7727 from AndrolGenhald/attribute-analysis-improvements
Attribute analysis improvements
|
2022-02-24 21:34:05 +01:00 |
|
orklah
|
26bfc95b13
|
allow SimpleTypeInferer to infer non empty lists
|
2022-02-24 20:57:29 +01:00 |
|
AndrolGenhald
|
43764f0c3d
|
Add Reflection getAttributes analysis.
|
2022-02-23 22:12:32 -06:00 |
|
AndrolGenhald
|
1387f94324
|
Attribute analysis improvements.
|
2022-02-23 22:12:32 -06:00 |
|
orklah
|
3a85f49268
|
Merge pull request #7673 from VincentLanglet/pdoException
PDOException extends RuntimeException and can use int code errors
|
2022-02-23 13:45:57 +01:00 |
|
Bei Xiao
|
40cc346991
|
Update stub
|
2022-02-23 00:52:53 +02:00 |
|
Bei Xiao
|
0b24b07423
|
Specify required php version for test
|
2022-02-22 23:41:53 +02:00 |
|
Bei Xiao
|
6a3b5679fe
|
Support interfaces extending enums
|
2022-02-22 16:04:56 +02:00 |
|
Aaron Piotrowski
|
97b5685f55
|
Fix first-class callable in loop
|
2022-02-21 18:37:20 -06:00 |
|
AndrolGenhald
|
103ec628b0
|
Improve tests.
|
2022-02-21 10:44:59 -06:00 |
|
AndrolGenhald
|
04c0db5aff
|
Use current context when analyzing attributes (fixes #7710).
|
2022-02-21 10:38:50 -06:00 |
|
AndrolGenhald
|
ea2f452c25
|
Analyze attribute statements instead of constructing virtual statements.
|
2022-02-18 08:18:34 -06:00 |
|
Vincent Langlet
|
694157b2e0
|
PDOException extends RuntimeException and can use int code errors
|
2022-02-14 21:04:10 +01:00 |
|
AndrolGenhald
|
32c389482c
|
Fix issue with nested try block and add more tests.
|
2022-02-13 15:30:06 -06:00 |
|
AndrolGenhald
|
7b1599d783
|
Fix false positive for unused variable in try (fixes #7613).
|
2022-02-13 15:14:59 -06:00 |
|
Bruce Weirdan
|
45a19b3f3c
|
Honour global function suppressions for UndefinedFunction
Fixes vimeo/psalm#7610
|
2022-02-13 00:22:55 +02:00 |
|
orklah
|
24ae96b373
|
remove usage of totallyTyped internally
|
2022-02-12 09:51:06 +01:00 |
|
Bruce Weirdan
|
21e6371ce2
|
Strip colours from success message
Fixes vimeo/psalm#7619
|
2022-02-09 15:35:40 +02:00 |
|
Vincent
|
3c3e692e7e
|
AtomicStaticCallAnalyzer: clear tmp var from context (fix #7556)
|
2022-02-02 13:51:54 +01:00 |
|
Bruce Weirdan
|
dadb1f2167
|
Merge pull request #7539 from vimeo/revert-7363-81_returntypewillchange
|
2022-02-01 01:03:09 +02:00 |
|
Bruce Weirdan
|
f61193b798
|
Reinstate MethodSignatureMustProvideReturnType
It's never emitted, but is there for BC.
|
2022-01-31 23:38:15 +02:00 |
|
orklah
|
68e67aeb10
|
Merge pull request #7546 from orklah/impure-callable
Handle first class callable on unknown functions
|
2022-01-31 22:02:35 +01:00 |
|
orklah
|
5a19d42dab
|
fix test
|
2022-01-31 21:51:31 +01:00 |
|
orklah
|
a598efb4ab
|
Handle first class callable on unknown functions
|
2022-01-31 21:36:01 +01:00 |
|
adrew
|
121a801616
|
Fix object constant inference
|
2022-01-31 23:03:34 +03:00 |
|
orklah
|
fc281672ea
|
fix wrong detection of purity
|
2022-01-31 20:52:25 +01:00 |
|
Bruce Weirdan
|
603714518b
|
Revert "PHP 8.1: Report missing typehints in overridden native methods"
|
2022-01-31 14:37:42 +02:00 |
|
Vincent Langlet
|
584344fda3
|
Failing test
|
2022-01-30 15:17:18 +01:00 |
|
ElisDN
|
9f01c16ae9
|
Fix array_replace type
|
2022-01-25 15:22:50 +03:00 |
|
orklah
|
f1c4b62f5c
|
Merge pull request #7414 from b2pweb/call-docblock-method-using-parent
Add support of docblock method using parent keyword
|
2022-01-24 13:02:57 +01:00 |
|
orklah
|
0619b404e5
|
Merge pull request #7390 from VincentLanglet/exceptionCode
Add Exception->getCode() return type provider
|
2022-01-24 12:56:57 +01:00 |
|
Vincent
|
280de4bc98
|
Fix undefined parent method call (ref #7414)
|
2022-01-24 09:17:29 +01:00 |
|
orklah
|
82d84b0b3a
|
fix internal properties on interfaces
|
2022-01-23 13:08:35 +01:00 |
|
orklah
|
997d5d5f5f
|
handle two more cases of firstClassCallable
|
2022-01-22 17:37:35 +01:00 |
|
Alberto Piai
|
9b22d63c5b
|
fix proc_open stub for php >= 8.0
The argument names are defined here:
https://github.com/php/php-src/blob/PHP-8.0.0/ext/standard/basic_functions_arginfo.h#L1773-L1780
|
2022-01-20 13:57:34 +01:00 |
|
Vincent Quatrevieux
|
c7bfc03a6b
|
Merge branch '4.x' into call-docblock-method-using-parent
|
2022-01-20 08:59:50 +01:00 |
|
orklah
|
5c4be6bc21
|
Merge pull request #7435 from orklah/old-phpunit
drop phpunit compatibility aliases
|
2022-01-19 20:36:44 +01:00 |
|
orklah
|
7d07f42790
|
fix CS
|
2022-01-19 20:36:09 +01:00 |
|
orklah
|
bbfdd57d5c
|
Merge pull request #7363 from zoonru/81_returntypewillchange
PHP 8.1: Report missing typehints in overridden native methods
|
2022-01-19 20:31:54 +01:00 |
|
orklah
|
52a7f0694e
|
drop compatibility aliases
|
2022-01-19 19:29:16 +01:00 |
|
|
1914be4ca1
|
Rollback
|
2022-01-19 12:44:55 +01:00 |
|
|
78a125ab95
|
Fix
|
2022-01-19 12:33:16 +01:00 |
|
|
d970661182
|
Add separate issue
|
2022-01-19 12:20:50 +01:00 |
|
|
cee9eb0ead
|
PHP 8.1: Report missing typehints in overridden native methods
|
2022-01-19 12:06:35 +01:00 |
|
Vincent
|
7b25ca75f4
|
Resolve generics of inherited pseudo methods (fix #7419)
|
2022-01-19 11:45:19 +01:00 |
|
Vincent
|
33f0de073f
|
Add test case for parent method call without declared pseudo method
|
2022-01-18 09:34:05 +01:00 |
|
Fabien Villepinte
|
c9eafa15ad
|
Improve signature of DOMDocument::loadXML()
|
2022-01-17 22:52:58 +00:00 |
|