mirror of
https://github.com/sitelease/sugar-cube-client.git
synced 2025-10-29 19:12:30 +01:00
Added the project settings
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
# Gitea for PHP
|
||||
     
|
||||
|
||||
Gitea client library, in [PHP](https://secure.php.net).
|
||||
[Gitea](https://gitea.io) client library, in [PHP](https://secure.php.net).
|
||||
|
||||
## Resources
|
||||
- [Documentation](https://github.com/sab-international/gitea.php/wiki)
|
||||
|
||||
50
composer.json
Normal file
50
composer.json
Normal file
@ -0,0 +1,50 @@
|
||||
{
|
||||
"description": "Gitea client library.",
|
||||
"homepage": "https://github.com/sab-international/gitea.php",
|
||||
"license": "MIT",
|
||||
"name": "sab-international/gitea",
|
||||
"type": "library",
|
||||
"authors": [{
|
||||
"email": "contact@sabcomputer.com",
|
||||
"name": "SAB International"
|
||||
}],
|
||||
"autoload": {
|
||||
"psr-4": {"Gitea\\": "lib/"}
|
||||
},
|
||||
"autoload-dev": {
|
||||
"files": ["vendor/phpunit/phpunit/src/Framework/Assert/Functions.php"],
|
||||
"psr-4": {"Gitea\\": "test/"}
|
||||
},
|
||||
"config": {
|
||||
"optimize-autoloader": true
|
||||
},
|
||||
"keywords": [
|
||||
"api",
|
||||
"client",
|
||||
"git",
|
||||
"gitea",
|
||||
"scm",
|
||||
"vcs"
|
||||
],
|
||||
"require": {
|
||||
"php": ">=7.2.0",
|
||||
"ext-curl": "*",
|
||||
"cedx/enum": "^7.3.0",
|
||||
"guzzlehttp/guzzle": "^6.3.3"
|
||||
},
|
||||
"require-dev": {
|
||||
"cedx/coveralls": "^9.0.1",
|
||||
"consolidation/robo": "^1.3.1",
|
||||
"henrikbjorn/lurker": "^1.2.0",
|
||||
"phpstan/phpstan": "^0.10.5",
|
||||
"phpunit/phpunit": "^7.4.3"
|
||||
},
|
||||
"scripts": {
|
||||
"coverage": "robo coverage",
|
||||
"test": "robo test"
|
||||
},
|
||||
"support": {
|
||||
"docs": "https://github.com/sab-international/gitea.php/wiki",
|
||||
"issues": "https://github.com/sab-international/gitea.php/issues"
|
||||
}
|
||||
}
|
||||
18
phpdoc.xml
Normal file
18
phpdoc.xml
Normal file
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0"?>
|
||||
<phpdoc>
|
||||
<title>Gitea for PHP</title>
|
||||
|
||||
<parser>
|
||||
<target>var</target>
|
||||
</parser>
|
||||
<transformer>
|
||||
<target>doc/api</target>
|
||||
</transformer>
|
||||
<transformations>
|
||||
<template name="responsive"/>
|
||||
</transformations>
|
||||
|
||||
<files>
|
||||
<directory>lib</directory>
|
||||
</files>
|
||||
</phpdoc>
|
||||
3
phpstan.neon
Normal file
3
phpstan.neon
Normal file
@ -0,0 +1,3 @@
|
||||
parameters:
|
||||
level: max
|
||||
paths: [lib, test]
|
||||
18
phpunit.xml
Normal file
18
phpunit.xml
Normal file
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0"?>
|
||||
<phpunit bootstrap="vendor/autoload.php" cacheResult="false">
|
||||
<filter>
|
||||
<whitelist processUncoveredFilesFromWhitelist="true">
|
||||
<directory suffix=".php">lib</directory>
|
||||
</whitelist>
|
||||
</filter>
|
||||
|
||||
<logging>
|
||||
<log type="coverage-clover" target="var/coverage.xml"/>
|
||||
</logging>
|
||||
|
||||
<testsuites>
|
||||
<testsuite name="all">
|
||||
<directory>test</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
</phpunit>
|
||||
Reference in New Issue
Block a user