PHP code example of shipmonk / phpstan-ignore-inliner
1. Go to this page and download the library: Download shipmonk/phpstan-ignore-inliner library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
shipmonk / phpstan-ignore-inliner example snippets
class User {
public function updateSurname(string $surname): void
{
if (empty($surname)) { // @phpstan-ignore empty.notAllowed
throw new EmptyNameException();
}
}
}