Skip to content
Permalink
Browse files

Code formatting

  • Loading branch information
cedx committed Jun 19, 2020
1 parent 441e264 commit ed3b097514a5d43a39dd2b08e940c2ab2c7e9b7a
@@ -32,5 +32,5 @@ Now in your [PHP](https://www.php.net) code, you can use:

``` php
<?php
use yii\mustache\{ViewRenderer};
use yii\mustache\ViewRenderer;
```
@@ -2,7 +2,7 @@
namespace yii\mustache;

use yii\base\{BaseObject, InvalidConfigException, View, ViewNotFoundException};
use yii\helpers\{FileHelper};
use yii\helpers\FileHelper;

/** Loads views from the file system. */
class Loader extends BaseObject implements \Mustache_Loader {
@@ -2,8 +2,8 @@
namespace yii\mustache;

use Psr\Log\{LoggerInterface, LoggerTrait, LogLevel};
use yii\base\{BaseObject};
use yii\log\{Logger as YiiLogger};
use yii\base\BaseObject;
use yii\log\Logger as YiiLogger;

/** Component used to log messages from the view engine to the application logger. */
class Logger extends BaseObject implements LoggerInterface {
@@ -1,8 +1,8 @@
<?php declare(strict_types=1);
namespace yii\mustache;

use yii\base\{View};
use yii\di\{Instance};
use yii\base\View;
use yii\di\Instance;
use yii\helpers\{ArrayHelper, Html};

/**
@@ -1,8 +1,8 @@
<?php declare(strict_types=1);
namespace yii\mustache\helpers;

use yii\helpers\{Html};
use yii\mustache\{Helper};
use yii\helpers\Html;
use yii\mustache\Helper;

/**
* Provides a set of commonly used data formatting methods.
@@ -1,9 +1,9 @@
<?php declare(strict_types=1);
namespace yii\mustache\helpers;

use yii\helpers\{Markdown};
use yii\mustache\{Helper};
use yii\widgets\{Spaceless};
use yii\helpers\Markdown;
use yii\mustache\Helper;
use yii\widgets\Spaceless;

/**
* Provides a set of methods for generating commonly used HTML tags.
@@ -3,7 +3,7 @@

use yii\base\{InvalidCallException, InvalidConfigException};
use yii\helpers\{ArrayHelper, StringHelper};
use yii\mustache\{Helper};
use yii\mustache\Helper;

/**
* Provides features related with internationalization (I18N) and localization (L10N).
@@ -1,8 +1,8 @@
<?php declare(strict_types=1);
namespace yii\mustache\helpers;

use yii\helpers\{Url as UrlHelper};
use yii\mustache\{Helper};
use yii\helpers\Url as UrlHelper;
use yii\mustache\Helper;

/**
* Provides a set of methods for managing URLs.
@@ -1,7 +1,7 @@
<?php declare(strict_types=1);
namespace yii\mustache;

use PHPUnit\Framework\{TestCase};
use PHPUnit\Framework\TestCase;
use function PHPUnit\Framework\{assertThat, isFalse, isTrue};

/** @testdox yii\mustache\Cache */
@@ -1,8 +1,8 @@
<?php declare(strict_types=1);
namespace yii\mustache;

use PHPUnit\Framework\{TestCase};
use PHPUnit\Framework\MockObject\{MockObject};
use PHPUnit\Framework\TestCase;
use PHPUnit\Framework\MockObject\MockObject;
use function PHPUnit\Framework\{assertThat, equalTo};

/** @testdox yii\mustache\Helper */
@@ -1,7 +1,7 @@
<?php declare(strict_types=1);
namespace yii\mustache;

use PHPUnit\Framework\{TestCase};
use PHPUnit\Framework\TestCase;
use yii\base\{View, ViewNotFoundException};

/** @testdox yii\mustache\Loader */
@@ -1,8 +1,8 @@
<?php declare(strict_types=1);
namespace yii\mustache;

use PHPUnit\Framework\{TestCase};
use yii\web\{View};
use PHPUnit\Framework\TestCase;
use yii\web\View;
use function PHPUnit\Framework\{assertThat, equalTo, isInstanceOf, isTrue};

/** @testdox yii\mustache\ViewRenderer */
@@ -1,7 +1,7 @@
<?php declare(strict_types=1);
namespace yii\mustache\helpers;

use PHPUnit\Framework\{TestCase};
use PHPUnit\Framework\TestCase;
use function PHPUnit\Framework\{assertThat, equalTo, logicalOr};

/** @testdox yii\mustache\helpers\Format */
@@ -1,8 +1,8 @@
<?php declare(strict_types=1);
namespace yii\mustache\helpers;

use PHPUnit\Framework\{TestCase};
use yii\web\{View};
use PHPUnit\Framework\TestCase;
use yii\web\View;
use function PHPUnit\Framework\{assertThat, equalTo, isNull};

/** @testdox yii\mustache\helpers\Html */
@@ -1,7 +1,7 @@
<?php declare(strict_types=1);
namespace yii\mustache\helpers;

use PHPUnit\Framework\{TestCase};
use PHPUnit\Framework\TestCase;
use function PHPUnit\Framework\{assertThat, equalTo};

/** @testdox yii\mustache\helpers\I18N */
@@ -1,5 +1,5 @@
<?php declare(strict_types=1);
use yii\console\{Application};
use yii\console\Application;

// Set the environment.
define("YII_DEBUG", true);

0 comments on commit ed3b097

Please sign in to comment.