elnoro
|
73f7ad9dd3
|
Changed confusing comments and docblocks (#5931)
|
2021-06-14 08:45:38 -04:00 |
|
Bruce Weirdan
|
24d45a50de
|
Merge pull request #5924 from BafS/fix-type-error-patch-1
|
2021-06-13 21:19:43 +03:00 |
|
Bruce Weirdan
|
a97bc06e6b
|
Test for boundary conditions
|
2021-06-13 13:40:54 +03:00 |
|
BafS
|
d395e00f18
|
Add assertion
|
2021-06-13 12:07:34 +02:00 |
|
Matt Brown
|
aade5d0def
|
Add slash
|
2021-06-12 17:17:27 -04:00 |
|
Matt Brown
|
b678461f5c
|
Improve detection of fluent methods
|
2021-06-12 17:09:42 -04:00 |
|
Matt Brown
|
23b7ff86b7
|
Mark interface methods as unused even when inherited
|
2021-06-12 16:13:29 -04:00 |
|
Bruce Weirdan
|
9b17fb94b0
|
Merge pull request #5926 from weirdan/update-symfony-process
Allow symfony/process:5
|
2021-06-12 05:25:38 +03:00 |
|
Bruce Weirdan
|
92c7785bc0
|
Update psalm/plugin-phpunit (#5925)
|
2021-06-11 19:31:12 -04:00 |
|
Bruce Weirdan
|
6e9c75d6ee
|
Allow symfony/process:5
|
2021-06-12 01:05:12 +03:00 |
|
BafS
|
eb4ecc20d4
|
Fix style
|
2021-06-11 20:11:21 +02:00 |
|
BafS
|
07cf6012f7
|
Use assert() instead of phpdoc
|
2021-06-11 20:07:59 +02:00 |
|
BafS
|
dde0f1fb06
|
Fix Uncaught TypeError with some shifts
|
2021-06-11 20:03:23 +02:00 |
|
yoshifp
|
cf6a4e70c5
|
Add login required to see 'Use this template' button (#5919)
|
2021-06-10 22:18:47 -04:00 |
|
Matthew Brown
|
d4164d4452
|
Revert "Add better example"
This reverts commit bfd2ab07de .
|
2021-06-10 22:18:18 -04:00 |
|
Matthew Brown
|
bfd2ab07de
|
Add better example
|
2021-06-10 18:32:38 -04:00 |
|
Matt Brown
|
884043b47b
|
Fix style
|
2021-06-10 18:29:08 -04:00 |
|
Matt Brown
|
06b89aa00a
|
Fix end-to-end tests
|
2021-06-10 18:07:41 -04:00 |
|
Matt Brown
|
4a9f35f0a8
|
Update ReportOutputTest.php
|
2021-06-10 17:59:41 -04:00 |
|
Matthew Brown
|
eb3e395138
|
Update TaintedTextWithQuotes.md
|
2021-06-10 17:55:07 -04:00 |
|
Matt Brown
|
f2f5f1eaa2
|
Revert fix and tests
|
2021-06-10 17:44:34 -04:00 |
|
Matt Brown
|
47bf5ed567
|
Fix #5918 - add new issue to detect unquoted strings
|
2021-06-10 17:43:04 -04:00 |
|
Matt Brown
|
e661c5fb55
|
Fix erroneous use when comparing methods
|
2021-06-10 14:39:01 -04:00 |
|
Matthew Brown
|
6d09418a23
|
Detect unused return values (#5917)
* Detect unused return values
* Allow static-returning instance methods (presumed to be fluent)
* Make $is_used the default for Codebase::methodExists
|
2021-06-10 14:18:15 -04:00 |
|
Matt Brown
|
542fa77896
|
Remove unused use
|
2021-06-10 12:59:37 -04:00 |
|
Matt Brown
|
5c1d8489da
|
Improve test cases
|
2021-06-10 12:57:13 -04:00 |
|
Matt Brown
|
34c1f9dccf
|
Nest conditional for more accurate flow
|
2021-06-10 12:52:23 -04:00 |
|
Matt Brown
|
a6d79fd409
|
Clean up more unused return values
|
2021-06-10 12:23:53 -04:00 |
|
Matt Brown
|
8509999f3f
|
Remove some unused return values
|
2021-06-10 12:09:46 -04:00 |
|
Matthew Brown
|
e5a7478b38
|
Fix order
|
2021-06-10 09:07:15 -04:00 |
|
Matt Brown
|
f5bc841295
|
Prevent nested literal coercion
|
2021-06-09 16:01:45 -04:00 |
|
Matthew Brown
|
d12cf88e83
|
Add back supported for templated index assignment
|
2021-06-09 12:55:37 -04:00 |
|
Matthew Brown
|
0a7d254689
|
Fix #5911 - improve non-terminating switch type inference
|
2021-06-09 09:06:23 -04:00 |
|
Bruce Weirdan
|
6abce3525a
|
Enforce use sort (#5900)
|
2021-06-07 22:55:21 -04:00 |
|
Christer Edvartsen
|
3f0de269ee
|
Update signatures according to the PHP manual (#5904)
* Update signatures according to the PHP manual (#5903)
* Fix return type based on php-src
|
2021-06-07 13:20:32 -04:00 |
|
Bruce Weirdan
|
5bfb841072
|
Prevent crashes when class constant references missing class (#5902)
Fixes vimeo/psalm#5861
|
2021-06-07 13:20:07 -04:00 |
|
Bruce Weirdan
|
689315b05f
|
Fix sscanf() signature (#5901)
Fixes vimeo/psalm#5870
|
2021-06-07 13:19:17 -04:00 |
|
Matthew Brown
|
7301e3a35f
|
Fix redundant cast
|
2021-06-07 13:19:00 -04:00 |
|
Bruce Weirdan
|
80e8d40013
|
Deprecate legacy hook interfaces (#5898)
Refs vimeo/psalm#4700
|
2021-06-07 10:46:56 -04:00 |
|
Bruce Weirdan
|
86050df4d0
|
Formally deprecate allowCoercionFromStringToClassConst (#5897)
* Mark allowCoercionFromStringToClassConst as deprecated in xml schema
* Emit deprecation warning for `allowCoercionFromStringToClassConst`
|
2021-06-07 10:46:26 -04:00 |
|
Bruce Weirdan
|
a5080f2cf6
|
Do not provide mixed return type on unrelated methods (#5895)
Fixes vimeo/psalm#5894
|
2021-06-07 10:45:43 -04:00 |
|
Andrey Klimenko
|
3ad3375777
|
Fix generic destruction in assertion (#5888)
|
2021-06-04 15:33:37 -04:00 |
|
Bruce Weirdan
|
a4871c1ef8
|
Provide stricter types for spl_autoload functions (#5885)
|
2021-06-04 15:33:12 -04:00 |
|
Oliver Hader
|
e457a7d5af
|
[FEATURE] Allow plugins to declare their custom scanner or analyzer (#5883)
* [FEATURE] Allow plugins to declare their custom scanner or analyzer
Related: #5882
* [TEST] Check plugin declaring own scanner/analyzer
* [TASK] Document plugins declaring scanner or analyzer
* [TEST] Clean up code
* [!!!][TASK] Extend Psalm\Plugin\RegistrationInterface
* add method `addFileTypeScanner(string $fileExtension, string $className): void`
* add method `addFileTypeAnalyzer(string $fileExtension, string $className): void`
* [TASK] Ignore IntelliJ/PhpStorm workspace folder in VCS
* [TASK] Remove superfluous class import
|
2021-06-04 15:32:53 -04:00 |
|
Matt Brown
|
b33f87f68d
|
Treat all assignment operations as equivalent binary ops
|
2021-06-04 14:39:38 -04:00 |
|
Matt Brown
|
be254efec6
|
Break out tests for readonly properties
|
2021-06-04 13:37:03 -04:00 |
|
Andrey Klimenko
|
e5e397a6c5
|
Type negation in generic context (#5879)
* Type negation in generic context
* Fix cs
|
2021-06-03 01:06:25 -04:00 |
|
Matthew Brown
|
1a2e761918
|
Remove incorrectly-committed code
|
2021-06-02 17:26:40 -04:00 |
|
Matthew Brown
|
577ae090c4
|
Bump LS memory to Psalm’s
|
2021-06-02 10:49:04 -04:00 |
|
Barney Laurance
|
e0eb8f88e5
|
Apply De Morgan's to output copy (#5872)
|
2021-06-02 06:32:50 -04:00 |
|