<commit_before><?php

namespace tests\cli;

use Yii;

class BaseTest extends \tests\cli\Base
{
    public function testApp()
    {
        $this->assertInstanceOf('luya\cli\Application', Yii::$app);
    }
}<commit_msg>fixed base cli test clover issue<commit_after><?php

namespace tests\cli;

use Yii;

/**
 * tryed to fix
 * 
 * Starting test 'tests\cli\BaseTest::testApp'.
 * PHP Notice 'yii\base\ErrorException' with message 'Array to string conversion'
 * in /home/travis/build/zephir/luya/vendor/phpunit/php-token-stream/src/Token/Stream.php:438
 *
 * with replacing instanceof method with assertEquals
 * @author nadar
 *
 */
class BaseTest extends \tests\cli\Base
{
    public function testApp()
    {
        $this->assertEquals(true, Yii::$app instanceof \luya\cli\Application);
        // $this->assertInstanceOf('luya\cli\Application', Yii::$app);
    }
}
{'fraction_non_alphanumeric': 0.13856812933025403, 'fraction_numerical': 0.003464203233256351, 'mean_word_length': 3.6363636363636362, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, 'https://': 0, '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': '318884', 'n_tokens_mistral': 286, 'n_tokens_neox': 283, 'n_words': 62}