Commit 3c0f7584 authored by Tino Goratsch's avatar Tino Goratsch

- PSR-2 fixes

- TravisCI optimizations
parent b0988630
......@@ -6,10 +6,6 @@ php:
- 7.0
- hhvm
install:
- composer self-update
- composer install --prefer-dist -n -o
addons:
code_climate:
repo_token: 6d92f4f3526685aabe4ba20b4de0dbe8583f862bfb6ce31b322161cd086162b0
......@@ -17,6 +13,11 @@ addons:
script:
phpunit --configuration ./tests/phpunit.dist.xml --coverage-clover build/logs/clover.xml
before_script:
- composer self-update
- if [ -n "$GH_TOKEN" ]; then composer config github-oauth.github.com ${GH_TOKEN}; fi;
- composer install --prefer-dist -n -o
after_script:
- vendor/bin/test-reporter
......
<?php
/**
* Copyright (c) 2016 by the ACP3 Developers.
* See the LICENCE file at the top-level module directory for licencing details.
*/
namespace ACP3\Core\View\Renderer\Smarty\Functions;
......@@ -41,4 +45,4 @@ class SiteTitle extends AbstractFunction
{
return 'site_title';
}
}
\ No newline at end of file
}
<?php
/**
* Copyright (c) 2016 by the ACP3 Developers.
* See the LICENCE file at the top-level module directory for licencing details.
*/
namespace ACP3\Core\View\Renderer\Smarty\Functions;
use ACP3\Core;
......@@ -54,4 +59,4 @@ class WYSIWYG extends AbstractFunction
throw new \InvalidArgumentException('Can not find wysiwyg service ' . $serviceId);
}
}
\ No newline at end of file
}
<?php
/**
* Copyright (c) 2016 by the ACP3 Developers.
* See the LICENCE file at the top-level module directory for licencing details.
*/
namespace ACP3\Core\View\Renderer\Smarty\Modifiers;
/**
......@@ -26,4 +31,4 @@ class PrefixUri extends AbstractModifier
return '';
}
}
\ No newline at end of file
}
<?php
/**
* Copyright (c) 2016 by the ACP3 Developers.
* See the LICENCE file at the top-level module directory for licencing details.
*/
namespace ACP3\Core\View\Renderer\Smarty\Resources;
use ACP3\Core\View\Renderer\Smarty\PluginInterface;
/**
......@@ -20,5 +26,4 @@ abstract class AbstractResource extends \Smarty_Resource_Custom implements Plugi
{
$smarty->registerResource($this->getExtensionName(), $this);
}
}
<?php
/**
* Copyright (c) 2016 by the ACP3 Developers.
* See the LICENCE file at the top-level module directory for licencing details.
*/
namespace ACP3\Core;
use ACP3\Core\Application\Bootstrap;
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment