Skip to content

Commit 227c7f7

Browse files
committed
Add Qase TestOps API V1 client
1 parent 787abba commit 227c7f7

File tree

479 files changed

+140343
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

479 files changed

+140343
-1
lines changed

.github/workflows/php.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: CI - PHP Build & Tests
2+
3+
on:
4+
push:
5+
pull_request:
6+
branches:
7+
- 'main'
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
strategy:
14+
matrix:
15+
php-version: [8.0, 8.1, 8.2, 8.3, 8.4]
16+
17+
steps:
18+
- name: Checkout repository
19+
uses: actions/checkout@v4
20+
21+
- name: Set up PHP
22+
uses: shivammathur/setup-php@v2
23+
with:
24+
php-version: ${{ matrix.php-version }}
25+
extensions: mbstring, intl
26+
tools: composer:v2
27+
28+
- name: Install dependencies
29+
run: composer install --prefer-dist --no-progress --no-suggest
30+
31+
- name: Run tests
32+
run: vendor/bin/phpunit

.gitignore

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
### JetBrains template
2+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
3+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
4+
5+
.idea/**
6+
7+
# CMake
8+
cmake-build-*/
9+
10+
# Mongo Explorer plugin
11+
.idea/**/mongoSettings.xml
12+
13+
# File-based project format
14+
*.iws
15+
16+
# IntelliJ
17+
out/
18+
19+
# mpeltonen/sbt-idea plugin
20+
.idea_modules/
21+
22+
# JIRA plugin
23+
atlassian-ide-plugin.xml
24+
25+
# Cursive Clojure plugin
26+
.idea/replstate.xml
27+
28+
# SonarLint plugin
29+
.idea/sonarlint/
30+
31+
# Crashlytics plugin (for Android Studio and IntelliJ)
32+
com_crashlytics_export_strings.xml
33+
crashlytics.properties
34+
crashlytics-build.properties
35+
fabric.properties
36+
37+
# Editor-based Rest Client
38+
.idea/httpRequests
39+
40+
# Android studio 3.1+ serialized cache file
41+
.idea/caches/build_file_checksums.ser
42+
43+
### PHPUnit template
44+
# Covers PHPUnit
45+
# Reference: https://phpunit.de/
46+
47+
# Generated files
48+
.phpunit.result.cache
49+
.phpunit.cache
50+
51+
# PHPUnit
52+
/app/phpunit.xml
53+
/phpunit.xml
54+
55+
# Build data
56+
/build/
57+
**/vendor/
58+
59+
.DS_Store

README.md

Lines changed: 286 additions & 1 deletion
Large diffs are not rendered by default.

composer.json

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
{
2+
"name": "qase/qase-api-client",
3+
"description": "Qase TestOps API V1 client for PHP",
4+
"homepage": "https://developers.qase.io",
5+
"license": "Apache-2.0",
6+
"type": "library",
7+
"keywords": [
8+
"qase",
9+
"tms",
10+
"api",
11+
"client",
12+
"php"
13+
],
14+
"authors": [
15+
{
16+
"name": "Qase Team",
17+
"email": "[email protected]"
18+
}
19+
],
20+
"require": {
21+
"php": "^8.0",
22+
"ext-curl": "*",
23+
"ext-json": "*",
24+
"ext-mbstring": "*",
25+
"guzzlehttp/guzzle": "^7.3",
26+
"guzzlehttp/psr7": "^2.1.1"
27+
},
28+
"require-dev": {
29+
"phpunit/phpunit": "^9"
30+
},
31+
"autoload": {
32+
"psr-4": {
33+
"Qase\\APIClientV1\\": "src/"
34+
}
35+
},
36+
"autoload-dev": {
37+
"psr-4": {
38+
"Tests\\": "test/"
39+
}
40+
},
41+
"version": "1.0.0",
42+
"scripts": {
43+
"test": "phpunit"
44+
},
45+
"config": {
46+
"platform": {
47+
"php": "8.0"
48+
},
49+
"allow-plugins": {
50+
"composer/package-versions-deprecated": true,
51+
"dealerdirect/phpcodesniffer-composer-installer": true
52+
},
53+
"optimize-autoloader": true,
54+
"preferred-install": {
55+
"*": "dist"
56+
},
57+
"sort-packages": true
58+
}
59+
}

0 commit comments

Comments
 (0)