1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00
Go to file
Daniil Gentili 6347a21546
Literal inferring for array_column, array_combine, array_fill_keys, array_fill (#8850)
* Squash

* Remove BC break

* Suppress

* Possibly fix

* Fixes

* Fix test

* Implement literal array_column

* Improve array_column inference

* Improve logic

* Add array_combine return type provider

* Cleanup

* Fix #8868 (add array_fill_keys/array_fill return type)

* cs-fix

* Fix
2022-12-13 22:29:35 +01:00
.circleci Set vimeo/psalm version explicitly 2022-12-01 19:59:51 -04:00
.github Bump fkirc/skip-duplicate-actions from 4.0.0 to 5.3.0 2022-12-05 07:05:39 +00:00
assets/psalm-phar Fix other check 2020-12-29 12:57:09 +00:00
bin List refactoring v5 (#8820) 2022-12-13 21:40:19 +01:00
build/phpunit Add circleci config file 2019-06-16 09:04:56 -04:00
dictionaries Merge pull request #8826 from othercorey/callmap-methods 2022-12-13 18:47:23 +01:00
docs List refactoring v5 (#8820) 2022-12-13 21:40:19 +01:00
examples Immutable unions (#8627) 2022-11-04 19:04:23 +01:00
src/Psalm Literal inferring for array_column, array_combine, array_fill_keys, array_fill (#8850) 2022-12-13 22:29:35 +01:00
stubs Mark Reflection(Method|Property)#setAccessible() as pure starting from PHP 8.1 onwards 2022-12-07 14:22:15 +01:00
tests Literal inferring for array_column, array_combine, array_fill_keys, array_fill (#8850) 2022-12-13 22:29:35 +01:00
vendor-bin Update humbug/box 2022-11-25 23:58:41 -04:00
.appveyor.yml Fix namespaced min/max int range keyword issue introduced in #7775. 2022-04-27 01:44:57 -04:00
.editorconfig adding editorconfig that seems to match the php files (#163) 2017-06-26 00:22:05 -04:00
.gitattributes Include docs with vendor dist 2022-11-08 20:35:26 -05:00
.gitignore Ignore phpenv file 2022-11-25 05:31:44 -04:00
box.json.dist Bake version data into PHAR file 2022-11-26 00:00:43 -04:00
CODE_OF_CONDUCT.md Add code of conduct 2017-12-31 16:53:56 -05:00
composer.json [skip ci] fix indentation 2022-12-13 05:34:43 -04:00
config.xsd Forbid most magic methods on enums 2022-12-12 03:03:20 -04:00
CONTRIBUTING.md Add contributing section of docs 2020-11-29 23:51:09 -05:00
keys.asc.gpg Change GPG key 2021-01-11 13:36:23 -05:00
LICENSE Add license 2016-11-21 14:48:17 -05:00
phpcs.xml Enforce arrow function formatting 2022-11-23 00:08:29 -04:00
phpunit.xml.dist wip: lots of fixes to the callmap 2022-06-14 15:16:13 +02:00
psalm Drop legacy procedural files 2022-01-03 12:04:35 +02:00
psalm-baseline.xml List refactoring v5 (#8820) 2022-12-13 21:40:19 +01:00
psalm-language-server Drop legacy procedural files 2022-01-03 12:04:35 +02:00
psalm-plugin Drop legacy procedural files 2022-01-03 12:04:35 +02:00
psalm-refactor Drop legacy procedural files 2022-01-03 12:04:35 +02:00
psalm.xml.dist Remove CallMapTest.php from Psalm self-analysis 2022-11-30 00:28:00 -05:00
PsalmLogo.png New and improved logo 2017-01-16 17:24:26 -05:00
psalter Drop legacy procedural files 2022-01-03 12:04:35 +02:00
README.md Add support for strict arrays, fix type alias intersection, fix array_is_list assertion on non-lists (#8395) 2022-11-05 22:34:42 +01:00
scoper.inc.php Update humbug/box 2022-11-25 23:58:41 -04:00
UPGRADING.md List refactoring v5 (#8820) 2022-12-13 21:40:19 +01:00

Psalm

Packagist Packagist Psalm coverage Psalm level

Psalm is a static analysis tool for finding errors in PHP applications.

Installation

To get started, check out the installation guide.

Live Demo

You can play around with Psalm on its website.

Documentation

Documentation is available on Psalms website, generated from the docs folder.

Interested in contributing?

Have a look at CONTRIBUTING.md.

Who made this

Built by Matt Brown (@muglug).

Maintained by Orklah (@orklah), Daniil Gentili (@danog), and Bruce Weirdan (@weirdan).

The engineering team at Vimeo have provided a lot encouragement, especially @nbeliard, @erunion and @nickyr.