Move to src-php to make room for Go

This commit is contained in:
Tristan 2023-12-03 21:00:03 +01:00
parent 49a526bce2
commit d8d3821113
Signed by: trizz
SSH Key Fingerprint: SHA256:Xsd2dTN+ZC3OZWfvuKIDMQ/1lWicuINSEPgRQw/CJT8
14 changed files with 5 additions and 5 deletions

View File

@ -2,7 +2,7 @@
<?php <?php
$finder = PhpCsFixer\Finder::create() $finder = PhpCsFixer\Finder::create()
->in(__DIR__.'/src/'); ->in(__DIR__.'/src-php/');
$config = new PhpCsFixer\Config(); $config = new PhpCsFixer\Config();

2
aoc
View File

@ -11,7 +11,7 @@ use trizz\AdventOfCode\Commands\TestDay;
(new CollisionProvider())->register(); (new CollisionProvider())->register();
require_once __DIR__.'/src/bootstrap.php'; require_once __DIR__.'/src-php/bootstrap.php';
$application = new Application('Advent of Code by trizz'); $application = new Application('Advent of Code by trizz');

View File

@ -30,7 +30,7 @@
}, },
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"trizz\\AdventOfCode\\": "src/" "trizz\\AdventOfCode\\": "src-php/"
} }
}, },
"autoload-dev": { "autoload-dev": {

View File

@ -1,7 +1,7 @@
parameters: parameters:
level: 8 level: 8
paths: paths:
- src - src-php
- data - data
includes: includes:

View File

@ -9,7 +9,7 @@ use Rector\Set\ValueObject\SetList;
return static function (RectorConfig $rectorConfig): void { return static function (RectorConfig $rectorConfig): void {
$rectorConfig->paths( $rectorConfig->paths(
[ [
__DIR__.'/src', __DIR__.'/src-php',
__DIR__.'/data', __DIR__.'/data',
] ]
); );