Skip to content

Commit

Permalink
Merge pull request #189 from pheeque1/fix/upgrade-dependencies
Browse files Browse the repository at this point in the history
Upgrade dependencies
  • Loading branch information
pheeque1 authored Oct 15, 2024
2 parents 9dd86a6 + 2887940 commit baae717
Show file tree
Hide file tree
Showing 15 changed files with 21 additions and 27 deletions.
9 changes: 5 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
"deployment"
],
"support": {
"email": "info@fortrabbit.com",
"docs": "https://github.com/fortrabbit/craft-copy/blob/master/README.md",
"source": "https://github.com/fortrabbit/craft-copy",
"issues": "https://github.com/fortrabbit/craft-copy/issues"
},
"license": "MIT",
Expand All @@ -24,13 +26,13 @@
"php": "^8.0.2",
"albertofem/rsync-lib": "^1.0.0",
"composer/composer": "^2.7",
"craftcms/cms": "^5.0.0",
"craftcms/cms": "^4.6 | ^5.0",
"craftcms/plugin-installer": "^1.5.6",
"fortrabbit/craft-auto-migrate": "^2.5.0",
"gitonomy/gitlib": "^1.3",
"ostark/yii2-artisan-bridge": "^1.4.0",
"fortrabbit/yii2-artisan-bridge": "^1.5.1",
"symfony/process": "^5.0 | ^6.0",
"symfony/yaml": "^4.2 | ^5.0",
"symfony/yaml": "^4.2 | ^5.0 | ^6.0",
"vlucas/phpdotenv": "^3.4.0 | ^5.4"
},
"require-dev": {
Expand All @@ -56,7 +58,6 @@
"bin/craft-copy-import-db.php",
"bin/craft-copy-env.php"
],

