Skip to content

Commit

Permalink
Merge pull request #91 from php-tuf/dependabot/composer/all-fec34ab360
Browse files Browse the repository at this point in the history
Bump the all group with 9 updates
  • Loading branch information
TravisCarden authored Apr 15, 2024
2 parents e222f30 + c15f404 commit fd07a10
Show file tree
Hide file tree
Showing 8 changed files with 115 additions and 140 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,8 @@ jobs:
os: [ ubuntu-latest, macos-latest, windows-latest ]
php: [ "8.1" ]
steps:
- name: "Debugging info"
run: "rsync --version | head -1"
if: ${{ matrix.os != 'windows-latest' }}
- name: "Install rsync"
uses: GuillaumeFalourd/[email protected] # https://github.com/marketplace/actions/setup-rsync

- name: "Set up PHP"
uses: shivammathur/setup-php@v2 # https://github.com/marketplace/actions/setup-php-action
Expand Down
14 changes: 0 additions & 14 deletions .idea/php-test-framework.xml

This file was deleted.

217 changes: 109 additions & 108 deletions composer.lock

Large diffs are not rendered by default.

9 changes: 0 additions & 9 deletions config/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,5 @@ services:
- '../vendor/php-tuf/composer-stager/src/*/*/Value'
- '../vendor/php-tuf/composer-stager/src/API/Exception'

PhpTuf\ComposerStager\API\FileSyncer\Service\FileSyncerInterface:
factory: [ '@PhpTuf\ComposerStager\Internal\FileSyncer\Factory\FileSyncerFactory', 'create' ]
PhpTuf\ComposerStager\Internal\FileSyncer\Factory\FileSyncerFactory:
arguments:
$phpFileSyncer: '@PhpTuf\ComposerStager\Internal\FileSyncer\Service\PhpFileSyncer'
$rsyncFileSyncer: '@PhpTuf\ComposerStager\Internal\FileSyncer\Service\RsyncFileSyncer'
PhpTuf\ComposerStager\Internal\FileSyncer\Service\PhpFileSyncer: ~
PhpTuf\ComposerStager\Internal\FileSyncer\Service\RsyncFileSyncer: ~

Symfony\Component\Filesystem\Filesystem: ~
Symfony\Component\Process\ExecutableFinder: ~
4 changes: 1 addition & 3 deletions tests/PHPUnit/Console/Command/BeginCommandUnitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
use PhpTuf\ComposerStager\API\Core\BeginnerInterface;
use PhpTuf\ComposerStager\API\Exception\InvalidArgumentException;
use PhpTuf\ComposerStager\API\Exception\RuntimeException;
use PhpTuf\ComposerStager\API\Path\Factory\PathFactoryInterface;
use PhpTuf\ComposerStager\Internal\Path\Factory\PathFactory;
use PhpTuf\ComposerStagerConsole\Console\Application;
use PhpTuf\ComposerStagerConsole\Console\Command\AbstractCommand;
Expand Down Expand Up @@ -36,15 +35,14 @@ protected function setUp(): void
$this->beginner = $this->prophesize(BeginnerInterface::class);
$this->beginner
->begin(Argument::cetera());
$this->pathFactory = $this->prophesize(PathFactoryInterface::class);

parent::setUp();
}

protected function createSut(): Command
{
$beginner = $this->beginner->reveal();
$pathFactory = new PathFactory();
$pathFactory = $this->container()->get(PathFactory::class);

return new BeginCommand($beginner, $pathFactory);
}
Expand Down
2 changes: 1 addition & 1 deletion tests/PHPUnit/Console/Command/CleanCommandUnitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ protected function setUp(): void
protected function createSut(): Command
{
$cleaner = $this->cleaner->reveal();
$pathFactory = new PathFactory();
$pathFactory = $this->container()->get(PathFactory::class);

return new CleanCommand($cleaner, $pathFactory);
}
Expand Down
2 changes: 1 addition & 1 deletion tests/PHPUnit/Console/Command/CommitCommandUnitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ protected function setUp(): void
protected function createSut(): Command
{
$committer = $this->committer->reveal();
$pathFactory = new PathFactory();
$pathFactory = $this->container()->get(PathFactory::class);

return new CommitCommand($committer, $pathFactory);
}
Expand Down
2 changes: 1 addition & 1 deletion tests/PHPUnit/Console/Command/StageCommandUnitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ protected function setUp(): void

protected function createSut(): Command
{
$pathFactory = new PathFactory();
$pathFactory = $this->container()->get(PathFactory::class);
$stager = $this->stager->reveal();

return new StageCommand($pathFactory, $stager);
Expand Down

0 comments on commit fd07a10

Please sign in to comment.