1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 04:45:20 +01:00
Go to file
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
.circleci Remove latest PHPUnit from 4.x projects 2022-04-27 11:50:11 -04:00
.github Merge branch 'merge_4.x' into immutable_readonly_3 2022-10-17 12:58:41 +02:00
assets/psalm-phar Fix other check 2020-12-29 12:57:09 +00:00
bin Skip sub directories when parsing stubs 2022-07-04 11:36:32 +02:00
build/phpunit
dictionaries Re-apply changes manually 2022-10-17 12:46:12 +02:00
docs Fix typo: "unitialized" 2022-10-19 14:36:43 -04:00
examples remove unused imports 2022-01-21 00:17:06 +01:00
src/Psalm Fix dirname return type provider 2022-10-23 12:11:58 -04:00
stubs Merge branch 'master' into merge_4.x 2022-10-16 13:49:21 +02:00
tests Fix dirname return type provider 2022-10-23 12:11:58 -04:00
vendor-bin Abandon humbug/box update attempt 2022-03-07 16:57:18 -05:00
.appveyor.yml Fix namespaced min/max int range keyword issue introduced in #7775. 2022-04-27 01:44:57 -04:00
.editorconfig
.gitattributes Removed .scrutinizer.yml 2022-02-12 18:53:54 +09:00
.gitignore Immutable Unions 2022-10-03 10:45:36 +02:00
box.json.dist Cli command classes (#5858) 2021-05-31 22:23:54 -04:00
CODE_OF_CONDUCT.md
composer.json Merge remote-tracking branch 'origin/4.x' into HEAD 2022-10-16 13:41:27 +02:00
config.xsd Merge remote-tracking branch 'origin/4.x' into HEAD 2022-10-16 13:41:27 +02:00
CONTRIBUTING.md Add contributing section of docs 2020-11-29 23:51:09 -05:00
keys.asc.gpg Change GPG key 2021-01-11 13:36:23 -05:00
LICENSE
phpcs.xml Add update script and update property map 2022-06-29 09:23:45 +02:00
phpunit.xml.dist wip: lots of fixes to the callmap 2022-06-14 15:16:13 +02:00
psalm Drop legacy procedural files 2022-01-03 12:04:35 +02:00
psalm-baseline.xml Fixes 2022-10-17 13:10:12 +02:00
psalm-language-server Drop legacy procedural files 2022-01-03 12:04:35 +02:00
psalm-plugin Drop legacy procedural files 2022-01-03 12:04:35 +02:00
psalm-refactor Drop legacy procedural files 2022-01-03 12:04:35 +02:00
psalm.xml.dist Fix mixed type hole when sending Foo<string> to Foo<mixed> (#8481) 2022-09-13 13:13:06 -04:00
PsalmLogo.png
psalter Drop legacy procedural files 2022-01-03 12:04:35 +02:00
README.md Updated list of current maintainers 2021-12-05 04:48:06 +02:00
scoper.inc.php Abandon humbug/box update attempt 2022-03-07 16:57:18 -05:00
UPGRADING.md Immutable Unions 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.