diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml index db8f215..35629c3 100644 --- a/.idea/codeStyles/Project.xml +++ b/.idea/codeStyles/Project.xml @@ -51,7 +51,9 @@ + + diff --git a/composer.json b/composer.json index 899a9e2..5b8dbf7 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,10 @@ "name": "jeroened/libpairtwo", "type": "library", "description": "Export chess tournaments directly on the web", - "keywords": ["chess", "pairing"], + "keywords": [ + "chess", + "pairing" + ], "license": "AGPL-3.0-or-later", "authors": [ { diff --git a/dist/composer-dist.json b/dist/composer-dist.json index 7de20d9..7de9466 100644 --- a/dist/composer-dist.json +++ b/dist/composer-dist.json @@ -5,8 +5,8 @@ "url": "../" } ], - "require": { + "require": { "jeroened/libpairtwo": "//VERSION//" }, "minimum-stability": "dev" -} \ No newline at end of file +} diff --git a/dist/template.php b/dist/template.php index 345760b..986bc3b 100644 --- a/dist/template.php +++ b/dist/template.php @@ -27,7 +27,10 @@ use JeroenED\Libpairtwo\IOFactory; require_once 'vendor/autoload.php'; if (!file_exists($pairingfile)) { - trigger_error('Your file is not set or doesn\'t exist! Edit the file: ' . __FILE__ . ' and try again', E_USER_ERROR); + trigger_error( + 'Your file is not set or doesn\'t exist! Edit the file: ' . __FILE__ . ' and try again', + E_USER_ERROR + ); } $reader = IOFactory::createReader($fileformat); @@ -49,8 +52,18 @@ foreach ($reader->Tournament->Rounds as $round) { foreach ($round->GamesByBoard as $game) { echo '