From 3783a9dea08f8051b1e9d1f847367dee6d819240 Mon Sep 17 00:00:00 2001 From: Dmitry Khomutov Date: Fri, 9 Mar 2018 18:15:38 +0700 Subject: [PATCH] Code style fixes (' '
  • - + getCommitterEmail()): ?>
    - +

    - getProject()->getTitle(); ?> + getProject()->getTitle(); ?> getStatus() == \PHPCensor\Model\Build::STATUS_PENDING): ?> getCreateDate()->format('H:i')); ?> @@ -27,4 +27,4 @@ use PHPCensor\Model\Build;

    getBranch()); ?>

    -
  • \ No newline at end of file + diff --git a/src/View/Build/view.phtml b/src/View/Build/view.phtml index da5f627a..edf57525 100644 --- a/src/View/Build/view.phtml +++ b/src/View/Build/view.phtml @@ -72,7 +72,7 @@ use PHPCensor\Model\BuildError; $branches = $build->getExtra('branches'); if (!empty($branches)) { foreach($branches as $branch) { - ?> - getCommitId(), 0, 7); ?> + getCommitId(), 0, 7); ?> @@ -113,14 +113,14 @@ use PHPCensor\Model\BuildError; - getCommitterEmail(); ?> + getCommitterEmail(); ?> - getCommitMessage(); ?> + getCommitMessage(); ?> @@ -175,26 +175,26 @@ use PHPCensor\Model\BuildError; @@ -38,7 +38,7 @@

    - +
    diff --git a/src/View/Session.phtml b/src/View/Session.phtml index 411c2958..ab7a5672 100644 --- a/src/View/Session.phtml +++ b/src/View/Session.phtml @@ -7,23 +7,23 @@ - - + +
    - +
    - - + + diff --git a/src/View/Session/forgotPassword.phtml b/src/View/Session/forgotPassword.phtml index 75e14508..b4303623 100644 --- a/src/View/Session/forgotPassword.phtml +++ b/src/View/Session/forgotPassword.phtml @@ -10,11 +10,11 @@
    - +
    -
    +
    diff --git a/src/View/Session/login.phtml b/src/View/Session/login.phtml index 4ff7451d..625ed519 100644 --- a/src/View/Session/login.phtml +++ b/src/View/Session/login.phtml @@ -2,8 +2,8 @@

    - + - + diff --git a/src/View/Session/resetPassword.phtml b/src/View/Session/resetPassword.phtml index ee693789..363c98be 100644 --- a/src/View/Session/resetPassword.phtml +++ b/src/View/Session/resetPassword.phtml @@ -5,7 +5,7 @@
    - +
    @@ -18,6 +18,6 @@
    - +
    diff --git a/src/View/User/edit.phtml b/src/View/User/edit.phtml index 96234e36..13e16c1a 100644 --- a/src/View/User/edit.phtml +++ b/src/View/User/edit.phtml @@ -2,7 +2,7 @@
    - +
    diff --git a/src/View/User/index.phtml b/src/View/User/index.phtml index 0c113a0e..17e6469a 100644 --- a/src/View/User/index.phtml +++ b/src/View/User/index.phtml @@ -7,7 +7,7 @@ $user = $this->getUser(); ?>
    - +
    @@ -40,19 +40,19 @@ $user = $this->getUser(); break; } ?> - - getEmail(); ?> - getName()); ?> - + + getEmail(); ?> + getName()); ?> + getIsAdmin()): ?>
    - +
    diff --git a/src/View/User/profile.phtml b/src/View/User/profile.phtml index a9f92352..b898f75a 100644 --- a/src/View/User/profile.phtml +++ b/src/View/User/profile.phtml @@ -1,4 +1,8 @@ - +

    @@ -8,7 +12,7 @@

    - +
    diff --git a/src/View/WidgetAllProjects/index-projects.phtml b/src/View/WidgetAllProjects/index-projects.phtml index e40264cc..accacb96 100644 --- a/src/View/WidgetAllProjects/index-projects.phtml +++ b/src/View/WidgetAllProjects/index-projects.phtml @@ -102,7 +102,7 @@ foreach($projects as $project):
    - +
    @@ -112,7 +112,7 @@ foreach($projects as $project):
    - (getId()]; ?>) + (getId()]; ?>)
    -

    +

    - +
    diff --git a/src/View/WidgetAllProjects/update.phtml b/src/View/WidgetAllProjects/update.phtml index 096796e8..f5bf9e09 100644 --- a/src/View/WidgetAllProjects/update.phtml +++ b/src/View/WidgetAllProjects/update.phtml @@ -96,12 +96,12 @@ if ($buildCount > 0) {

    - +

    - +
    diff --git a/src/View/WidgetBuildErrors/update.phtml b/src/View/WidgetBuildErrors/update.phtml index 08b4a5eb..79c97b72 100644 --- a/src/View/WidgetBuildErrors/update.phtml +++ b/src/View/WidgetBuildErrors/update.phtml @@ -109,7 +109,7 @@ foreach($builds as $project_id => $project_envs):
    - +
    diff --git a/src/View/WidgetLastBuilds/update.phtml b/src/View/WidgetLastBuilds/update.phtml index 772a2039..bedffa6d 100644 --- a/src/View/WidgetLastBuilds/update.phtml +++ b/src/View/WidgetLastBuilds/update.phtml @@ -58,7 +58,7 @@ use PHPCensor\Model\Build;
  • - +
    getUser(); - <?php print $title; ?><?php print !empty($subtitle) ? ' - ' . $subtitle : ''; ?> + <?= $title; ?><?= (!empty($subtitle) ? ' - ' . $subtitle : ''); ?> - - - - + + + + - - + + - + - - - + + + - - - - + + + + - + - +
    -