PHP code example of tzmfreedom / type-tracer
1. Go to this page and download the library: Download tzmfreedom/type-tracer 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/ */
tzmfreedom / type-tracer example snippets
use Tzmfreedom\TypeTracer\Rector\TypeDeclarationRector;
use Rector\Config\RectorConfig;
return RectorConfig::configure()
->withConfiguredRule(TypeDeclarationRector::class, [
'mixedTypeCount' => 4,
'file' => 'type-aggregate.json',
]);