Skip to content

Commit

Permalink
Move code in a src folder
Browse files Browse the repository at this point in the history
  • Loading branch information
odolbeau committed Jun 11, 2024
1 parent ea23f85 commit e3eb40c
Show file tree
Hide file tree
Showing 46 changed files with 4 additions and 18 deletions.
3 changes: 1 addition & 2 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@
])
->setFinder(
PhpCsFixer\Finder::create()
->in(__DIR__)
->exclude('vendor')
->in([__DIR__.'/src', __DIR__.'/tests'])
->name('*.php')
)
->setCacheFile(__DIR__.'/.php_cs.cache')
Expand Down
7 changes: 2 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,10 @@
"monolog/monolog": "^3.0"
},
"autoload": {
"psr-4": { "Ekino\\NewRelicBundle\\": "" },
"exclude-from-classmap": [
"/Tests/"
]
"psr-4": { "Ekino\\NewRelicBundle\\": "src/" }
},
"autoload-dev": {
"psr-4": { "Ekino\\NewRelicBundle\\Tests\\": "Tests/" }
"psr-4": { "Ekino\\NewRelicBundle\\Tests\\": "tests/" }
},
"extra": {
"branch-alias": {
Expand Down
12 changes: 1 addition & 11 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,9 @@
bootstrap="vendor/autoload.php"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
>
<coverage>
<include>
<directory>./</directory>
</include>
<exclude>
<directory>./Tests/</directory>
<directory>./Resources/</directory>
<directory>./vendor/</directory>
</exclude>
</coverage>
<testsuites>
<testsuite name="Ekino New Relic Test Suite">
<directory>./Tests</directory>
<directory>./tests</directory>
</testsuite>
</testsuites>
</phpunit>
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.
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 e3eb40c

Please sign in to comment.