mirror of
https://github.com/sitelease/sugar-cube-client.git
synced 2025-10-31 20:12:29 +01:00
Renamed the 'lib' folder to 'src'
This commit is contained in:
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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"],
|
||||||
|
|||||||
@ -13,6 +13,6 @@
|
|||||||
</transformations>
|
</transformations>
|
||||||
|
|
||||||
<files>
|
<files>
|
||||||
<directory>lib</directory>
|
<directory>src</directory>
|
||||||
</files>
|
</files>
|
||||||
</phpdoc>
|
</phpdoc>
|
||||||
|
|||||||
@ -1,3 +1,3 @@
|
|||||||
parameters:
|
parameters:
|
||||||
level: max
|
level: max
|
||||||
paths: [lib]
|
paths: [src]
|
||||||
|
|||||||
@ -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>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user