EotvosCollegium / mars

Use of FIXME/XXX/TODO encountered PHP-W1073
Documentation
Minor
3 months ago2 years old
Unaddressed use of 'TODO' found
 60    public const PARTS = [1, 2];
 61
 62    // Values are in month
 63    // TODO: change to dates? 64    public const START_OF_SPRING_SEMESTER = 2;
 65    public const END_OF_SPRING_SEMESTER = 7;
 66    public const START_OF_AUTUMN_SEMESTER = 9;
155        $pathTex = Storage::disk('latex')->path($filename . ".tex");
156        $pathPdf = Storage::disk('latex')->path($filename . ".pdf");
157
158        // TODO: figure out result159        Commands::latexToPdf($pathTex, $outputDir);
160
161        if (config('app.debug')) {
155        $pathTex = Storage::disk('latex')->path($filename . ".tex");
156        $pathPdf = Storage::disk('latex')->path($filename . ".pdf");
157
158        // TODO: figure out result159        Commands::latexToPdf($pathTex, $outputDir);
160
161        if (config('app.debug')) {
155        $pathTex = Storage::disk('latex')->path($filename . ".tex");
156        $pathPdf = Storage::disk('latex')->path($filename . ".pdf");
157
158        // TODO: figure out result159        Commands::latexToPdf($pathTex, $outputDir);
160
161        if (config('app.debug')) {
253                // Command was successful, job cancelled.
254                $printJob->state = PrintJob::CANCELLED;
255                // Reverting balance change
256                // TODO: test what happens when cancelled right before the end257                $printAccount = $printJob->user->printAccount;
258                $printAccount->update(['last_modified_by' => user()->id]);
259                $printAccount->increment('balance', $printJob->cost);