1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 13:51:54 +01:00
Evan Shaw 98d98be443 Re-work CheckTrivialExprVisitor
In php-parser 5.0, `ClosureUse` is no longer considered an expression.
This requires changes to Psalm's `CheckTrivialExprVisitor`, which stores
an array of "non-trivial" `Expr` nodes.

However the only use of this array is to count whether or not it's
empty. Instead of keeping the array, we can keep a boolean, and avoid
needing to change the types in this class when we upgrade to php-parser
5.0.
2024-01-29 13:25:25 +13:00
2023-11-22 15:27:19 +01:00
2024-01-22 07:14:10 +00:00
2024-01-15 10:11:22 +01:00
2023-10-26 17:00:29 +02:00
2024-01-29 13:25:25 +13:00
2022-12-20 23:50:01 -04:00
2022-12-20 20:52:25 +00:00
2022-11-26 00:00:43 -04:00
2024-01-15 10:11:21 +01:00
2022-12-21 06:45:45 -06:00
2022-12-23 16:13:46 -06:00
2024-01-24 22:43:40 +01:00
2023-12-03 12:36:14 +01:00
2022-11-25 23:58:41 -04: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%