<commit_before><?php

namespace App\Http\Controllers\Api;

class HealthController extends ApiController
{
	public function health()
	{

		if ( file_put_contents( storage_path('health.txt'), date('Y-m-d H:i:s') ) === FALSE)
			return $this->respond(503, 'storage unavailable' );

		return $this->respond(200, 'healthy');
	}

	/**
	 *
	 */
	private function respond($code, $message)
	{

		$data = [
			'status' => $code,
			'message' => $message,
		];

		return $this->respondData($data, $code);
	}

}<commit_msg>Apply fixes from StyleCI<commit_after><?php

namespace App\Http\Controllers\Api;

class HealthController extends ApiController
{
    public function health()
    {
        if (file_put_contents(storage_path('health.txt'), date('Y-m-d H:i:s')) === false) {
            return $this->respond(503, 'storage unavailable');
        }

        return $this->respond(200, 'healthy');
    }

    private function respond($code, $message)
    {
        $data = [
            'status' => $code,
            'message' => $message,
        ];

        return $this->respondData($data, $code);
    }
}
{'fraction_non_alphanumeric': 0.16560509554140126, 'fraction_numerical': 0.01091901728844404, 'mean_word_length': 3.0145985401459856, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2130967', 'n_tokens_mistral': 381, 'n_tokens_neox': 353, 'n_words': 72}