for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
class ErrorController extends Controller
{
public function actionIndex()
if ($error=Yii::app()->errorHandler->error) {
if (Yii::app()->request->isAjaxRequest) {
echo $error['message'];
} else {
$this->render('index', $error);
}
This check marks files that end in a newline character, i.e. an empy line.
This check marks files that end in a newline character, i.e. an empy line.