Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #375 from andres-montanez/nostromo
v3.2
- Loading branch information
Showing
30 changed files
with
686 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,6 @@ | |
*/ | ||
class Mage | ||
{ | ||
const VERSION = '3.1.0'; | ||
const VERSION = '3.x-dev'; | ||
const CODENAME = 'Nostromo'; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<?php | ||
/* | ||
* This file is part of the Magallanes package. | ||
* | ||
* (c) Andrés Montañez <andres@andresmontanez.com> | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
namespace Mage\Task\BuiltIn\Composer; | ||
|
||
use Mage\Task\AbstractTask; | ||
|
||
/** | ||
* Abstract Composer Task | ||
* | ||
* @author Andrés Montañez <andresmontanez@gmail.com> | ||
*/ | ||
abstract class AbstractComposerTask extends AbstractTask | ||
{ | ||
protected function getOptions() | ||
{ | ||
$options = array_merge( | ||
['path' => 'composer'], | ||
$this->getComposerOptions(), | ||
$this->runtime->getMergedOption('composer'), | ||
$this->options | ||
); | ||
|
||
return $options; | ||
} | ||
|
||
protected function getComposerOptions() | ||
{ | ||
return []; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<?php | ||
/* | ||
* This file is part of the Magallanes package. | ||
* | ||
* (c) Andrés Montañez <andres@andresmontanez.com> | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
namespace Mage\Task\BuiltIn\Symfony; | ||
|
||
use Mage\Task\AbstractTask; | ||
|
||
/** | ||
* Abstract Symfony Task | ||
* | ||
* @author Andrés Montañez <andresmontanez@gmail.com> | ||
*/ | ||
abstract class AbstractSymfonyTask extends AbstractTask | ||
{ | ||
protected function getOptions() | ||
{ | ||
$options = array_merge( | ||
['console' => 'bin/console', 'env' => 'dev', 'flags' => ''], | ||
$this->getSymfonyOptions(), | ||
$this->runtime->getMergedOption('symfony'), | ||
$this->options | ||
); | ||
|
||
return $options; | ||
} | ||
|
||
protected function getSymfonyOptions() | ||
{ | ||
return []; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.