Skip to content

Commit

Permalink
Fixed exception driven by the updstream. (#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSkrypnyk authored Aug 7, 2024
1 parent 6cfa0cd commit 1423c7c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"require": {
"php": ">=8.2",
"czproject/git-php": "^4.2",
"czproject/git-php": "^4.3",
"monolog/monolog": "^3.5",
"symfony/console": "^7",
"symfony/filesystem": "^7",
Expand Down
4 changes: 0 additions & 4 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@
use Rector\CodeQuality\Rector\ClassMethod\InlineArrayReturnAssignRector;
use Rector\CodeQuality\Rector\Empty_\SimplifyEmptyCheckOnEmptyArrayRector;
use Rector\CodingStyle\Rector\ClassMethod\NewlineBeforeNewAssignSetRector;
use Rector\CodingStyle\Rector\FuncCall\ArraySpreadInsteadOfArrayMergeRector;
use Rector\CodingStyle\Rector\FuncCall\CountArrayToEmptyArrayComparisonRector;
use Rector\CodingStyle\Rector\PostInc\PostIncDecToPreIncDecRector;
use Rector\CodingStyle\Rector\Stmt\NewlineAfterStatementRector;
use Rector\Config\RectorConfig;
use Rector\DeadCode\Rector\If_\RemoveAlwaysTrueIfConditionRector;
Expand All @@ -41,13 +39,11 @@

$rectorConfig->skip([
// Rules added by Rector's rule sets.
ArraySpreadInsteadOfArrayMergeRector::class,
CountArrayToEmptyArrayComparisonRector::class,
DisallowedEmptyRuleFixerRector::class,
InlineArrayReturnAssignRector::class,
NewlineAfterStatementRector::class,
NewlineBeforeNewAssignSetRector::class,
PostIncDecToPreIncDecRector::class,
RemoveAlwaysTrueIfConditionRector::class,
SimplifyEmptyCheckOnEmptyArrayRector::class,
// Dependencies.
Expand Down
2 changes: 1 addition & 1 deletion src/Git/ArtifactGitRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ public function isRemoteExists(string $remoteName): bool {
*
* @throws \CzProject\GitPhp\GitException
*/
protected function run(...$args): RunnerResult {
public function run(...$args): RunnerResult {
$command = array_shift($args);
array_unshift($args, '--no-pager', $command);

Expand Down

0 comments on commit 1423c7c

Please sign in to comment.