Alies Lapatsin
73f90229bb
Merge branch 'master' into fix-shepherd-without-custom-domain
2023-01-22 13:03:40 +01:00
orklah
9725dafb7e
Merge pull request #9157 from annervisser/narrow-union-case-values
...
Narrow ->value of enum case(s) to only the possible values
2023-01-21 12:21:27 +01:00
Anner Visser
d86fcf4a85
Narrow ->value of enum case(s) to only the possible values
...
Using $stmt_var_type to determine if we're dealing with a subset of the
enum cases. If so, we only consider those cases for the possible values.
Fixes #8568
Fixes #8812
2023-01-21 12:05:24 +01:00
orklah
9e34de59cb
Merge pull request #9156 from vimeo/indent-docblocks-in-tests
...
Indent docblocks in DocComment test
2023-01-21 00:09:43 +01:00
Bruce Weirdan
bf99b76798
Indent docblocks in DocComment test
...
Since heredocs in PHP 7.3+ automatically strip leading whitespace we can
fix the formatting for this test.
2023-01-20 18:15:07 -04:00
Alies Lapatsin
ca063a46d9
Use more readable for Psalm expressions
2023-01-20 09:39:39 +01:00
Alies Lapatsin
fdd5e2ebdb
Merge branch 'master' into fix-shepherd-without-custom-domain
2023-01-20 09:28:58 +01:00
orklah
a4d1b0691d
Merge pull request #9085 from BenMorel/newInstanceArgs
...
Fix ReflectionClass::newInstanceArgs() with named parameters
2023-01-19 23:08:21 +01:00
Bruce Weirdan
d32aca3c82
Merge pull request #9141 from bitwise-operators/9132-document-pure-callables
2023-01-19 04:57:30 -04:00
Bitwise Operators
a1ad738889
docs: Add information on pure-callables to documentation (see #9132 )
2023-01-19 08:39:07 +01:00
Bruce Weirdan
5d6dff9069
Merge pull request #9139 from jack-worman/Fix_dom_import_simplexml
2023-01-19 00:01:30 -04:00
Jack Worman
787b9ae687
Fix dom_import_simplexml()
2023-01-18 18:31:54 -05:00
Alies Lapatsin
e3e1c92c07
Fix shepherd for default domain
...
When you run `psalm` like `psalm --shepherd`,
$options['shepherd'] === false
2023-01-18 21:28:01 +01:00
Alies Lapatsin
089b388c91
Unify deprecation messages
2023-01-18 21:19:30 +01:00
Alies Lapatsin
a1a2ecc957
Merge branch 'master' into unify-deprecation-messages
2023-01-18 21:14:02 +01:00
Alies Lapatsin
a28d825476
Do not display "Enabled extensions: " for empty ext list
2023-01-18 20:55:14 +01:00
Alies Lapatsin
2f385a9057
Unify deprecation messages
2023-01-18 20:54:49 +01:00
orklah
396e7fcc82
Merge pull request #9134 from lptn/better-shepherd-error-output
...
Enhance error output for shepherd
2023-01-18 20:40:59 +01:00
Alies Lapatsin
d524af8aee
Merge branch 'master' into better-shepherd-error-output
2023-01-18 20:04:16 +01:00
Alies Lapatsin
e6ea61c91b
Enhance error output for shephed
2023-01-18 19:59:09 +01:00
orklah
a91661ac4c
Merge pull request #9133 from lptn/allow-to-specify-custom-shepherd-endpoint-clean
...
Allow to specify custom shepherd endpoint
2023-01-18 19:34:32 +01:00
Alies Lapatsin
2161e97c44
Cleanup baseline
2023-01-18 19:12:23 +01:00
Alies Lapatsin
cc30cf99b0
Merge remote-tracking branch 'origin/allow-to-specify-custom-shepherd-endpoint' into allow-to-specify-custom-shepherd-endpoint
...
# Conflicts:
# psalm-baseline.xml
2023-01-18 19:07:42 +01:00
Alies Lapatsin
aac6ead2d9
Fix coding style issues
2023-01-18 19:06:51 +01:00
Alies Lapatsin
363a0b6b22
Add suppressions for using a deprecated property
2023-01-18 19:06:51 +01:00
Alies Lapatsin
d5e5dc0683
Fully support Psalm 5 behaviour
...
asked by orklah, see
https://github.com/vimeo/psalm/pull/9112#issuecomment-1383239821
2023-01-18 19:06:51 +01:00
Alies Lapatsin
291484df44
Return getCurlErrorMessage() method as it can be used outside
2023-01-18 19:06:51 +01:00
Alies Lapatsin
8e5715875a
Update cli help text
2023-01-18 19:06:51 +01:00
Alies Lapatsin
587ac6e018
Fix coding style issues
2023-01-18 19:06:51 +01:00
Alies Lapatsin
c95b0718c4
Properly process HTTP response codes from shepherd servers
2023-01-18 19:06:51 +01:00
Alies Lapatsin
09517d3176
Follow redirects when submitting shepherd reports
2023-01-18 19:06:51 +01:00
Alies Lapatsin
9cba3604fc
Update baseline (add DeprecatedProperty)
2023-01-18 19:06:48 +01:00
Alies Lapatsin
30ab11bae1
Use safer type operations with cli $options array
2023-01-18 19:06:32 +01:00
Alies Lapatsin
7e157cfe9d
Allow to specify a custom shepherd endpoint (instead of domain)
2023-01-18 19:06:32 +01:00
orklah
dfbd0458f4
Merge pull request #9130 from jack-worman/Report_unmatched_baseline_rules
...
Report unused baseline entries
2023-01-18 18:59:37 +01:00
orklah
466ff68dae
Merge pull request #9122 from othercorey/fix-returns
...
Fix remaining ignored CallMap return types that can be updated
2023-01-18 18:57:05 +01:00
Jack Worman
56f6dfecc8
Report unused baseline entries
2023-01-17 22:02:21 -05:00
orklah
b6bdc94070
Merge pull request #9117 from Jean85/allow-diff-5-on-5
...
Allow sebastian/diff 5
2023-01-18 00:26:32 +01:00
Corey Taylor
cfaf763ba7
Fix remaining ignored CallMap return types that can be updated
2023-01-17 17:24:51 -06:00
orklah
25b2f7a744
Merge pull request #9126 from jack-worman/Support_constants_in_traits
...
Support constants in traits
2023-01-18 00:15:43 +01:00
Jack Worman
f9aa2d5ad3
Support constants in traits
2023-01-17 16:37:44 -05:00
Alies Lapatsin
a3786a7291
Merge branch 'master' into allow-to-specify-custom-shepherd-endpoint
2023-01-17 10:31:34 +01:00
Alies Lapatsin
924c6daeaf
Fix coding style issues
2023-01-17 10:28:06 +01:00
Alessandro Lai
c48afea6f2
Allow sebastian/diff 5
2023-01-17 09:05:26 +01:00
orklah
8b9cd5fb33
Merge pull request #9118 from jack-worman/libxml_get_errors_return_type
...
Fix libxml_get_errors() return type
2023-01-17 07:21:09 +01:00
Jack Worman
12632df67f
Fix libxml_get_errors() return type
2023-01-16 17:48:36 -05:00
Jack Worman
b2c69ada43
Fix libxml_get_errors() return type
2023-01-16 17:38:22 -05:00
Alies Lapatsin
76c1e413a1
Add suppressions for using a deprecated property
2023-01-16 23:13:52 +01:00
Alies Lapatsin
9271946dd6
Fully support Psalm 5 behaviour
...
asked by orklah, see
https://github.com/vimeo/psalm/pull/9112#issuecomment-1383239821
2023-01-16 23:01:22 +01:00
orklah
dedb4bba21
Merge pull request #9115 from BenMorel/getDefaultValueConstantName
...
Infer getDefaultValueConstantName() type when isDefaultValueConstant() is true
2023-01-15 19:44:30 +01:00