1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00
Commit Graph

82 Commits

Author SHA1 Message Date
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
25614ec2bd
Updated list of current maintainers 2021-12-05 04:48:06 +02:00
sasezaki
67b7d27628 Remove PHPUnit coverage badge - #6800 2021-11-04 08:46:47 +09:00
sasezaki
a20fe6c1e8 Link type coverage badge to shepherd.dev detail page url 2021-10-12 08:19:25 +09:00
Matt Brown
2f5bec33be Fix reference 2021-03-27 22:46:23 -04:00
Matt Brown
d4a3e363e0 Add Psalm level badge 2021-03-27 22:45:39 -04:00
Yuta Nagamiya
d435d4d011
Add the Psalm badge (#5492) 2021-03-27 11:07:08 -04:00
Matthew Brown
ccf6e2805f
Grammar 2020-11-19 19:40:40 -05:00
Matthew Brown
7c62b0c494
Make Readme more punchy 2020-11-19 19:40:17 -05:00
Matthew Brown
09427bfa14
Shortened the readme 2020-02-24 11:43:32 -05:00
Matthew Brown
9779061939
Simplify logo 2019-12-04 15:18:00 -05:00
Matthew Brown
18554b6d2b
Fix link to issues 2019-06-20 10:57:45 -04:00
cfebs
ef000a4172 Update issue suppression docs link in readme 2019-06-12 11:22:29 -04:00
Matthew Brown
326249e13b spirit => shepherd 2019-03-31 14:02:30 -04:00
Matthew Brown
1611b4f915
Fix display 2019-03-25 02:00:49 -04:00
Matthew Brown
bf717a5779
Add return to jog things 2019-03-24 09:47:39 -04:00
Matthew Brown
5ed510f710
Add Psalm coverage 2019-03-23 15:58:22 -04:00
Matthew Brown
0916f09ca8 Fix url 2019-03-05 11:04:30 -05:00
ADmad
8d933093ec Consistently use new domain name in links. 2019-03-05 11:04:30 -05:00
Matthew Brown
27527956d4
Update domain 2019-02-22 11:47:55 -05:00
Tyson Andre
6ba76e1589 Fix wording nits in documentation 2018-10-27 13:05:49 -04:00
Michael Joseph
ba87eb069c README Typo: missing word (#956) 2018-08-25 11:30:31 -04:00
Matthew Brown
1afc8b8a7b Add a link to the docs from the readme 2018-04-15 12:19:51 -04:00
Matthew Brown
dcc6c92165
Fix singular noun 2018-03-18 09:08:32 -04:00
Matthew Brown
1d9580bc43
Add explicit callout to the documentation
Ref #596
2018-03-18 09:07:36 -04:00
Matt Brown
d3c327f4f3 Add description of Psalm‘s features 2018-02-21 20:09:30 -05:00
Matthew Brown
467702ea33
Add total downloads 2018-01-23 17:25:42 -05:00
Matthew Brown
4561a6b9ab Add reference to how Psalm works overview 2018-01-14 15:35:52 -05:00
Matthew Brown
a151fe5d3e
Add code coverage checks by @SignpostMarv (#388)
* Add code coverage checks

* Add coveralls badge
2017-12-14 00:40:22 -05:00
Matthew Brown
bd14de30e7 Update version requirements for newest Psalm 2017-05-02 12:23:53 -04:00
Matthew Brown
63c88e2949 Make phrase hyperlink 2017-02-13 00:18:49 -05:00
Matthew Brown
3a394bd552 Improve better grammar 2017-02-13 00:17:35 -05:00
Matthew Brown
b4385e41ca Touchup readme 2017-02-13 00:16:22 -05:00
Matthew Brown
f3fd74250e Update README with new instructions 2017-02-13 00:14:20 -05:00
Matthew Brown
871755ce54 Fix link to travis 2017-02-09 01:54:41 -05:00
Jon Ursenbach
f287b9b81f Making the README badges clickable, and adding one for Packagist. 2017-02-03 21:35:40 -05:00
Mathias Brodala
cfcecf0337 Simplify installation procedure
Composer "require" implies "install", also suggest installing the latest stable version instead.
2017-01-17 13:51:36 +01:00
Matthew Brown
4402ca0bff Added acknowledgements 2017-01-16 17:20:07 -05:00
Matthew Brown
54ccd9dfd2 Update docs with better introductory config 2017-01-16 01:28:09 -05:00
Matthew Brown
685eaeb4fe Reimagine XML schema, fixes #21 2016-12-29 20:10:06 -05:00
Matthew Brown
b2c777e3eb Change image link 2016-12-12 15:32:01 -05:00
Matthew Brown
527544f049 Update demo url to https 2016-12-12 12:02:31 -05:00
Matthew Brown
3a1a84f0cb Bold things 2016-12-12 10:29:43 -05:00
Matthew Brown
b223b74559 Condense version text 2016-12-12 10:29:10 -05:00
Matthew Brown
3df1c222e1 Add link to live demo 2016-12-09 01:18:12 -05:00
Matthew Brown
19e279eb99 Add Travis build icon 2016-12-07 00:24:29 -05:00
Matthew Brown
ff409a7f01 Update minimum requirements 2016-12-04 23:19:14 -05:00
Matthew Brown
8d0e724438 Remove need for repo address 2016-11-29 12:33:01 -05:00
Matthew Brown
89ea4384f9 Add repo until we're in packagist 2016-11-22 11:02:38 -05:00
Matthew Brown
a8166668ab Add quickstart guide 2016-11-21 15:15:23 -05:00