v0.4.0 - removing useless docblocks
After this change, all useless comments will be removed:
Before:
<?php
declare(strict_types=1);
/**
* Class Whatever
*/
class Whatever
{
public int|string $something;
/**
* @throws JsonException
*/
public function do(): void
{
$i = 1 + 1;
json_encode([$i], JSON_THROW_ON_ERROR | JSON_UNESCAPED_SLASHES);
}
}
After:
<?php
declare(strict_types=1);
class Whatever
{
public int|string $something;
/**
* @throws JsonException
*/
public function do(): void
{
$i = 1 + 1;
json_encode([$i], JSON_THROW_ON_ERROR | JSON_UNESCAPED_SLASHES);
}
}