Jack Worman
|
1c19260cdd
|
Require trailing commas
|
2022-12-18 13:20:31 -06:00 |
|
Jack Worman
|
69658e8315
|
SlevomatCodingStandard.Commenting.DocCommentSpacing
|
2022-12-14 13:34:41 -06:00 |
|
Jack Worman
|
fc2df8e8ae
|
Add more property typehints
|
2022-12-13 20:20:15 -06:00 |
|
Jack Worman
|
dd0d8300b1
|
Use rector to add property typehints
|
2022-12-11 17:25:23 -06:00 |
|
Matthew Brown
|
8d36bdc3ed
|
Make array shapes strict by default (#8701)
* Make array shapes strict by default
* Fix PSL tests
|
2022-11-11 20:14:21 -05:00 |
|
|
1986c8b4a8
|
Add support for strict arrays, fix type alias intersection, fix array_is_list assertion on non-lists (#8395)
* 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
* Add support for list{} and callable-list{} types, properly implement array_is_list assertions (fixes #8389)
* Default to sealed arrays
* Fix array_merge bug
* Fixes
* Fix
* Sealed type checks
* Properly infer properties-of and get_object_vars on final classes
* Fix array_map zipping
* Fix tests
* Fixes
* Fixes
* Fix more stuff
* Recursively resolve type aliases
* Fix typo
* Fixes
* Fix array_is_list assertion on keyed array
* Add BC docs
* Fixes
* fix
* Update
* Update
* Update
* Update
* Seal arrays with count assertions
* Fix #8528
* Fix
* Update
* Improve sealed array foreach logic
* get_object_vars on template properties
* Fix sealed array assertion reconciler logic
* Improved reconciler
* Add tests
* Single source of truth for test types
* Fix tests
* Fixup tests
* Fixup tests
* Fixup tests
* Update
* Fix tests
* Fix tests
* Final fixes
* Fixes
* Use list syntax only when needed
* Fix tests
* Cs-fix
* Update docs
* Update docs
* Update docs
* Update docs
* Update docs
* Document missing types
* Update docs
* Improve class-string-map docs
* Update
* Update
* I love working on psalm :)
* Keep arrays unsealed by default
* Fixup tests
* Fix syntax mistake
* cs-fix
* Fix typo
* Re-import missing types
* Keep strict types only in return types
* argc/argv fixes
* argc/argv fixes
* Fix test
* Comment-out valinor code, pinging @romm pls merge https://github.com/CuyZ/Valinor/pull/246 so we can add valinor to the psalm docs :)
|
2022-11-05 22:34:42 +01:00 |
|
Bruce Weirdan
|
e0acf22e40
|
Merge branch '4.x' into update-master
|
2022-05-28 14:49:12 -04:00 |
|
Jerome TAMARELLE
|
afed93b6bd
|
Fix conflict of option -c with shell completion
|
2022-05-20 09:42:57 +02:00 |
|
Aleksandr Zhuravlev
|
b4fdc3e326
|
Made most of callbacks static. Reworked some array_map() into foreach()
|
2022-04-09 21:58:26 +12:00 |
|
Bruce Weirdan
|
d7d846edc8
|
Merge branch '4.x' into upstream-master
|
2022-02-20 02:31:15 +02:00 |
|
a.dmitryuk
|
8e1e0d1e5e
|
style-ci
|
2022-02-18 10:33:35 +07:00 |
|
a.dmitryuk
|
dc8764153e
|
Throw exception if file_put_contents failed
|
2022-02-18 10:05:23 +07:00 |
|
sasezaki
|
d0baffb534
|
DOMElement instead of DomElement - https://php.net/DOMElement
to avoid composer-require-check reports false-positive,
just did - find src/ -type f -exec sed -i -e 's/DomElement/DOMElement/g' {} \;
|
2022-02-11 22:51:31 +01:00 |
|
orklah
|
477c0113c2
|
Merge remote-tracking branch 'upstream/4.x' into upstream-master3
|
2022-01-18 18:37:04 +01:00 |
|
Fabien Villepinte
|
c9eafa15ad
|
Improve signature of DOMDocument::loadXML()
|
2022-01-17 22:52:58 +00:00 |
|
Bruce Weirdan
|
8726065d21
|
Applied ClosureToArrowFunctionRector
|
2022-01-06 00:48:04 +02:00 |
|
Bruce Weirdan
|
94395f18a4
|
Applied JsonThrowOnErrorRector
|
2022-01-05 19:32:43 +02:00 |
|
Bruce Weirdan
|
b924032850
|
Mark internal classes @internal
|
2022-01-03 09:33:22 +02:00 |
|
rarila
|
97e6511fab
|
Set number of lines before and after namespace.
|
2021-12-15 04:58:32 +01:00 |
|
ralila
|
f833085a15
|
Fix fqn usage in php-doc
|
2021-12-04 03:37:19 +01:00 |
|
ralila
|
30a65685a2
|
Import instead of using fqn classes
|
2021-12-03 21:40:18 +01:00 |
|
Bruce Weirdan
|
d302ffba91
|
Drop duplicate constant
|
2021-11-14 05:19:20 +02:00 |
|
orklah
|
38dac34846
|
unnecessary null initialization
|
2021-09-26 23:34:32 +02:00 |
|
orklah
|
04afe1fb86
|
improved assertion
|
2021-09-25 16:59:34 +02:00 |
|
orklah
|
ebef0de9b4
|
missing variable
|
2021-09-25 16:49:53 +02:00 |
|
Bruce Weirdan
|
6abce3525a
|
Enforce use sort (#5900)
|
2021-06-07 22:55:21 -04:00 |
|
Saif Eddin Gmati
|
d740c1679c
|
allow libraries to provide psalm plugins (#5165)
|
2021-02-06 22:06:00 -05:00 |
|
orklah
|
ae0486529e
|
Unused psalm-suppress (#4646)
|
2020-11-21 17:39:40 -05:00 |
|
Dalibor Karlović
|
da632ca73a
|
feature: allow plugin manager to work without config file (#4639)
|
2020-11-20 09:54:14 -05:00 |
|
orklah
|
ceaaa39ec3
|
improve phpdoc (#4352)
|
2020-10-17 12:36:44 -04:00 |
|
orklah
|
10f2966dcb
|
return types (#4311)
* return types
* remove willReturn for void methods
|
2020-10-12 15:02:52 -04:00 |
|
Saif Eddin G
|
0475f379aa
|
add support for 'COMPOSER' env variable for alternate name of 'composer.json' (#4275)
|
2020-10-03 02:26:37 -04:00 |
|
orklah
|
1a1b88bb5e
|
add visibilities to constants (#4219)
|
2020-09-20 12:54:46 -04:00 |
|
orklah
|
ead107fa9e
|
More return types (#4173)
* add native return types
* redundant phpdoc
|
2020-09-12 11:24:05 -04:00 |
|
orklah
|
8c7423505a
|
add native param types (#4137)
* add native param types
* redundant phpdoc
* add more param types and adds "?" to nullable types
* remove redundant phpdoc
* add more param types and remove redundant phpdoc
* add more param types and remove redundant phpdoc
|
2020-09-06 19:36:47 -04:00 |
|
orklah
|
f66d57f19d
|
add native return types (#4116)
* add native return types
* remove redundant phpdoc
|
2020-09-04 16:26:33 -04:00 |
|
Brown
|
ba1ff21af4
|
Add a couple more pure annotations
|
2020-08-23 18:53:34 -04:00 |
|
Matthew Brown
|
50cc3a8afa
|
Align paramter names
|
2020-08-09 23:19:59 -04:00 |
|
Matthew Brown
|
a2fbfc1c9e
|
Fix a couple of bugs
|
2020-02-21 01:32:22 -05:00 |
|
Matthew Brown
|
033b610770
|
Fix composer checks once more
|
2020-01-01 17:29:30 -05:00 |
|
Matthew Brown
|
2b1b0f6c34
|
Return 0
|
2019-11-21 09:02:56 -05:00 |
|
Brown
|
d15989c975
|
Allow catch to assume no try statements completed
|
2019-11-11 15:17:53 -05:00 |
|
Matthew Brown
|
94d4b876ba
|
Fix #2177 - mark variables in try block as potentially undefined
|
2019-11-09 12:25:30 -05:00 |
|
Brown
|
c5ef2516b5
|
Fix #2150 - add detection for unnecessary @var annotations
And also remove them from codebase
|
2019-09-19 11:59:43 -04:00 |
|
Matthew Brown
|
6ea68e9f7f
|
Clean up more unused @psalm-suppress annotations
|
2019-08-18 16:59:56 -04:00 |
|
Matthew Brown
|
c5f62d261d
|
Remove redundant @psalm-suppress in Psalm’s codebsae
|
2019-08-18 16:10:12 -04:00 |
|
Matthew Brown
|
da42be175f
|
Apply PHPCS fixes
Fixes #1880
|
2019-07-05 16:27:53 -04:00 |
|
Matthew Brown
|
efe096c7ab
|
Fix #1897 - add support for unions in @psalm-assert annotations
|
2019-07-04 15:05:55 -04:00 |
|
LeSuisse
|
f29826b958
|
Fully qualify constants and function calls (#1849)
This should give a small performance boost.
Part of #1837.
The change is enforced via phpcs and can be autofixed
with phpcbf.
|
2019-06-26 16:52:29 -04:00 |
|
Bruce Weirdan
|
1c03d6f076
|
Implemented multiple composer roots for plugins (#1723)
Refs vimeo/psalm#1710
|
2019-06-02 11:23:56 -04:00 |
|