Skip to content

Commit

Permalink
constants are PascalCase
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Aug 29, 2023
1 parent 57dcce3 commit ac219c9
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/Latte/Engine.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,13 @@ class Engine
{
use Strict;

public const VERSION = '3.0.8';
public const VERSION_ID = 30008;
public const Version = '3.0.8';
public const VersionId = 30008;

/** @deprecated use Engine::Version */
public const
VERSION = self::Version,
VERSION_ID = self::VersionId;

/** @deprecated use ContentType::* */
public const
Expand Down Expand Up @@ -317,7 +322,7 @@ public function getTemplateClass(string $name): string
{
$key = [
$this->getLoader()->getUniqueId($name),
self::VERSION,
self::Version,
array_keys((array) $this->functions),
$this->contentType,
];
Expand Down

0 comments on commit ac219c9

Please sign in to comment.