1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 05:41:20 +01:00
Chauncey McAskill 0afd873787
Fix dirname return type provider
Changed:
- Replaced extraction of `$dir_level` literal value to be from the NodeTypeProvider instead of from the statement; based on similar logic in `RoundReturnTypeProvider`.
- Replaced `new` return type creation with `Type` method creation.
- Replaced `null` return with string type.

Fixed:
- Typo on variable name for extracted `StatementsSource`.
- Edge case where `$dir_level` is less than 1.
- Broken unit tests.
2022-10-23 12:11:58 -04:00
2020-12-29 12:57:09 +00:00
2022-10-17 12:46:12 +02:00
2022-10-19 14:36:43 -04:00
2022-01-21 00:17:06 +01:00
2022-10-23 12:11:58 -04:00
2022-02-12 18:53:54 +09:00
2022-10-03 10:45:36 +02:00
2021-05-31 22:23:54 -04:00
2021-01-11 13:36:23 -05:00
2022-01-03 12:04:35 +02:00
2022-10-17 13:10:12 +02:00
2022-01-03 12:04:35 +02:00
2022-01-03 12:04:35 +02:00
2022-01-03 12:04:35 +02:00
2021-12-05 04:48:06 +02:00
2022-10-03 10:45:36 +02: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) 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%