Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Version 1.2.7 #36

Merged
merged 4 commits into from
Sep 2, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Commands/ClonePackage.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public function gitClone()
*/
public function srcIsRemote()
{
return str_contains($this->getSrcInput(), 'https');
return str_contains($this->getSrcInput(), ['https', 'git@']);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/Package/stubs/base-test.stub
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace DummyNamespace;
namespace DummyNamespace\Tests;

use Orchestra\Testbench\TestCase as Orchestra;

Expand Down
2 changes: 1 addition & 1 deletion src/Commands/Package/stubs/composer.stub
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"autoload-dev": {
"psr-4": {
"DummyComposerNamespaceTest\\": "tests"
"DummyComposerNamespaceTests\\": "tests"
}
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/Package/stubs/phpunit.stub
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
stopOnFailure="false">

<testsuites>
<testsuite name="DummyVendorName/DummyPackageName Test Suite">
<testsuite name="DummyVendor/DummyPackageName Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
Expand Down