Skip to content

Commit 5483485

Browse files
authored
test: Fix kernel path (#321)
1 parent 80c8a0f commit 5483485

File tree

8 files changed

+22
-14
lines changed

8 files changed

+22
-14
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
/composer.lock
88
/dist/
99
/phpunit.xml
10-
/tests/Integration/output
1110
/tests/Integration/App/var/
11+
/tests/Integration/output
1212
/vendor-bin/*/vendor/
1313
/vendor/

.php-cs-fixer.php

+1-4
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,8 @@
1313
use PhpCsFixer\Finder;
1414

1515
$finder = Finder::create()
16+
->files()
1617
->in(__DIR__)
17-
->append([
18-
'.github/fix-symfony-versions',
19-
'set-composer-conflicts.php',
20-
])
2118
->exclude([
2219
'dist',
2320
'tests/Integration/App/var',

bin/console

+9-6
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,20 @@
11
#!/usr/bin/env php
22
<?php
33

4+
/*
5+
* This file is part of the Webmozarts Console Parallelization package.
6+
*
7+
* (c) Webmozarts GmbH <[email protected]>
8+
*
9+
* For the full copyright and license information, please view the LICENSE
10+
* file that was distributed with this source code.
11+
*/
12+
413
declare(strict_types=1);
514

615
require __DIR__.'/../vendor/autoload.php';
716

817
use Symfony\Bundle\FrameworkBundle\Console\Application;
9-
use Symfony\Component\DependencyInjection\Container;
10-
use Webmozarts\Console\Parallelization\Fixtures\Command\AbsoluteScriptPathCommand;
11-
use Webmozarts\Console\Parallelization\Fixtures\Command\ImportMoviesCommand;
12-
use Webmozarts\Console\Parallelization\Fixtures\Command\ImportUnknownMoviesCountCommand;
13-
use Webmozarts\Console\Parallelization\Fixtures\Command\LegacyCommand;
14-
use Webmozarts\Console\Parallelization\Fixtures\Command\NoSubProcessCommand;
1518
use Webmozarts\Console\Parallelization\Integration\App\Kernel;
1619
use function Safe\ini_set;
1720

bin/fix-symfony-versions

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ use function file_get_contents;
1818
use function file_put_contents;
1919
use function json_decode;
2020
use function json_encode;
21-
use function shell_exec;
2221
use const JSON_PRETTY_PRINT;
2322
use const JSON_UNESCAPED_SLASHES;
2423

bin/no-framework

+9
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
#!/usr/bin/env php
22
<?php
33

4+
/*
5+
* This file is part of the Webmozarts Console Parallelization package.
6+
*
7+
* (c) Webmozarts GmbH <[email protected]>
8+
*
9+
* For the full copyright and license information, please view the LICENSE
10+
* file that was distributed with this source code.
11+
*/
12+
413
declare(strict_types=1);
514

615
require __DIR__.'/../vendor/autoload.php';

phpstan-tests.neon.dist

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ parameters:
44
- bin/set-composer-conflicts.php
55
- tests
66
excludePaths:
7-
- tests/Integration/var
7+
- tests/Integration/App/var
88
- tests/Input/FakeInput.php
99
- tests/Input/FakeInput74.php
1010
- tests/Input/FakeInput81.php

rector.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,5 @@
3535
__DIR__.'/tests/Integration/OutputNormalizer.php',
3636
],
3737

38-
__DIR__.'/tests/Integration/var',
38+
__DIR__.'/tests/Integration/App/var',
3939
]);

tests/Integration/App/var/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)