1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-12 01:09:38 +01:00
Go to file
Oliver Hader 51333e8f6e
[TASK] Resolve namespace of class related AST statements
This change allows using `Class_` namespaces like in
PhpParser's original `NameResolver` implementation.

```
if ($node instanceof \PhpParser\Node\Stmt\Class_) {
    $fqcn = (string)($node->namespacedName ?? $node->name);
    $extents = (string)($node->extends->getAttribute('resolvedName'));
}
```

Corresponding parts have been duplicated and modified from
https://github.com/nikic/PHP-Parser/blob/v4.10.4/lib/PhpParser/NodeVisitor/NameResolver.php#L69-L81
2021-09-27 11:19:24 +02:00
.circleci persist worspace for other jobs 2021-07-18 20:01:38 +02:00
.github/workflows configs for windows 2021-07-25 01:01:10 +02:00
assets/psalm-phar Fix other check 2020-12-29 12:57:09 +00:00
bin Strip refs/tags/ as well 2021-08-09 03:08:34 +03:00
build/phpunit
dictionaries Permit null user_agent to get_browser() 2021-09-17 16:46:27 +02:00
docs Update language_server.md 2021-09-21 08:15:06 -07:00
examples Changed confusing comments and docblocks (#5931) 2021-06-14 08:45:38 -04:00
src [TASK] Resolve namespace of class related AST statements 2021-09-27 11:19:24 +02:00
stubs Merge pull request #6438 from SCIF/serializable-interface 2021-09-20 16:49:00 +02:00
tests [TASK] Resolve namespace of class related AST statements 2021-09-27 11:19:24 +02:00
vendor-bin/box Fix lack of autoload_real in latest humbug/box 2020-12-29 14:01:22 +00:00
.appveyor.yml Added dummy appveyor config 2021-07-27 00:38:38 +03:00
.editorconfig
.gitattributes Removed misc files from dist archives (#4968) 2021-01-09 16:14:08 -05:00
.gitignore [FEATURE] Allow plugins to declare their custom scanner or analyzer (#5883) 2021-06-04 15:32:53 -04:00
.scrutinizer.yml More config 2020-05-19 17:51:28 -04:00
box.json.dist Cli command classes (#5858) 2021-05-31 22:23:54 -04:00
CODE_OF_CONDUCT.md
composer.json limit PHPParser to 4.12 2021-09-20 15:31:19 +02:00
config.xsd Basic enum checks 2021-09-07 12:35:38 +03:00
CONTRIBUTING.md Add contributing section of docs 2020-11-29 23:51:09 -05:00
infection.json.dist
keys.asc.gpg Change GPG key 2021-01-11 13:36:23 -05:00
LICENSE
phpcs.xml Enforce use sort (#5900) 2021-06-07 22:55:21 -04:00
phpunit.xml.dist Drop Appveyor reporter as we no longer use Appveyor 2021-08-03 19:38:11 +03:00
psalm Cli command classes (#5858) 2021-05-31 22:23:54 -04:00
psalm-baseline.xml regenerate baseline 2021-09-19 19:30:02 +02:00
psalm-language-server Cli command classes (#5858) 2021-05-31 22:23:54 -04:00
psalm-plugin Cli command classes (#5858) 2021-05-31 22:23:54 -04:00
psalm-refactor Cli command classes (#5858) 2021-05-31 22:23:54 -04:00
psalm.xml.dist Revert "Assertions for Integer Range" 2021-08-14 18:06:41 +03:00
PsalmLogo.png
psalter Cli command classes (#5858) 2021-05-31 22:23:54 -04:00
README.md Fix reference 2021-03-27 22:46:23 -04:00
scoper.inc.php Cli command classes (#5858) 2021-05-31 22:23:54 -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.