A minimal, testable CLI app (Symfony Console) that reads a JSON file of “messages” and emits three outputs:
- inspections.json
- failure_reports.json
- failed_messages.json
It also prints a processing summary and logs key steps.
Install the following requirements
- install php
- install composer
- install symfony
In the root directory, run the following command
- php bin/console app:process recruitment-task-source-EN.json --out-dir=./out
this would emit the three outputs on the out directory
In the root directory, run the following command
- php bin/phpunit tests/ProcessorTest.php