for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace UniSharp\Uploadable\Http\Controllers\Api\V1;
use Illuminate\Http\Request;
use UniSharp\Uploadable\File;
use UniSharp\Uploadable\Uploader;
use Illuminate\Routing\Controller;
class UploadController extends Controller
{
public function store(Request $request)
return Uploader::upload(array_first($request->file()));
}
public function destroy(File $file)
$file->remove();
return ['success' => true];
TRUE
FALSE
NULL
true
This check marks files that end in a newline character, i.e. an empy line.