Skip to content
This repository has been archived by the owner on Jul 23, 2023. It is now read-only.

Commit

Permalink
Update namespace and url for organisation
Browse files Browse the repository at this point in the history
  • Loading branch information
theseer committed Apr 16, 2017
1 parent 3954226 commit 0abd4de
Show file tree
Hide file tree
Showing 19 changed files with 42 additions and 41 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
##Templado CLI
## Templado CLI

CLI Wrapper for [Templado](https://github.com/theseer/templado).
CLI Wrapper for [Templado](https://github.com/templado/engine).

Templado CLI
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name" : "theseer/templado-cli",
"name" : "templado/cli",
"description" : "CLI tools for Templado",
"license" : "BSD-3-Clause",
"authors" : [
Expand All @@ -10,12 +10,12 @@
}
],
"support" : {
"issues" : "https://github.com/theseer/templado-cli/issues"
"issues" : "https://github.com/templado/cli/issues"
},
"require" : {
"php" : "^7.0",
"ext-dom" : "*",
"theseer/templado": "^1.0"
"templado/engine": "^1.0"
},
"autoload": {
"classmap": [
Expand Down
2 changes: 1 addition & 1 deletion src/Directory.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php declare(strict_types = 1);
namespace TheSeer\Templado\Cli;
namespace Templado\Cli;

use RecursiveDirectoryIterator;
use RecursiveIteratorIterator;
Expand Down
2 changes: 1 addition & 1 deletion src/DirectoryException.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php declare(strict_types = 1);
namespace TheSeer\Templado\Cli;
namespace Templado\Cli;

class DirectoryException extends Exception {

Expand Down
2 changes: 1 addition & 1 deletion src/Exception.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php declare(strict_types = 1);
namespace TheSeer\Templado\Cli;
namespace Templado\Cli;

class Exception extends \Exception {
}
2 changes: 1 addition & 1 deletion src/Factory.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php declare(strict_types = 1);
namespace TheSeer\Templado\Cli;
namespace Templado\Cli;

class Factory {
/**
Expand Down
12 changes: 6 additions & 6 deletions src/Generator.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?php declare(strict_types = 1);
namespace TheSeer\Templado\Cli;
namespace Templado\Cli;

use TheSeer\Templado\AssetListCollection;
use TheSeer\Templado\AssetLoader;
use TheSeer\Templado\AssetLoaderException;
use TheSeer\Templado\FileName;
use TheSeer\Templado\Templado;
use Templado\Engine\AssetListCollection;
use Templado\Engine\AssetLoader;
use Templado\Engine\AssetLoaderException;
use Templado\Engine\FileName;
use Templado\Engine\Templado;

class Generator {

Expand Down
2 changes: 1 addition & 1 deletion src/GeneratorConfig.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php declare(strict_types = 1);
namespace TheSeer\Templado\Cli;
namespace Templado\Cli;

class GeneratorConfig {

Expand Down
2 changes: 1 addition & 1 deletion src/Request.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php declare(strict_types = 1);
namespace TheSeer\Templado\Cli;
namespace Templado\Cli;

class Request {

Expand Down
2 changes: 1 addition & 1 deletion src/RequestException.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php declare(strict_types = 1);
namespace TheSeer\Templado\Cli;
namespace Templado\Cli;

class RequestException extends Exception {

Expand Down
2 changes: 1 addition & 1 deletion src/Runner.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php declare(strict_types = 1);
namespace TheSeer\Templado\Cli;
namespace Templado\Cli;

class Runner {

Expand Down
30 changes: 15 additions & 15 deletions src/autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,21 @@ function($class) {
static $classes = null;
if ($classes === null) {
$classes = array(
'theseer\\templado\\cli\\directory' => '/Directory.php',
'theseer\\templado\\cli\\directoryexception' => '/DirectoryException.php',
'theseer\\templado\\cli\\exception' => '/Exception.php',
'theseer\\templado\\cli\\factory' => '/Factory.php',
'theseer\\templado\\cli\\generator' => '/Generator.php',
'theseer\\templado\\cli\\generatorconfig' => '/GeneratorConfig.php',
'theseer\\templado\\cli\\gitversion' => '/version/GitVersion.php',
'theseer\\templado\\cli\\logger' => '/logger/Logger.php',
'theseer\\templado\\cli\\request' => '/Request.php',
'theseer\\templado\\cli\\requestexception' => '/RequestException.php',
'theseer\\templado\\cli\\runner' => '/Runner.php',
'theseer\\templado\\cli\\silentlogger' => '/logger/SilentLogger.php',
'theseer\\templado\\cli\\staticversion' => '/version/StaticVersion.php',
'theseer\\templado\\cli\\verboselogger' => '/logger/VerboseLogger.php',
'theseer\\templado\\cli\\version' => '/version/Version.php'
'templado\\cli\\directory' => '/Directory.php',
'templado\\cli\\directoryexception' => '/DirectoryException.php',
'templado\\cli\\exception' => '/Exception.php',
'templado\\cli\\factory' => '/Factory.php',
'templado\\cli\\generator' => '/Generator.php',
'templado\\cli\\generatorconfig' => '/GeneratorConfig.php',
'templado\\cli\\gitversion' => '/version/GitVersion.php',
'templado\\cli\\logger' => '/logger/Logger.php',
'templado\\cli\\request' => '/Request.php',
'templado\\cli\\requestexception' => '/RequestException.php',
'templado\\cli\\runner' => '/Runner.php',
'templado\\cli\\silentlogger' => '/logger/SilentLogger.php',
'templado\\cli\\staticversion' => '/version/StaticVersion.php',
'templado\\cli\\verboselogger' => '/logger/VerboseLogger.php',
'templado\\cli\\version' => '/version/Version.php'
);
}
$cn = strtolower($class);
Expand Down
2 changes: 1 addition & 1 deletion src/logger/Logger.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php declare(strict_types = 1);
namespace TheSeer\Templado\Cli;
namespace Templado\Cli;

interface Logger {

Expand Down
2 changes: 1 addition & 1 deletion src/logger/SilentLogger.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php declare(strict_types = 1);
namespace TheSeer\Templado\Cli;
namespace Templado\Cli;

class SilentLogger implements Logger {

Expand Down
2 changes: 1 addition & 1 deletion src/logger/VerboseLogger.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php declare(strict_types = 1);
namespace TheSeer\Templado\Cli;
namespace Templado\Cli;

class VerboseLogger implements Logger {

Expand Down
2 changes: 1 addition & 1 deletion src/version/GitVersion.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php declare(strict_types = 1);
namespace TheSeer\Templado\Cli;
namespace Templado\Cli;

class GitVersion implements Version {

Expand Down
2 changes: 1 addition & 1 deletion src/version/StaticVersion.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php declare(strict_types = 1);
namespace TheSeer\Templado\Cli;
namespace Templado\Cli;

class StaticVersion implements Version {

Expand Down
2 changes: 1 addition & 1 deletion src/version/Version.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php declare(strict_types = 1);
namespace TheSeer\Templado\Cli;
namespace Templado\Cli;

interface Version {
public function asString(): string;
Expand Down
2 changes: 1 addition & 1 deletion templado
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*
*/
namespace TheSeer\Templado\Cli;
namespace Templado\Cli;

if (!defined('HHVM_VERSION') && (version_compare(phpversion(), '7.0', 'lt'))) {
fwrite(
Expand Down

0 comments on commit 0abd4de

Please sign in to comment.