Updates
This commit is contained in:
Generated
+15
@@ -0,0 +1,15 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="GitToolBoxProjectSettings">
|
||||||
|
<option name="commitMessageIssueKeyValidationOverride">
|
||||||
|
<BoolValueOverride>
|
||||||
|
<option name="enabled" value="true" />
|
||||||
|
</BoolValueOverride>
|
||||||
|
</option>
|
||||||
|
<option name="commitMessageValidationEnabledOverride">
|
||||||
|
<BoolValueOverride>
|
||||||
|
<option name="enabled" value="true" />
|
||||||
|
</BoolValueOverride>
|
||||||
|
</option>
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
Generated
+1
-1
@@ -10,7 +10,7 @@
|
|||||||
<option name="highlightLevel" value="WARNING" />
|
<option name="highlightLevel" value="WARNING" />
|
||||||
<option name="transferred" value="true" />
|
<option name="transferred" value="true" />
|
||||||
</component>
|
</component>
|
||||||
<component name="PhpProjectSharedConfiguration" php_language_level="8.0">
|
<component name="PhpProjectSharedConfiguration" php_language_level="7.3">
|
||||||
<option name="suggestChangeDefaultLanguageLevel" value="false" />
|
<option name="suggestChangeDefaultLanguageLevel" value="false" />
|
||||||
</component>
|
</component>
|
||||||
<component name="PhpStanOptionsConfiguration">
|
<component name="PhpStanOptionsConfiguration">
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ class SupportMakeCommand extends GeneratorCommand
|
|||||||
{
|
{
|
||||||
$module = $this->laravel['modules']->findOrFail($this->getModuleName());
|
$module = $this->laravel['modules']->findOrFail($this->getModuleName());
|
||||||
|
|
||||||
return (new Stub('/moduleinfo.stub', [
|
return (new Stub('/Moduleinfo.stub', [
|
||||||
'NAMESPACE' => $this->getClassNamespace($module),
|
'NAMESPACE' => $this->getClassNamespace($module),
|
||||||
'MODULE' => $this->getModuleName(),
|
'MODULE' => $this->getModuleName(),
|
||||||
]))->render();
|
]))->render();
|
||||||
@@ -59,7 +59,7 @@ class SupportMakeCommand extends GeneratorCommand
|
|||||||
$pathName = Str::studly($this->option('support'));
|
$pathName = Str::studly($this->option('support'));
|
||||||
|
|
||||||
if (Str::contains(strtolower($pathName), 'support') === false) {
|
if (Str::contains(strtolower($pathName), 'support') === false) {
|
||||||
$pathName .= 'moduleInfo';
|
$pathName .= 'ModuleInfo';
|
||||||
}
|
}
|
||||||
|
|
||||||
return $pathName;
|
return $pathName;
|
||||||
@@ -76,7 +76,7 @@ class SupportMakeCommand extends GeneratorCommand
|
|||||||
|
|
||||||
protected function getFileName()
|
protected function getFileName()
|
||||||
{
|
{
|
||||||
return 'moduleInfo';
|
return 'ModuleInfo';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
namespace $NAMESPACE$;
|
namespace $NAMESPACE$;
|
||||||
|
|
||||||
class moduleInfo
|
class ModuleInfo
|
||||||
{
|
{
|
||||||
protected static string $moduleName = '$MODULE$';
|
protected static string $moduleName = '$MODULE$';
|
||||||
|
|
||||||
Reference in New Issue
Block a user