PHPStan: Difference between revisions

No edit summary
mNo edit summary
Line 5: Line 5:
PHPStan has some very notable projects that integrate it: Symphony, Doctrine, Monolog, and many more. (A common refrain: there are PHPStan integrations for Drupal and Wordpress, but not MediaWiki.)
PHPStan has some very notable projects that integrate it: Symphony, Doctrine, Monolog, and many more. (A common refrain: there are PHPStan integrations for Drupal and Wordpress, but not MediaWiki.)


Adding a configuration file for your MediaWiki extension is straightforward and would look like this:<syntaxhighlight lang="yaml">
Adding a configuration file for your MediaWiki extension is straightforward and would look like this:
 
<syntaxhighlight lang="yaml">
parameters:
parameters:
level: 1
level: 1