Skip to content

Commit

Permalink
coding standards
Browse files Browse the repository at this point in the history
  • Loading branch information
steverhoades committed Apr 2, 2015
1 parent 286769b commit d292e82
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Model/ModuleModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ public function createModule($module, ModulePathSpec $pathSpec)
$renderer = new PhpRenderer();
$renderer->setResolver($resolver);

if($pathSpec->getPathSpec() === 'psr-0') {
if ($pathSpec->getPathSpec() === 'psr-0') {
$view->setTemplate('module/skeleton');
$moduleRelClassPath = "$moduleSourceRelativePath/Module.php";

Expand Down
4 changes: 2 additions & 2 deletions test/Model/RpcServiceModelTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ public function testCreateControllerRpcPSR4()
);

$serviceName = 'Bar';
$moduleSrcPath = sprintf('%s/TestAsset/module/%s/src', __DIR__, $this->module);
$moduleSrcPath = sprintf('%s/TestAsset/module/%s/src', __DIR__, $this->module);
if (!is_dir($moduleSrcPath)) {
mkdir($moduleSrcPath, 0775, true);
}
Expand Down Expand Up @@ -638,7 +638,7 @@ public function testDeleteServiceRecursivePSR4()
$filepath = $servicePath . "/". $serviceName . "Controller.php";

/** deleteService calls class_exists. ensure that it's loaded in case the autoloader doesn't pick it up */
if(file_exists($filepath)) {
if (file_exists($filepath)) {
require_once $filepath;
}

Expand Down

0 comments on commit d292e82

Please sign in to comment.