Alies Lapatsin
|
ea5f4cb569
|
Add PHP 8.0 delta for hash_hkdf()
|
2022-10-09 17:40:52 +03:00 |
|
Alies Lapatsin
|
30dc46528d
|
Cleaup $ignoredFunctions
|
2022-10-09 17:40:36 +03:00 |
|
Alies Lapatsin
|
198a4ba9b0
|
Return non-empty-string by hash functions
|
2022-10-09 17:31:14 +03:00 |
|
Alies Lapatsin
|
ee86d6360c
|
Remove extra changes
|
2022-10-09 18:05:35 +04:00 |
|
Alies Lapatsin
|
3c3839b5cb
|
Update hash(), hash_file() and hash_init() types
see https://github.com/php/php-src/blob/php-8.1.5/ext/hash/hash.stub.php
|
2022-10-09 18:01:27 +04:00 |
|
Alies Lapatsin
|
dec8d0edc2
|
Mark hash functions as non-false
See https://github.com/php/php-src/issues/7759 and PR https://github.com/phpstan/phpstan-src/pull/822/files#
|
2022-10-09 17:49:17 +04:00 |
|
orklah
|
52e96bea38
|
Merge pull request #8542 from gphargreaves/class-constant-named-class
Add check for class const with reserved word 'class'
|
2022-10-07 18:13:24 +02:00 |
|
|
f06c459415
|
Bugfix
|
2022-10-07 13:18:57 +02:00 |
|
Gregory Hargreaves
|
41a6afda32
|
Add check for const with reserved word class
|
2022-10-07 09:44:10 +01:00 |
|
orklah
|
b6ddcdf3e5
|
Merge pull request #8537 from ppdeblieck/stubfix
Fixed function signatures of imap_delete and imap_undelete
|
2022-10-06 19:19:03 +02:00 |
|
Peter de Blieck
|
15453d4306
|
Removed imap_delete and imap_undelete from the ignoredFunctions list.
|
2022-10-06 14:44:49 +02:00 |
|
Peter de Blieck
|
ea5c2a1302
|
Changed signature of imap_undelete in 8.1 delta
|
2022-10-06 08:52:36 +02:00 |
|
Peter de Blieck
|
f1d1721fa7
|
Fixed function signatures of imap_delete and imap_undelete
|
2022-10-05 14:36:33 +02:00 |
|
orklah
|
6051ae730e
|
Merge pull request #8530 from hamburnyog/add-more-int-type-aliases
Add int type aliases based on existing codes
|
2022-10-05 13:48:33 +02:00 |
|
William Owen Ponce
|
0c3a62bc48
|
Update args
|
2022-10-05 14:29:24 +08:00 |
|
William Owen O. Ponce
|
ae426a00ce
|
Remove irrelevant types, use keep aliases
|
2022-10-05 09:09:56 +08:00 |
|
William Owen O. Ponce
|
04c9fe89c1
|
Arrange use statements alphabetically again
|
2022-10-04 09:59:34 +08:00 |
|
William Owen O. Ponce
|
6b6c320fe6
|
Arrange use statements alphabetically
|
2022-10-04 09:53:22 +08:00 |
|
William Owen O. Ponce
|
58fd83a01f
|
Add int type aliases based on existing codes
|
2022-10-04 09:47:40 +08:00 |
|
|
0155ad7472
|
Immutable readonly 3
|
2022-10-03 15:13:47 +02:00 |
|
|
45452c7125
|
Immutable readonly 2
|
2022-10-03 14:02:41 +02:00 |
|
|
5984ccd908
|
Fix
|
2022-10-03 12:53:44 +02:00 |
|
|
79b13fab04
|
Cleanup
|
2022-10-03 12:09:42 +02:00 |
|
|
c2ce7e63da
|
Immutable readonly 1
|
2022-10-03 11:53:05 +02:00 |
|
|
f11ed46f26
|
Immutable assertions
|
2022-10-03 11:32:15 +02:00 |
|
|
ef60a0c88c
|
Fix properties-of on generics&intersections
|
2022-10-03 11:28:01 +02:00 |
|
|
3abd0b961f
|
Immutable Unions
|
2022-10-03 10:45:36 +02:00 |
|
orklah
|
313ebf428b
|
Merge pull request #8502 from kkmuffme/option-to-only-report-errors-for-passed-file
add hideAllErrorsExceptPassedFiles config option
|
2022-09-25 13:02:00 +02:00 |
|
kkmuffme
|
b68ac865e1
|
add docs
|
2022-09-24 10:44:12 +02:00 |
|
kkmuffme
|
b1c0c2d8a1
|
add hideAllErrorsExceptPassedFiles config option
for files only (not directories, since that wouldn't make practical sense)
|
2022-09-24 10:44:01 +02:00 |
|
orklah
|
b55fc2b35a
|
Merge pull request #8416 from kkmuffme/regression-4.25.0-count-resourcebundle
fix crash in <PHP8 with ResourceBundle
|
2022-09-23 15:11:07 +02:00 |
|
orklah
|
ebabd4bf48
|
Merge pull request #8503 from kkmuffme/fix-phpdoc-errors-reported-for-stubs-instead-of-files
use cache for declared function when available before falling back to stubs
|
2022-09-22 20:17:18 +02:00 |
|
kkmuffme
|
e803af4cd4
|
use cache for declared function when available before falling back to stubs
fixes return type issues reported for the wrong file
|
2022-09-22 02:10:51 +02:00 |
|
kkmuffme
|
328561d388
|
add code for faster debugging next time
|
2022-09-22 01:01:08 +02:00 |
|
kkmuffme
|
ce76158085
|
fix crash in <PHP8 with ResourceBundle
partially reverts https://github.com/vimeo/psalm/pull/8217
|
2022-09-22 01:01:08 +02:00 |
|
orklah
|
5bf59e4e9b
|
Merge pull request #8366 from kkmuffme/fix-invalid-casts-int-float
Fix invalid casts int and float
|
2022-09-20 11:04:43 +02:00 |
|
kkmuffme
|
d69e062426
|
add RiskyCast tests
|
2022-09-20 10:59:46 +02:00 |
|
kkmuffme
|
d69be4b9a2
|
objects even with __toString methods cannot be cast to int/float
|
2022-09-19 21:54:16 +02:00 |
|
Ricardo Boss
|
bf1c0320fd
|
Cherry-pick: Try to provide literal int types when possible (fixes #6966) (#7071)
* Fixed vimeo/psalm#6966
* Only accept >= 0 values for mode argument in round()
* Made round() only return float or literal float values and remove unneeded test
* Registered RoundReturnTypeProvider
* Updated cast analyzer to handle single string literal int values as literal ints
* Fixed psalm errors
* Fix invalid property accesses
* Addressed comments
* Added Tests
* Marked RoundReturnTypeProvider as internal
* Fixed CS
|
2022-09-19 21:54:16 +02:00 |
|
kkmuffme
|
da68e9d739
|
fix psalm-internal risky casts
|
2022-09-19 21:54:16 +02:00 |
|
kkmuffme
|
7cdad99645
|
add RiskyCast
|
2022-09-19 21:54:16 +02:00 |
|
kkmuffme
|
c3eebe2579
|
be less strict for generic string type
|
2022-09-19 21:54:16 +02:00 |
|
kkmuffme
|
d32efb0619
|
float/int always 1 on "error", no PossiblyInvalidCasts by default
|
2022-09-19 21:54:16 +02:00 |
|
kkmuffme
|
39ec75523e
|
same for float
|
2022-09-19 21:54:16 +02:00 |
|
kkmuffme
|
3bec76acb8
|
fix invalid casts for int
https://psalm.dev/r/0d284c6f48
|
2022-09-19 21:54:16 +02:00 |
|
kkmuffme
|
e4b7cdf26f
|
fix type for (string) true
|
2022-09-19 21:54:16 +02:00 |
|
orklah
|
f31f7beba5
|
Merge pull request #8480 from d-claassen/psalter-throws-namespaced-exception
Make Psalter add `@throws` annotation with properly namespaced exception
|
2022-09-19 21:31:50 +02:00 |
|
dennis
|
3a6b709845
|
Test to describe use statements being applied
|
2022-09-19 21:09:45 +02:00 |
|
dennis
|
ab690df4da
|
Improved class name generation for @throws annotation
|
2022-09-19 21:09:45 +02:00 |
|
dennis
|
8ffc747349
|
Add test to document cross namespace behaviour
|
2022-09-19 21:09:45 +02:00 |
|