Skip to content

Commit 1cb3e37

Browse files
committed
Use our modernized ci setup
By using this modernized setup we will be able to focus more on functionality not just on maintaining.
1 parent d79b29b commit 1cb3e37

13 files changed

+4342
-423
lines changed

.github/workflows/integrate.yaml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# https://docs.github.com/en/actions
2+
3+
name: "Integrate"
4+
5+
on: # yamllint disable-line rule:truthy
6+
push:
7+
branches:
8+
- 5.x
9+
pull_request:
10+
# Allow manually triggering the workflow.
11+
workflow_dispatch:
12+
13+
jobs:
14+
code-coverage:
15+
name: "Code Coverage"
16+
uses: "phpDocumentor/.github/.github/workflows/[email protected]"
17+
18+
coding-standards:
19+
name: "Coding Standards"
20+
uses: "phpDocumentor/.github/.github/workflows/[email protected]"
21+
22+
dependency-analysis:
23+
name: "Dependency analysis"
24+
uses: "phpDocumentor/.github/.github/workflows/[email protected]"
25+
26+
lint-root:
27+
name: "Lint root"
28+
uses: "phpDocumentor/.github/.github/workflows/lint.yml@main"
29+
with:
30+
composer-options: "--no-check-publish --ansi"
31+
32+
static-analysis:
33+
name: "Static analysis"
34+
uses: "phpDocumentor/.github/.github/workflows/[email protected]"
35+
36+
unit-tests:
37+
name: "Unit test"
38+
uses: "phpDocumentor/.github/.github/workflows/[email protected]"
39+
40+
funtional-tests:
41+
name: "Functional test"
42+
uses: "phpDocumentor/.github/.github/workflows/[email protected]"
43+
needs: "unit-tests"
44+
with:
45+
test-suite: "functional"

.github/workflows/push.yml

Lines changed: 0 additions & 218 deletions
This file was deleted.

.scrutinizer.yml

Lines changed: 0 additions & 48 deletions
This file was deleted.

.yamllint.yaml

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
extends: "default"
2+
3+
ignore: |
4+
.build/
5+
.notes/
6+
vendor/
7+
rules:
8+
braces:
9+
max-spaces-inside-empty: 0
10+
max-spaces-inside: 1
11+
min-spaces-inside-empty: 0
12+
min-spaces-inside: 1
13+
brackets:
14+
max-spaces-inside-empty: 0
15+
max-spaces-inside: 0
16+
min-spaces-inside-empty: 0
17+
min-spaces-inside: 0
18+
colons:
19+
max-spaces-after: 1
20+
max-spaces-before: 0
21+
commas:
22+
max-spaces-after: 1
23+
max-spaces-before: 0
24+
min-spaces-after: 1
25+
comments:
26+
ignore-shebangs: true
27+
min-spaces-from-content: 1
28+
require-starting-space: true
29+
comments-indentation: "enable"
30+
document-end:
31+
present: false
32+
document-start:
33+
present: false
34+
indentation:
35+
check-multi-line-strings: false
36+
indent-sequences: true
37+
spaces: 2
38+
empty-lines:
39+
max-end: 0
40+
max-start: 0
41+
max: 1
42+
empty-values:
43+
forbid-in-block-mappings: true
44+
forbid-in-flow-mappings: true
45+
hyphens:
46+
max-spaces-after: 2
47+
key-duplicates: "enable"
48+
key-ordering: "disable"
49+
line-length: "disable"
50+
new-line-at-end-of-file: "enable"
51+
new-lines:
52+
type: "unix"
53+
octal-values:
54+
forbid-implicit-octal: true
55+
quoted-strings:
56+
quote-type: "double"
57+
trailing-spaces: "enable"
58+
truthy:
59+
allowed-values:
60+
- "false"
61+
- "true"
62+
63+
yaml-files:
64+
- "*.yaml"
65+
- "*.yml"

0 commit comments

Comments
 (0)