PHPackages                             phpstan/phpstan-webmozart-assert - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. phpstan/phpstan-webmozart-assert

ActivePhpstan-extension[Testing &amp; Quality](/categories/testing)

phpstan/phpstan-webmozart-assert
================================

PHPStan webmozart/assert extension

2.0.0(1y ago)18425.1M—7.8%33[6 issues](https://github.com/phpstan/phpstan-webmozart-assert/issues)[2 PRs](https://github.com/phpstan/phpstan-webmozart-assert/pulls)20MITPHPPHP ^7.4 || ^8.0CI passing

Since Jun 23Pushed yesterday5 watchersCompare

[ Source](https://github.com/phpstan/phpstan-webmozart-assert)[ Packagist](https://packagist.org/packages/phpstan/phpstan-webmozart-assert)[ RSS](/packages/phpstan-phpstan-webmozart-assert/feed)WikiDiscussions 2.0.x Synced 1mo ago

READMEChangelog (10)Dependencies (8)Versions (59)Used By (20)

PHPStan webmozart/assert extension
==================================

[](#phpstan-webmozartassert-extension)

[![Build](https://github.com/phpstan/phpstan-webmozart-assert/workflows/Build/badge.svg)](https://github.com/phpstan/phpstan-webmozart-assert/actions)[![Latest Stable Version](https://camo.githubusercontent.com/90863732f948d9b23bb37944e0970cdc6e7f9c95a36bd0bd97b1ae79eaaa7c9a/68747470733a2f2f706f7365722e707567782e6f72672f7068707374616e2f7068707374616e2d7765626d6f7a6172742d6173736572742f762f737461626c65)](https://packagist.org/packages/phpstan/phpstan-webmozart-assert)[![License](https://camo.githubusercontent.com/a6449f448130fddc430ea86b9445a59cdeed4f265c30e20ad4cbb92df8a3ccb4/68747470733a2f2f706f7365722e707567782e6f72672f7068707374616e2f7068707374616e2d7765626d6f7a6172742d6173736572742f6c6963656e7365)](https://packagist.org/packages/phpstan/phpstan-webmozart-assert)

- [PHPStan](https://phpstan.org/)
- [webmozart/assert](https://github.com/webmozart/assert)

Description
-----------

[](#description)

The main scope of this extension is to help PHPStan to detect the type of object after the `Webmozart\Assert\Assert` validation.

```
