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