Skip to content

Commit

Permalink
move /app to /src
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Sep 8, 2024
1 parent 233aefd commit a529e51
Show file tree
Hide file tree
Showing 26 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@
},
"autoload": {
"psr-4": {
"App\\": "app"
"App\\": "src"
},
"files": [
"app/functions.php"
"src/functions.php"
]
},
"autoload-dev": {
Expand Down
2 changes: 1 addition & 1 deletion ecs.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use Symplify\EasyCodingStandard\Config\ECSConfig;

return ECSConfig::configure()
->withPaths([__DIR__ . '/config', __DIR__ . '/app', __DIR__ . '/tests'])
->withPaths([__DIR__ . '/config', __DIR__ . '/src', __DIR__ . '/tests'])
->withRootFiles()
->withPreparedSets(psr12: true, common: true, strict: true)
->withRules([LineLengthFixer::class]);
2 changes: 1 addition & 1 deletion rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use Rector\TypeDeclaration\Rector\StmtsAwareInterface\DeclareStrictTypesRector;

return RectorConfig::configure()
->withPaths([__DIR__ . '/app', __DIR__ . '/bootstrap/app.php', __DIR__ . '/config', __DIR__ . '/tests'])
->withPaths([__DIR__ . '/src', __DIR__ . '/bootstrap/app.php', __DIR__ . '/config', __DIR__ . '/tests'])
->withImportNames(removeUnusedImports: true)
->withRules([DeclareStrictTypesRector::class])
->withPreparedSets(
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit a529e51

Please sign in to comment.