<commit_before><?php
/**
 * Server module for HiPanel
 *
 * @link      https://github.com/hiqdev/hipanel-module-server
 * @package   hipanel-module-server
 * @license   BSD-3-Clause
 * @copyright Copyright (c) 2015-2019, HiQDev (http://hiqdev.com/)
 */

namespace hipanel\modules\server\tests\unit\controllers;

use hipanel\modules\server\controllers\ServerController;

class ServerControllerTest extends \PHPUnit_Framework_TestCase
{
    /**
     * @var ServerController
     */
    protected $object;

    protected function setUp()
    {
        $this->object = new ServerController('test', null);
    }

    protected function tearDown()
    {
    }

    public function testActions()
    {
        $this->assertInternalType('array', $this->object->actions());
    }
}<commit_msg>fixed tests to new phpunit version compatible<commit_after><?php
/**
 * Server module for HiPanel
 *
 * @link      https://github.com/hiqdev/hipanel-module-server
 * @package   hipanel-module-server
 * @license   BSD-3-Clause
 * @copyright Copyright (c) 2015-2019, HiQDev (http://hiqdev.com/)
 */

namespace hipanel\modules\server\tests\unit\controllers;

use hipanel\modules\server\controllers\ServerController;

class ServerControllerTest extends \PHPUnit_Framework_TestCase
{
    /**
     * @var ServerController
     */
    protected $object;

    protected function setUp(): void
    {
        $this->object = new ServerController('test', null);
    }

    protected function tearDown(): void
    {
    }

    public function testActions()
    {
        $this->assertInternalType('array', $this->object->actions());
    }
}
{'fraction_non_alphanumeric': 0.13027295285359802, 'fraction_numerical': 0.011166253101736972, 'mean_word_length': 3.1679586563307494, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, 'https://': 2, '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': '3825878', 'n_tokens_mistral': 491, 'n_tokens_neox': 480, 'n_words': 96}