1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-26 20:34:47 +01:00
Go to file
Lukas Reschke 7079cff31c
$expr->name is not prefixed with $ (#4554)
The example as-is would currently not flag the following code:

```
	public function foo() {
		$foo = $bad_data;
		\shell_exec($foo);
        } 
```

Switching it to `bad_data` made it work.
2021-01-29 11:46:11 +01:00
.circleci Bump circle PHP version 2021-01-29 11:44:33 +01:00
.github/workflows Run on pull_request too 2020-02-24 11:31:20 -05:00
assets/psalm-phar Experiment with PHP 7.1 compatibility (#4421) 2021-01-29 11:44:32 +01:00
bin Ignore ReflectionUnionType 2021-01-29 11:46:06 +01:00
build/phpunit Add circleci config file 2019-06-16 09:04:56 -04:00
dictionaries Add undocumented properties in SoapFault (#4510) 2021-01-29 11:46:06 +01:00
docs $expr->name is not prefixed with $ (#4554) 2021-01-29 11:46:11 +01:00
examples Use more accurate arguments count 2021-01-29 11:39:55 +01:00
src Detect trying to access to a list with a negative offset (#4552) 2021-01-29 11:46:11 +01:00
stubs Fix #4517 - track type contradiction issues in match expressions 2021-01-29 11:46:07 +01:00
tests Detect trying to access to a list with a negative offset (#4552) 2021-01-29 11:46:11 +01:00
vendor-bin/box Bump box version 2019-06-08 19:59:23 -04:00
.appveyor.yml Test parallelization (#4045) 2021-01-29 11:38:04 +01:00
.editorconfig adding editorconfig that seems to match the php files (#163) 2017-06-26 00:22:05 -04:00
.gitattributes Add .gitattributes 2019-03-17 13:30:33 -04: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
.travis.yml Add some backwards-incompatible changes for 4.x 2021-01-29 11:38:48 +01:00
box.json.dist Move static code out of src 2021-01-29 11:39:51 +01:00
CODE_OF_CONDUCT.md Add code of conduct 2017-12-31 16:53:56 -05:00
composer.json Experiment with PHP 7.1 compatibility (#4421) 2021-01-29 11:44:32 +01:00
config.xsd Allow opt-in to strict return type checking 2021-01-29 11:46:03 +01:00
CONTRIBUTING.md Update CONTRIBUTING.md (#3235) 2020-04-26 18:59:33 -04:00
infection.json.dist Add circleci config file 2019-06-16 09:04:56 -04:00
keys.asc.gpg Fix signing (I hope) of releases 2018-12-14 11:20:31 -05:00
LICENSE
phpcs.xml Remove deleted path 2021-01-29 11:39:53 +01:00
phpunit.xml.dist Test parallelization (#4045) 2021-01-29 11:38:04 +01:00
psalm Move Psalm execution code into PHP file that Psalm can analyse 2017-12-29 17:02:56 -05: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 Protect more calls 2021-01-29 11:44:34 +01:00
PsalmLogo.png
psalter Break file manipulation out into Psalter 2018-01-07 17:25:23 -05:00
README.md Shortened the readme 2020-02-24 11:43:32 -05:00
scoper.inc.php Move static code out of src 2021-01-29 11:39:51 +01:00

Psalm

Packagist Packagist Travis CI Coverage Status Psalm coverage

Psalm is a static analysis tool for finding errors in PHP applications, built on top of PHP Parser.

It's able to find a large number of issues, but it can also be configured to only care about a small subset of those.

Try a live demo, or install it in your project by following the Quickstart Guide below.

Psalm documentation

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

To get started, check out the installation guide

Interested in contributing?

Have a look at CONTRIBUTING.md.

Acknowledgements

The engineering team @vimeo for encouragement and patience, especially @nbeliard, @erunion and @nickyr.