Skip to content

Commit

Permalink
Merge branch 'release/2.0.0-rc5'
Browse files Browse the repository at this point in the history
  • Loading branch information
TravisCarden committed Jul 17, 2024
2 parents 37037eb + c1bf198 commit 9c5aef2
Show file tree
Hide file tree
Showing 50 changed files with 235 additions and 3,375 deletions.
332 changes: 167 additions & 165 deletions composer.lock

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions infection.json5.dist
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
"source": {
"directories": [
"src"
],
"excludes": [
"Internal/SymfonyProcess"
]
},
"timeout": 30,
Expand Down
3 changes: 0 additions & 3 deletions phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,4 @@
<rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint"><exclude-pattern>tests</exclude-pattern></rule>
<rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingNativeTypeHint"><exclude-pattern>tests</exclude-pattern></rule>

<!-- Exclude temporary Symfony Process fork. -->
<exclude-pattern>src/Internal/SymfonyProcess</exclude-pattern>

</ruleset>
3 changes: 0 additions & 3 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ parameters:
- config/services.yml
- docs/services.yml
- src
excludePaths:
# Exclude temporary Symfony Process fork.
- src/Internal/SymfonyProcess
treatPhpDocTypesAsCertain: false
preconditionSystemHash: 8dfddc6171adcfe004a0bfaea2545f8e
translationSystemHash: dec82389af17442fa61cc1fcc6f89c3e
Expand Down
5 changes: 0 additions & 5 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,6 @@
<directory suffix=".php">src</directory>
</include>

<!-- Exclude temporary Symfony Process fork. -->
<exclude>
<directory>src/Internal/SymfonyProcess</directory>
</exclude>

<report>
<clover outputFile="var/phpunit/clover.xml"/>
<html outputDirectory="var/phpunit/html-coverage"/>
Expand Down
3 changes: 0 additions & 3 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@
]);

$rectorConfig->skip([
// Exclude temporary Symfony Process fork.
0 => __DIR__ . '/src/Internal/SymfonyProcess',

CatchExceptionNameMatchingTypeRector::class => [__DIR__],
EncapsedStringsToSprintfRector::class => [__DIR__],
LocallyCalledStaticMethodToNonStaticRector::class => [__DIR__],
Expand Down
2 changes: 1 addition & 1 deletion src/Internal/Finder/Service/ExecutableFinder.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
use PhpTuf\ComposerStager\API\Exception\LogicException;
use PhpTuf\ComposerStager\API\Finder\Service\ExecutableFinderInterface;
use PhpTuf\ComposerStager\API\Translation\Factory\TranslatableFactoryInterface;
use PhpTuf\ComposerStager\Internal\SymfonyProcess\Service\ExecutableFinder as SymfonyExecutableFinder;
use PhpTuf\ComposerStager\Internal\Translation\Factory\TranslatableAwareTrait;
use Symfony\Component\Process\ExecutableFinder as SymfonyExecutableFinder;

/**
* @package Finder
Expand Down
4 changes: 2 additions & 2 deletions src/Internal/Process/Factory/SymfonyProcessFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
use PhpTuf\ComposerStager\API\Exception\LogicException;
use PhpTuf\ComposerStager\API\Path\Value\PathInterface;
use PhpTuf\ComposerStager\API\Translation\Factory\TranslatableFactoryInterface;
use PhpTuf\ComposerStager\Internal\SymfonyProcess\Value\Exception\ExceptionInterface as SymfonyExceptionInterface;
use PhpTuf\ComposerStager\Internal\SymfonyProcess\Value\Process as SymfonyProcess;
use PhpTuf\ComposerStager\Internal\Translation\Factory\TranslatableAwareTrait;
use Symfony\Component\Process\Exception\ExceptionInterface as SymfonyExceptionInterface;
use Symfony\Component\Process\Process as SymfonyProcess;

/**
* @package Process
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace PhpTuf\ComposerStager\Internal\Process\Factory;

use PhpTuf\ComposerStager\API\Path\Value\PathInterface;
use PhpTuf\ComposerStager\Internal\SymfonyProcess\Value\Process as SymfonyProcess;
use Symfony\Component\Process\Process as SymfonyProcess;

/**
* Creates Symfony Process objects.
Expand Down Expand Up @@ -46,7 +46,7 @@ interface SymfonyProcessFactoryInterface
* @throws \PhpTuf\ComposerStager\API\Exception\LogicException
* If the process cannot be created due to host configuration.
*
* @see \PhpTuf\ComposerStager\Internal\SymfonyProcess\Value\Process::__construct
* @see \Symfony\Component\Process\Process::__construct
*/
public function create(array $command, ?PathInterface $cwd = null, array $env = []): SymfonyProcess;
}
2 changes: 1 addition & 1 deletion src/Internal/Process/Service/OutputCallbackAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use PhpTuf\ComposerStager\API\Process\Service\OutputCallbackInterface;
use PhpTuf\ComposerStager\API\Process\Value\OutputTypeEnum;
use PhpTuf\ComposerStager\Internal\SymfonyProcess\Value\Process as SymfonyProcess;
use Symfony\Component\Process\Process as SymfonyProcess;

/**
* @package Process
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
*/
interface OutputCallbackAdapterInterface
{
/** @see \PhpTuf\ComposerStager\Internal\SymfonyProcess\Value\Process::readPipes */
/** @see \Symfony\Component\Process\Process::readPipes */
public function __invoke(string $type, string $buffer): void;
}
2 changes: 1 addition & 1 deletion src/Internal/Process/Service/Process.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
use PhpTuf\ComposerStager\API\Process\Service\ProcessInterface;
use PhpTuf\ComposerStager\API\Translation\Factory\TranslatableFactoryInterface;
use PhpTuf\ComposerStager\Internal\Process\Factory\SymfonyProcessFactoryInterface;
use PhpTuf\ComposerStager\Internal\SymfonyProcess\Value\Process as SymfonyProcess;
use PhpTuf\ComposerStager\Internal\Translation\Factory\TranslatableAwareTrait;
use Symfony\Component\Process\Process as SymfonyProcess;
use Throwable;

/**
Expand Down
19 changes: 0 additions & 19 deletions src/Internal/SymfonyProcess/LICENSE

This file was deleted.

6 changes: 0 additions & 6 deletions src/Internal/SymfonyProcess/README.md

This file was deleted.

82 changes: 0 additions & 82 deletions src/Internal/SymfonyProcess/Service/ExecutableFinder.php

This file was deleted.

21 changes: 0 additions & 21 deletions src/Internal/SymfonyProcess/Value/Exception/ExceptionInterface.php

This file was deleted.

This file was deleted.

21 changes: 0 additions & 21 deletions src/Internal/SymfonyProcess/Value/Exception/LogicException.php

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 9c5aef2

Please sign in to comment.