anime-db / shikimori-new-items-widget-bundle

Widget for show new items on Shikimori.org
http://shikimori.org/
GNU General Public License v3.0
0 stars 0 forks source link

[Insight] Text files should end with a newline character #8

Closed peter-gribanov closed 10 years ago

peter-gribanov commented 10 years ago

in bootstrap.php, line 7

This file ends with no newline character. It won't render properly on a terminal, and it's considered a bad practice. Add a simple line feed as the last character to fix it.

$file = __DIR__.'/vendor/autoload.php';
if (!file_exists($file)) {
    throw new RuntimeException('Install dependencies to run test suite. "php composer.phar install --dev"');
}

require_once $file;