- PHP >= 8.2
- Composer >= 2
- make >= 4
git clone git@github.com:NONstop5/php-project-lvl2.git
make install
gendiff -h
<?php
declare(strict_types=1);
use function Differ\Differ\genDiff;
genDiff(string $firstFilePath, string $secondFilePath, string $format = 'stylish'): string
$firstFilePath- path to json or yaml file$secondFilePath- path to json or yaml file$format- output format type, can bestylish,plain,json(default:stylish)