Skip to content

Commit e4779d1

Browse files
committed
Add github files
1 parent 9e482b8 commit e4779d1

11 files changed

+193
-0
lines changed

.gitattributes

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/.github export-ignore
2+
tests/ export-ignore
3+
tools/ export-ignore
4+
tools/* binary
5+
/.gitattributes export-ignore
6+
/.gitignore export-ignore
7+
/phpunit.xml export-ignore
8+
/.phive/phars.xml export-ignore
9+
/.phive/phars.xml export-ignore
10+
/.php_cs.dist export-ignore

.github/FUNDING.yml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
github: [veewee]

.github/ISSUE_TEMPLATE/Bug.md

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
name: 🐞 Bug Report
3+
about: Something is broken? 🔨
4+
---
5+
6+
### Bug Report
7+
8+
<!-- Fill in the relevant information below to help triage your issue. -->
9+
10+
| Q | A
11+
|------------ | ------
12+
| BC Break | yes/no
13+
| Version | x.y.z
14+
15+
#### Summary
16+
17+
<!-- Provide a summary describing the problem you are experiencing. -->
18+
19+
#### Current behaviour
20+
21+
<!-- What is the current (buggy) behaviour? -->
22+
23+
#### How to reproduce
24+
25+
<!--
26+
Provide steps to reproduce the bug.
27+
If possible, also add a code snippet with relevant configuration, driver/platform information, SQL queries, etc.
28+
Adding a failing Unit or Functional Test would help us a lot - you can submit one in a Pull Request separately, referencing this bug report.
29+
-->
30+
31+
#### Expected behaviour
32+
33+
<!-- What was the expected (correct) behaviour? -->
34+
+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
name: 🎉 Feature Request
3+
about: You have a neat idea that should be implemented? 🎩
4+
---
5+
6+
### Feature Request
7+
8+
<!-- Fill in the relevant information below to help triage your issue. -->
9+
10+
| Q | A
11+
|------------ | ------
12+
| New Feature | yes
13+
| RFC | yes/no
14+
| BC Break | yes/no
15+
16+
#### Summary
17+
18+
<!-- Provide a summary of the feature you would like to see implemented. -->
+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
name: ❓ Support Question
3+
about: Have a problem that you can't figure out? 🤔
4+
---
5+
6+
<!-- Fill in the relevant information below to help triage your issue. -->
7+
8+
| Q | A
9+
|------------ | -----
10+
| Version | x.y.z
11+
12+
13+
### Support Question
14+
15+
<!-- Describe the issue you are facing here. -->

.github/PULL_REQUEST_TEMPLATE.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!-- Fill in the relevant information below to help triage your pull request. -->
2+
3+
| Q | A
4+
|------------- | -----------
5+
| Type | bug/feature/improvement
6+
| BC Break | yes/no
7+
| Fixed issues | <!-- use #NUM format to reference an issue -->
8+
9+
#### Summary
10+
11+
<!-- Provide a summary of your change. -->

.github/dependabot.yml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: composer
4+
directory: "/"
5+
schedule:
6+
interval: daily
7+
time: "04:00"
8+
open-pull-requests-limit: 10

.github/workflows/analyzers.yaml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Analyzers
2+
3+
on: [push, pull_request]
4+
jobs:
5+
run:
6+
runs-on: ${{ matrix.operating-system }}
7+
strategy:
8+
matrix:
9+
operating-system: [ubuntu-latest]
10+
php-versions: ['8.0']
11+
fail-fast: false
12+
name: PHP ${{ matrix.php-versions }} @ ${{ matrix.operating-system }}
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@master
16+
- name: Install PHP
17+
uses: shivammathur/setup-php@master
18+
with:
19+
php-version: ${{ matrix.php-versions }}
20+
tools: 'composer:v2'
21+
extensions: pcov, mbstring, posix, dom, soap
22+
- name: Install dependencies
23+
run: composer update --prefer-dist --no-progress --no-suggest ${{ matrix.composer-options }}
24+
- name: Run the tests
25+
run: ./tools/psalm.phar

.github/workflows/code-style.yaml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: CodeStyle
2+
3+
on: [push, pull_request]
4+
jobs:
5+
run:
6+
runs-on: ${{ matrix.operating-system }}
7+
strategy:
8+
matrix:
9+
operating-system: [ubuntu-latest]
10+
php-versions: ['8.0']
11+
fail-fast: false
12+
name: PHP ${{ matrix.php-versions }} @ ${{ matrix.operating-system }}
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@master
16+
- name: Install PHP
17+
uses: shivammathur/setup-php@master
18+
with:
19+
php-version: ${{ matrix.php-versions }}
20+
tools: 'composer:v2'
21+
extensions: pcov, mbstring, posix, dom, soap
22+
- name: Install dependencies
23+
run: composer update --prefer-dist --no-progress --no-suggest ${{ matrix.composer-options }}
24+
- name: Run the tests
25+
run: ./tools/php-cs-fixer.phar fix --dry-run

.github/workflows/tests.yaml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Tests
2+
3+
on: [push, pull_request]
4+
jobs:
5+
run:
6+
runs-on: ${{ matrix.operating-system }}
7+
strategy:
8+
matrix:
9+
operating-system: [ubuntu-latest]
10+
php-versions: ['8.0']
11+
fail-fast: false
12+
name: PHP ${{ matrix.php-versions }} @ ${{ matrix.operating-system }}
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@master
16+
- name: Install PHP
17+
uses: shivammathur/setup-php@master
18+
with:
19+
php-version: ${{ matrix.php-versions }}
20+
tools: 'composer:v2'
21+
extensions: pcov, mbstring, posix, dom, soap
22+
- name: Install dependencies
23+
run: composer update --prefer-dist --no-progress --no-suggest
24+
- name: Run the tests
25+
run: ./vendor/bin/phpunit

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2021-MAX_INT php-soap
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

0 commit comments

Comments
 (0)