"config": {
"allow-plugins": {
"yiisoft/yii2-composer": true,
Expand Down
2 changes: 1 addition & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ parameters:

ignoreErrors:
- '#Constant CRAFT_BASE_PATH not found#'
- '#Call to an undefined method ostark\\Yii2ArtisanBridge\\ConsoleOutput::setInteractive\(\).#'
- '#Call to an undefined method fortrabbit\\Yii2ArtisanBridge\\ConsoleOutput::setInteractive\(\).#'
4 changes: 1 addition & 3 deletions src/Actions/CodeUpAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,12 @@
namespace fortrabbit\Copy\Actions;

use Composer\Factory;
use Craft;
use craft\helpers\App;
use craft\helpers\FileHelper;
use Exception;
use fortrabbit\Copy\Exceptions\GitException;
use fortrabbit\Copy\Services\Git;
use fortrabbit\Copy\Services\LocalFilesystem;
use ostark\Yii2ArtisanBridge\base\Commands;
use fortrabbit\Yii2ArtisanBridge\base\Commands;
use Throwable;
use yii\console\ExitCode;

Expand Down
3 changes: 1 addition & 2 deletions src/Actions/DbExportAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@

namespace fortrabbit\Copy\Actions;

use Craft;
use craft\errors\ShellCommandException;
use fortrabbit\Copy\Helpers\MysqlConfigFile;
use fortrabbit\Copy\Plugin;
use ostark\Yii2ArtisanBridge\base\Action;
use fortrabbit\Yii2ArtisanBridge\base\Action;
use yii\base\Exception;
use yii\console\ExitCode;

Expand Down
2 changes: 1 addition & 1 deletion src/Actions/DbImportAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use craft\helpers\FileHelper;
use fortrabbit\Copy\Helpers\MysqlConfigFile;
use fortrabbit\Copy\Plugin;
use ostark\Yii2ArtisanBridge\base\Action;
use fortrabbit\Yii2ArtisanBridge\base\Action;
use yii\base\Exception;
use yii\console\ExitCode;

Expand Down
3 changes: 0 additions & 3 deletions src/Actions/NitroDebugAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,9 @@

namespace fortrabbit\Copy\Actions;

use Craft;
use fortrabbit\Copy\Exceptions\RemoteException;
use fortrabbit\Copy\Helpers\ConsoleOutputHelper;
use fortrabbit\Copy\Plugin;
use ostark\Yii2ArtisanBridge\base\Action;
use Symfony\Component\Process\Process;
use yii\console\ExitCode;

class NitroDebugAction extends StageAwareBaseAction
Expand Down
2 changes: 1 addition & 1 deletion src/Actions/NitroSetupAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

use Craft;
use fortrabbit\Copy\Helpers\ConsoleOutputHelper;
use ostark\Yii2ArtisanBridge\base\Action;
use fortrabbit\Yii2ArtisanBridge\base\Action;
use yii\console\ExitCode;

class NitroSetupAction extends Action
Expand Down
2 changes: 1 addition & 1 deletion src/Actions/SetupAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use fortrabbit\Copy\Helpers\PathHelper;
use fortrabbit\Copy\Models\StageConfig;
use fortrabbit\Copy\Plugin;
use ostark\Yii2ArtisanBridge\base\Action;
use fortrabbit\Yii2ArtisanBridge\base\Action;
use Symfony\Component\Process\Process;
use yii\console\ExitCode;
use yii\helpers\Inflector;
Expand Down
4 changes: 2 additions & 2 deletions src/Actions/StageAwareBaseAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
use fortrabbit\Copy\Models\StageConfig;
use fortrabbit\Copy\Plugin;
use InvalidArgumentException;
use ostark\Yii2ArtisanBridge\base\Action;
use ostark\Yii2ArtisanBridge\base\Commands;
use fortrabbit\Yii2ArtisanBridge\base\Action;
use fortrabbit\Yii2ArtisanBridge\base\Commands;
use ReflectionClass;
use Yii;
use yii\base\ActionEvent;
Expand Down
2 changes: 1 addition & 1 deletion src/Actions/VolumesDownAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use fortrabbit\Copy\Helpers\ConsoleOutputHelper;
use fortrabbit\Copy\Helpers\PathHelper;
use fortrabbit\Copy\Services\LocalFilesystem;
use ostark\Yii2ArtisanBridge\base\Commands;
use fortrabbit\Yii2ArtisanBridge\base\Commands;
use yii\console\ExitCode;

class VolumesDownAction extends StageAwareBaseAction
Expand Down
2 changes: 1 addition & 1 deletion src/Actions/VolumesUpAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use fortrabbit\Copy\Helpers\ConsoleOutputHelper;
use fortrabbit\Copy\Helpers\PathHelper;
use fortrabbit\Copy\Services\LocalFilesystem;
use ostark\Yii2ArtisanBridge\base\Commands;
use fortrabbit\Yii2ArtisanBridge\base\Commands;
use yii\console\ExitCode;

class VolumesUpAction extends StageAwareBaseAction
Expand Down
2 changes: 1 addition & 1 deletion src/EventHandlers/CommandOutputFormatHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class CommandOutputFormatHandler
{
public function __invoke(ActionEvent $event): void
{
/** @var \ostark\Yii2ArtisanBridge\base\Action $action */
/** @var \fortrabbit\Yii2ArtisanBridge\base\Action $action */
$action = $event->action;

$style = new OutputFormatterStyle('blue');
Expand Down
2 changes: 1 addition & 1 deletion src/Helpers/ArtisanStyleCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace fortrabbit\Copy\Helpers;

use ostark\Yii2ArtisanBridge\base\Commands;
use fortrabbit\Yii2ArtisanBridge\base\Commands;

/**
* Class ArtisanStyleCommands
Expand Down
2 changes: 1 addition & 1 deletion src/Helpers/ConsoleOutputHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace fortrabbit\Copy\Helpers;

use ostark\Yii2ArtisanBridge\OutputStyle;
use fortrabbit\Yii2ArtisanBridge\OutputStyle;
use Symfony\Component\Console\Helper\ProgressBar;
use Symfony\Component\Console\Helper\TableSeparator;

Expand Down
7 changes: 3 additions & 4 deletions src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
use fortrabbit\Copy\Actions\DbUpAction;
use fortrabbit\Copy\Actions\FolderDownAction;
use fortrabbit\Copy\Actions\FolderUpAction;
use fortrabbit\Copy\Actions\InfoAction;
use fortrabbit\Copy\Actions\NitroSetupAction;
use fortrabbit\Copy\Actions\NitroDebugAction;
use fortrabbit\Copy\Actions\SetupAction;
Expand All @@ -30,9 +29,9 @@
use fortrabbit\Copy\Services\Rsync as RsyncService;
use fortrabbit\Copy\Services\Ssh as SshService;
use fortrabbit\Copy\Services\StageConfigAccess;
use ostark\Yii2ArtisanBridge\ActionGroup;
use ostark\Yii2ArtisanBridge\base\Commands;
use ostark\Yii2ArtisanBridge\Bridge;
use fortrabbit\Yii2ArtisanBridge\ActionGroup;
use fortrabbit\Yii2ArtisanBridge\base\Commands;
use fortrabbit\Yii2ArtisanBridge\Bridge;
use yii\base\Event;
use yii\console\Application as ConsoleApplication;

Expand Down

0 comments on commit baae717

Please sign in to comment.