Skip to content

Commit

Permalink
CHG: Remove src/foundation from this repository and put in another se…
Browse files Browse the repository at this point in the history
…perate repo
  • Loading branch information
gravataLonga committed Apr 22, 2022
1 parent cb78545 commit bb2c1e1
Show file tree
Hide file tree
Showing 18 changed files with 68 additions and 983 deletions.
5 changes: 3 additions & 2 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<?php

declare(strict_types=1);

$finder = PhpCsFixer\Finder::create()
->in(__DIR__ . '/src')
->in(__DIR__ . '/domain')
->in(__DIR__ . '/config')
->in(__DIR__ . '/resource/databases')
Expand All @@ -16,4 +17,4 @@
])
->setFinder($finder)
->setRiskyAllowed(true)
;
;
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@
"vlucas/phpdotenv": "^5.4",
"monolog/monolog": "^2.5",
"doctrine/migrations": "^3.5",
"friendsofphp/php-cs-fixer": "^3.8"
"friendsofphp/php-cs-fixer": "^3.8",
"gravatalonga/king-foundation": "^1.0"
},
"require-dev": {
"phpunit/phpunit": "9.5"
},
"license": "MIT",
"autoload": {
"psr-4": {
"Gravatalonga\\Web\\": "src/",
"Domain\\": "domain/",
"Databases\\Migrations\\": "resource/databases"
}
Expand Down
12 changes: 6 additions & 6 deletions config/providers.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

declare(strict_types=1);

use Gravatalonga\Web\Foundation\CommandBusServiceProvider;
use Gravatalonga\Web\Foundation\DatabaseServiceProvider;
use Gravatalonga\Web\Foundation\LogServiceProvider;
use Gravatalonga\Web\Foundation\SlimServiceProvider;
use Gravatalonga\Web\Foundation\TwigServiceProvider;
use Gravatalonga\KingFoundation\CommandBusServiceProvider;
use Gravatalonga\KingFoundation\DatabaseServiceProvider;
use Gravatalonga\KingFoundation\LogServiceProvider;
use Gravatalonga\KingFoundation\SlimServiceProvider;
use Gravatalonga\KingFoundation\TwigServiceProvider;

return [

Expand All @@ -18,4 +18,4 @@
new DatabaseServiceProvider(),
new CommandBusServiceProvider(),
new TwigServiceProvider()
];
];
2 changes: 1 addition & 1 deletion public/index.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

use Gravatalonga\Framework\ValueObject\Path;
use Gravatalonga\Web\Foundation\Kernel;
use Gravatalonga\KingFoundation\Kernel;
use Middlewares\Whoops;

require_once "../vendor/autoload.php";
Expand Down
160 changes: 0 additions & 160 deletions src/Foundation/CallableResolver.php

This file was deleted.

43 changes: 0 additions & 43 deletions src/Foundation/CommandBusServiceProvider.php

This file was deleted.

34 changes: 0 additions & 34 deletions src/Foundation/DatabaseServiceProvider.php

This file was deleted.

30 changes: 0 additions & 30 deletions src/Foundation/DotEnvServiceProvider.php

This file was deleted.

Loading

0 comments on commit bb2c1e1

Please sign in to comment.