923f1d2eb7
Possible fix
2022-11-05 22:23:31 +01:00
5a44522efb
Fix #8669
2022-11-05 22:12:55 +01:00
d0be59e16e
Immutable unions ( #8627 )
...
* Immutable CodeLocation
* Remove excess clones
* Remove external clones
* Remove leftover clones
* Fix final clone issue
* Immutable storages
* Refactoring
* Fixes
* Fixes
* Fix
* Fix
* Fixes
* Simplify
* Fixes
* Fix
* Fixes
* Update
* Fix
* Cache global types
* Fix
* Update
* Update
* Fixes
* Fixes
* Refactor
* Fixes
* Fix
* Fix
* More caching
* Fix
* Fix
* Update
* Update
* Fix
* Fixes
* Update
* Refactor
* Update
* Fixes
* Break one more test
* Fix
* FIx
* Fix
* Fix
* Fix
* Fix
* Improve performance and readability
* Equivalent logic
* Fixes
* Revert
* Revert "Revert"
This reverts commit f9175100c8452c80559234200663fd4c4f4dd889.
* Fix
* Fix reference bug
* Make default TypeVisitor immutable
* Bugfix
* Remove clones
* Partial refactoring
* Refactoring
* Fixes
* Fix
* Fixes
* Fixes
* cs-fix
* Fix final bugs
* Add test
* Misc fixes
* Update
* Fixes
* Experiment with removing different property
* revert "Experiment with removing different property"
This reverts commit ac1156e077fc4ea633530d51096d27b6e88bfdf9.
* Uniform naming
* Uniform naming
* Hack hotfix
* Clean up $_FILES ref #8621
* Undo hack, try fixing properly
* Helper method
* Remove redundant call
* Partially fix bugs
* Cleanup
* Change defaults
* Fix bug
* Fix (?, hope this doesn't break anything else)
* cs-fix
* Review fixes
* Bugfix
* Bugfix
* Improve logic
* Update
2022-11-04 19:04:23 +01:00
orklah
51838a5457
Merge pull request #8658 from aboks/patch-1
...
Mark hash_update functions as impure
2022-11-04 11:35:03 +01:00
Arnout Boks
2387d5eef0
Mark hash_update functions as impure
...
This prevents Psalm from marking calls to them as UnusedFunctionCall.
2022-11-04 09:05:29 +01:00
orklah
8fc499e341
Merge pull request #8649 from lptn/ext-random-for-v5
...
Add stubs for ext-random (PHP 8.2)
2022-11-02 18:44:43 +01:00
Alies Lapatsin
d9a08ec047
Add stubs for ext-random (PHP 8.2)
2022-11-02 15:59:56 +03:00
orklah
7c83878ae0
Merge pull request #8619 from kkmuffme/keep-literal-string-for-simple-str_replace
...
keep literal string for simple str_replace
2022-10-27 10:24:16 +02:00
kkmuffme
e064a0c14d
fix unrelated CI error
2022-10-27 09:23:25 +02:00
kkmuffme
de52e42d5f
keep literal string for simple str_replace
2022-10-27 09:23:25 +02:00
orklah
25b3937168
Merge pull request #8622 from webmaster777/patch-1
...
Update PossiblyFalseReference.md
2022-10-26 22:06:48 +02:00
orklah
26c2539827
Merge pull request #8620 from kkmuffme/basename-return-type-provider
...
add basename return type provider
2022-10-26 22:01:32 +02:00
webmaster777
c6c6d083e1
Update PossiblyFalseReference.md
...
Typo than -> that
2022-10-26 19:52:31 +02:00
kkmuffme
87eb83616e
add basename return type provider
...
Like dirname return type provider of https://github.com/vimeo/psalm/pull/8611
2022-10-26 13:03:53 +02:00
orklah
4b96c20934
Merge pull request #8614 from LeSuisse/stub-ext-ffi
...
Add stubs for ext-ffi
2022-10-26 00:19:49 +02:00
Thomas Gerbet
62e92fb0cf
Add stubs for ext-ffi
...
See #8612
2022-10-25 19:59:44 +02:00
orklah
aea40efb22
Merge pull request #8611 from mcaskill/feature/5.x/dirname-return-type-provider
...
Add dirname return type provider
2022-10-23 20:21:01 +02:00
Chauncey McAskill
0afd873787
Fix dirname return type provider
...
Changed:
- Replaced extraction of `$dir_level` literal value to be from the NodeTypeProvider instead of from the statement; based on similar logic in `RoundReturnTypeProvider`.
- Replaced `new` return type creation with `Type` method creation.
- Replaced `null` return with string type.
Fixed:
- Typo on variable name for extracted `StatementsSource`.
- Edge case where `$dir_level` is less than 1.
- Broken unit tests.
2022-10-23 12:11:58 -04:00
Chauncey McAskill
1dfadfa9ec
Add dirname return type provider
2022-10-23 11:56:02 -04:00
orklah
b0970a6994
Merge pull request #8586 from Nicelocal/fix_8560
...
Fix #8560
2022-10-19 22:06:00 +02:00
orklah
0b80db5cfc
Merge pull request #8605 from zenahirsch/patch-1
...
Fix typo
2022-10-19 22:02:58 +02:00
Zena Hirsch
459fdcd588
Fix typo: "unitialized"
2022-10-19 14:36:43 -04:00
orklah
347a1c21d4
Merge pull request #8601 from pchapl/fix-docs-syntax
...
Docs: Fix minor php syntax issues in code examples
2022-10-19 20:11:42 +02:00
34a0f2b0c7
Merge branch 'master' into fix_8560
2022-10-19 19:44:04 +02:00
orklah
e52b712bf0
Merge pull request #8525 from Nicelocal/immutable_readonly_3
...
Immutable readonly atomics
2022-10-19 18:57:31 +02:00
Pavel Chaplygin
48da8342ad
Docs: Fix minor php syntax issues in code examples
2022-10-18 14:57:50 +03:00
03f234456d
Fix
2022-10-17 20:31:11 +02:00
c9ff8c2c67
Prevent re-resolution of static
2022-10-17 20:31:11 +02:00
abb0e2e3f9
Fix #8560
2022-10-17 20:31:11 +02:00
orklah
212281dbcd
Merge pull request #8591 from Nicelocal/merge_4.x
...
Merge 4.x
2022-10-17 20:16:37 +02:00
3b3afd5369
Fixes
2022-10-17 13:10:12 +02:00
7b6e09afc9
Merge branch 'merge_4.x' into immutable_readonly_3
2022-10-17 12:58:41 +02:00
56805ab089
Fix
2022-10-17 12:54:46 +02:00
5427835fa5
Re-apply changes manually
2022-10-17 12:46:12 +02:00
15f5c593a7
Fix
2022-10-17 12:40:50 +02:00
1abade3c30
Skip
2022-10-17 12:14:07 +02:00
150be5ca22
Update
2022-10-17 10:45:18 +02:00
8d4d0c0e4a
Fixes
2022-10-17 10:33:33 +02:00
53e3889745
Fixes
2022-10-17 10:21:26 +02:00
f816c06331
Fix
2022-10-16 14:39:34 +02:00
8518372cad
Fixes
2022-10-16 14:23:31 +02:00
34000ca90d
Fixes
2022-10-16 13:59:15 +02:00
cbd1a27ea7
Merge branch 'master' into merge_4.x
2022-10-16 13:49:21 +02:00
4912651a9a
Fix
2022-10-16 13:48:45 +02:00
b79c43a288
Merge remote-tracking branch 'origin/4.x' into merge_4.x
2022-10-16 13:42:43 +02:00
748a74bb2c
Merge remote-tracking branch 'origin/4.x' into HEAD
2022-10-16 13:41:27 +02:00
orklah
921801707d
Merge pull request #8583 from gphargreaves/#8484/fix-datetimeimmutable-sub
...
Correct return type of DateTimeImmutable sub method stub
2022-10-15 14:51:43 +02:00
orklah
dbb8815813
Merge pull request #8585 from gphargreaves/#8315/concat-non-empty-strings
...
Add additional checks for concat of non-empty strings to return non-falsy
2022-10-15 14:37:11 +02:00
orklah
61ef140e28
Merge pull request #8579 from ADmad/patch-2
...
Fix template param for SplDoublyLinkedList
2022-10-15 14:35:14 +02:00
ADmad
9bd4d7a740
Fix template param for SplDoublyLinkedList.
...
It's key is always an integer.
2022-10-14 11:54:53 +05:30