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 { function watch(): void {
$this->taskWatch() $this->taskWatch()
->monitor(['lib', 'test'], function() { $this->test(); }) ->monitor(['src', 'test'], function() { $this->test(); })
->run(); ->run();
} }
} }

View File

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

View File

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

View File

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

View File

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