Renamed the 'lib' folder to 'src'

This commit is contained in:
Cédric Belin
2019-04-02 11:23:19 +02:00
parent a524382b55
commit 3a33d37d48
17 changed files with 5 additions and 5 deletions

View File

@ -94,7 +94,7 @@ class RoboFile extends Tasks {
*/
function watch(): void {
$this->taskWatch()
->monitor(['lib', 'test'], function() { $this->test(); })
->monitor(['src', 'test'], function() { $this->test(); })
->run();
}
}

View File

@ -9,7 +9,7 @@
{"email": "cedric@belin.io", "name": "Cédric Belin", "homepage": "https://belin.io"}
],
"autoload": {
"psr-4": {"Gitea\\": "lib/"}
"psr-4": {"Gitea\\": "src/"}
},
"autoload-dev": {
"files": ["vendor/phpunit/phpunit/src/Framework/Assert/Functions.php"],

View File

@ -13,6 +13,6 @@
</transformations>
<files>
<directory>lib</directory>
<directory>src</directory>
</files>
</phpdoc>

View File

@ -1,3 +1,3 @@
parameters:
level: max
paths: [lib]
paths: [src]

View File

@ -2,7 +2,7 @@
<phpunit bootstrap="vendor/autoload.php" cacheResult="false">
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">lib</directory>
<directory suffix=".php">src</directory>
</whitelist>
</filter>