Files
piratepoet/mailpoet/tasks/phpstan/email-editor-phpstan-custom.php
Oluwaseun Olorunsola 0b982ddb5c Remove unnessary PHPStan ignore errors
MAILPOET-6318
2024-12-02 08:44:22 +01:00

8 lines
222 B
PHP

<?php declare(strict_types = 1);
$config = [];
$phpVersion = (int)getenv('ANALYSIS_PHP_VERSION') ?: PHP_VERSION_ID;
$config['parameters']['phpVersion'] = $phpVersion; // passes the PHP version to PHPStan
return $config;