1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 04:45:20 +01:00
Go to file
Bruce Weirdan cd002e6a87
Do not consider isset checks on static properties as redundant (#5525)
* Do not consider isset checks on static properties as redundant

Unlike normal properties, static properties do not have a prescribed
initialization sequence, so they can always be uninitialized (or unset).
Thus `isset()` checks on them are never redundant.

Fixes vimeo/psalm#5489

* Fix issue with nullable is_static
2021-03-30 11:56:08 -04:00
.circleci Back to 7.4 2021-03-22 19:53:42 -04:00
.github/workflows Add linting to prevent embarassing errors (#5209) 2021-02-12 17:03:03 -05:00
assets/psalm-phar Fix other check 2020-12-29 12:57:09 +00:00
bin typo (#5523) 2021-03-30 11:54:22 -04:00
build/phpunit Add circleci config file 2019-06-16 09:04:56 -04:00
dictionaries Fix oci8 stubs for PHP 8 (#5478) 2021-03-25 00:49:53 -04:00
docs Clean up issues list, add documentation to help with named variadic confusion. (#5511) 2021-03-29 15:10:49 -04:00
examples Added event to prevent tainting. (#5398) 2021-03-19 22:41:41 -04:00
src Do not consider isset checks on static properties as redundant (#5525) 2021-03-30 11:56:08 -04:00
stubs json_encode does not return false if JSON_THROW_ON_ERROR is in flags (#5417) 2021-03-18 09:41:44 -04:00
tests Do not consider isset checks on static properties as redundant (#5525) 2021-03-30 11:56:08 -04:00
vendor-bin/box Fix lack of autoload_real in latest humbug/box 2020-12-29 14:01:22 +00:00
.appveyor.yml Use appveyor reporter instead of a file upload (#5438) 2021-03-19 23:25:34 -04:00
.editorconfig
.gitattributes Removed misc files from dist archives (#4968) 2021-01-09 16:14:08 -05:00
.gitignore Fix: Remove unused friendsofphp/php-cs-fixer (#2603) 2020-01-12 10:52:33 -05:00
.scrutinizer.yml More config 2020-05-19 17:51:28 -04:00
box.json.dist PHAR: Include issue docs for SARIF output (#4925) 2021-01-03 16:54:52 +00:00
CODE_OF_CONDUCT.md
composer.json Allow older composer/semver cc @xurizaemon 2021-03-28 23:45:52 -04:00
config.xsd Restrict errorLevel and type attributes to valid values (#5476) 2021-03-25 00:27:54 -04:00
CONTRIBUTING.md Add contributing section of docs 2020-11-29 23:51:09 -05:00
infection.json.dist Add circleci config file 2019-06-16 09:04:56 -04:00
keys.asc.gpg Change GPG key 2021-01-11 13:36:23 -05:00
LICENSE
phpcs.xml Simplify calling of replacer methods 2020-11-29 16:27:00 -05:00
phpunit.xml.dist Use appveyor reporter instead of a file upload (#5438) 2021-03-19 23:25:34 -04:00
psalm Move Psalm execution code into PHP file that Psalm can analyse 2017-12-29 17:02:56 -05:00
psalm-baseline.xml Fix many uses of offsets 2021-03-23 01:30:51 -04:00
psalm-language-server Change permissions on the language server executable 2018-10-19 14:04:22 -04:00
psalm-plugin Plugin loading (#855) 2018-11-10 23:23:36 -05:00
psalm-refactor Change psalm-refactor perms 2019-06-05 10:43:51 -04:00
psalm.xml.dist Fix many uses of offsets 2021-03-23 01:30:51 -04:00
PsalmLogo.png
psalter Break file manipulation out into Psalter 2018-01-07 17:25:23 -05:00
README.md Fix reference 2021-03-27 22:46:23 -04:00
scoper.inc.php Move static code out of src 2020-10-12 00:59:19 -04:00

Psalm

Packagist Packagist Coverage Status 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 Matt and Bruce Weirdan (@weirdan).

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