1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 22:01:48 +01:00
Ivan Sidorov afaaa3d6df Fix parsing magic method annotations
Fix parsing for code:

```
/**
 * @method static (string|int)[] getArray()
 * @method static (callable() : string) getCallable()
 */
class MyClass {}
```

Resolved tests:

```
1) testMethodAnnotation with data set "static (string|int)[] getArray()"
2) testMethodAnnotation with data set "static (callable() : string) getCallable()"
```
2024-02-06 17:01:28 +00:00
2023-11-22 15:27:19 +01:00
2024-02-04 21:07:22 +13:00
2023-10-26 17:00:29 +02:00
2024-01-31 16:10:51 +06:00
2024-02-06 17:01:28 +00:00
2022-12-20 23:50:01 -04:00
2022-12-20 20:52:25 +00:00
2024-02-04 21:07:22 +13:00
2022-12-21 06:45:45 -06:00
2022-12-23 16:13:46 -06:00
2022-12-19 22:14:32 +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.

Description
No description provided
Readme MIT 108 MiB
Languages
PHP 100%