Skip to content

Commit 823d23c

Browse files
committed
feat: initial repository commit
0 parents  commit 823d23c

20 files changed

+525
-0
lines changed

.editorconfig

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
insert_final_newline = true
7+
indent_style = space
8+
indent_size = 4
9+
trim_trailing_whitespace = true
10+
11+
[*.md]
12+
trim_trailing_whitespace = false
13+
14+
[*.{yml,yaml}]
15+
indent_size = 2
16+
17+
[Makefile]
18+
indent_style = tab

.github/FUNDING.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
3+
github: wayofdev
4+
5+
...

.github/ISSUE_TEMPLATE.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#### Steps required to reproduce the problem
2+
3+
1.
4+
2.
5+
3.
6+
7+
#### Expected Result
8+
9+
*
10+
11+
#### Actual Result
12+
13+
*

.github/dependabot.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
3+
version: 2
4+
updates:
5+
- package-ecosystem: "github-actions"
6+
directory: "/"
7+
schedule:
8+
interval: "daily"
9+
commit-message:
10+
include: "scope"
11+
prefix: "github-actions"
12+
labels:
13+
- "deps"
14+
open-pull-requests-limit: 10
15+
16+
- package-ecosystem: "composer"
17+
directory: "/"
18+
schedule:
19+
interval: "daily"
20+
commit-message:
21+
include: "scope"
22+
prefix: "composer"
23+
labels:
24+
- "deps"
25+
open-pull-requests-limit: 10
26+
versioning-strategy: "increase"
27+
28+
...

.github/workflows/ci.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
3+
name: ci
4+
5+
on: # yamllint disable-line rule:truthy
6+
push:
7+
branches:
8+
- master
9+
pull_request:
10+
branches:
11+
- master
12+
13+
jobs:
14+
job_one:
15+
name: job_one
16+
17+
...
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
3+
# https://github.com/google-github-actions/release-please-action#release-types-supported
4+
5+
on: # yamllint disable-line rule:truthy
6+
push:
7+
branches:
8+
- master
9+
10+
name: release-please
11+
12+
jobs:
13+
release-please:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: google-github-actions/release-please-action@v3
17+
id: release
18+
with:
19+
token: ${{ secrets.GITHUB_TOKEN }}
20+
release-type: node
21+
package-name: php-package-tpl
22+
default-branch: master
23+
changelog-types: |
24+
[
25+
{ "type": "feat", "section": "Features", "hidden": false },
26+
{ "type": "fix", "section": "Bug Fixes", "hidden": false },
27+
{ "type": "perf", "section": "Performance Improvements", "hidden": false },
28+
{ "type": "docs", "section": "Documentation", "hidden": false },
29+
{ "type": "chore", "section": "Miscellaneous", "hidden": false },
30+
{ "type": "style", "section": "Styles", "hidden": true },
31+
{ "type": "revert", "section": "Reverts", "hidden": true },
32+
{ "type": "deps", "section": "Dependencies", "hidden": true },
33+
{ "type": "refactor", "section": "Code Refactoring", "hidden": true },
34+
{ "type": "test", "section": "Tests", "hidden": true },
35+
{ "type": "build", "section": "Build System", "hidden": true },
36+
{ "type": "ci", "section": "Continuous Integration", "hidden": true }
37+
]
38+
39+
...

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/vendor/
2+
/.build/

.php-cs-fixer.dist.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+

.pre-commit-config.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
3+
repos:
4+
- repo: https://github.com/pre-commit/pre-commit-hooks
5+
rev: v4.3.0
6+
hooks:
7+
- id: trailing-whitespace
8+
- id: end-of-file-fixer
9+
- id: check-added-large-files
10+
- id: fix-encoding-pragma
11+
12+
- repo: https://github.com/commitizen-tools/commitizen
13+
rev: v2.27.1
14+
hooks:
15+
- id: commitizen
16+
stages:
17+
- commit-msg
18+
19+
...

.yamllint.yaml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
---
2+
3+
extends: "default"
4+
5+
ignore: |
6+
.build/
7+
vendor/
8+
9+
# Overwrite above default rules
10+
rules:
11+
braces:
12+
# Defaults
13+
# min-spaces-inside: 0
14+
# max-spaces-inside: 0
15+
16+
# Keep 0 min-spaces to not error on empty {} collection definitions
17+
min-spaces-inside: 0
18+
19+
# Allow one space inside braces to improve code readability
20+
max-spaces-inside: 1
21+
22+
brackets:
23+
# Defaults
24+
# min-spaces-inside: 0
25+
# max-spaces-inside: 0
26+
27+
# Keep 0 min-spaces to not error on empty [] collection definitions
28+
min-spaces-inside: 0
29+
30+
# Allow one space inside braces to improve code readability
31+
max-spaces-inside: 1
32+
33+
colons:
34+
# Defaults
35+
# min-spaces-before: 0
36+
# max-spaces-after: 1
37+
38+
# Allow multiple spaces after a colon to allow indentation of YAML
39+
# dictionary values
40+
max-spaces-after: -1
41+
42+
commas:
43+
# Defaults
44+
# max-spaces-after: 1
45+
46+
# Allow multiple spaces after a comma to allow indentation of YAML
47+
# dictionary values
48+
max-spaces-after: -1
49+
50+
comments:
51+
require-starting-space: true
52+
min-spaces-from-content: 1
53+
54+
yaml-files:
55+
- "*.yaml"
56+
- "*.yml"
57+
58+
...

0 commit comments

Comments
 (0)