Swap the use of NotBooleans used with filled() and blank() to the correct helper.
-!filled([]);
-!blank([]);
+blank([]);
+filled([]);
Configure your rector.php
:
<?php
use RectorLaravel\Rector\FuncCall\NotFilledBlankFuncCallToBlankFilledFuncCallRector;
use Rector\Config\RectorConfig;
return RectorConfig::configure()
->withRules([
NotFilledBlankFuncCallToBlankFilledFuncCallRector::class,
]);