Skip to content

Commit 95f74fa

Browse files
authored
Feature/full compat (#245)
Full compat with FIDO Conformance Test Tool + Symfony UX Component
1 parent edaabb4 commit 95f74fa

File tree

218 files changed

+3115
-2289
lines changed

Some content is hidden

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

218 files changed

+3115
-2289
lines changed

.editorconfig

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# https://EditorConfig.org
2+
3+
root = true
4+
5+
[*]
6+
indent_style = space
7+
# Reduce tab size on GitHub
8+
indent_size = 4
9+
end_of_line = lf
10+
charset = utf-8
11+
trim_trailing_whitespace = true
12+
insert_final_newline = true
13+
block_comment_start = /*
14+
block_comment = *
15+
block_comment_end = */
16+
17+
[{*.yml,*.yaml}]
18+
indent_size = 2
19+
20+
[*.md]
21+
trim_trailing_whitespace = false
22+
23+
[Makefile]
24+
indent_style = tab
25+
26+
# Generated file
27+
[infection.txt]
28+
indent_size = unset
29+
trim_trailing_whitespace = unset

.gitattributes

+12-7
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,20 @@
11
* text=auto
22

33
/.github export-ignore
4-
/doc export-ignore
4+
/tests export-ignore
5+
/.editorconfig export-ignore
56
/.gitattributes export-ignore
67
/.gitignore export-ignore
78
/.gitsplit.yml export-ignore
8-
/.php_cs.dist export-ignore
9-
/.scrutinizer.yml export-ignore
10-
/.travis.yml export-ignore
11-
/infection.json.dist export-ignore
9+
/babel.config.js export-ignore
10+
/CODE_OF_CONDUCT.md export-ignore
11+
/deptrac.yaml export-ignore
12+
/ecs.php export-ignore
13+
/infection.json export-ignore
14+
/jest.config.js export-ignore
15+
/Makefile export-ignore
1216
/phpstan.neon export-ignore
1317
/phpunit.xml.dist export-ignore
14-
/CODE_OF_CONDUCT.md export-ignore
15-
/README.md export-ignore
18+
/rector.php export-ignore
19+
/rollup.config.js export-ignore
20+
/tsconfig.json export-ignore

.github/CONTRIBUTING.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,14 @@ Few rules to ease code reviews and merges:
1111
- You MUST write (or update) unit tests when bugs are fixed or features are added.
1212
- You SHOULD write documentation.
1313

14-
We use [Git-Flow](http://jeffkreeftmeijer.com/2010/why-arent-you-using-git-flow/) to automate our git branching workflow.
14+
We use [Git-Flow](http://jeffkreeftmeijer.com/2010/why-arent-you-using-git-flow/) to automate our git branching
15+
workflow.
1516

16-
To contribute use [Pull Requests](https://help.github.com/articles/using-pull-requests), please, write commit messages that make sense, and rebase your branch before submitting your PR.
17+
To contribute use [Pull Requests](https://help.github.com/articles/using-pull-requests), please, write commit messages
18+
that make sense, and rebase your branch before submitting your PR.
1719

18-
May be asked to squash your commits too. This is used to "clean" your Pull Request before merging it, avoiding commits such as fix tests, fix 2, fix 3, etc.
20+
May be asked to squash your commits too. This is used to "clean" your Pull Request before merging it, avoiding commits
21+
such as fix tests, fix 2, fix 3, etc.
1922

2023
Run test suite
2124
------------
+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: 🐛 Bug Report
2+
description: ⚠️ NEVER report security issues, email security AT spomky-labs.com instead
3+
labels: Bug
4+
5+
body:
6+
- type: input
7+
id: affected-versions
8+
attributes:
9+
label: Version(s) affected
10+
placeholder: x.y.z
11+
validations:
12+
required: true
13+
- type: textarea
14+
id: description
15+
attributes:
16+
label: Description
17+
description: A clear and concise description of the problem
18+
validations:
19+
required: true
20+
- type: textarea
21+
id: how-to-reproduce
22+
attributes:
23+
label: How to reproduce
24+
description: |
25+
⚠️ This is the most important part of the report ⚠️
26+
Without a way to easily reproduce your issue, there is little chance we will be able to help you and work on a fix.
27+
Please, take the time to show us some code and/or config that is needed for others to reproduce the problem easily.
28+
Most of the time, creating a "bug reproducer" is the best way to help us and increases the chances someone
29+
will have a look at it.
30+
validations:
31+
required: true
32+
- type: textarea
33+
id: possible-solution
34+
attributes:
35+
label: Possible Solution
36+
description: |
37+
Optional: only if you have suggestions on a fix/reason for the bug
38+
Don't hesitate to create a pull request with your solution, it helps get faster feedback.
39+
- type: textarea
40+
id: additional-context
41+
attributes:
42+
label: Additional Context
43+
description: "Optional: any other context about the problem: log messages, screenshots, etc."
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: 🚀 Feature Request
2+
description: RFC and ideas for new features and improvements
3+
body:
4+
- type: textarea
5+
id: description
6+
attributes:
7+
label: Description
8+
description: A clear and concise description of the new feature
9+
validations:
10+
required: true
11+
- type: textarea
12+
id: example
13+
attributes:
14+
label: Example
15+
description: |
16+
A simple example of the new feature in action (include PHP code, YAML config, etc.)
17+
If the new feature changes an existing feature, include a simple before/after comparison.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: 📖 Documentation Issue
2+
description: To report typo or obsolete section in the documentation
3+
body:
4+
- type: textarea
5+
id: description
6+
attributes:
7+
label: Description
8+
description: A clear and concise description of the error you found in the documentation
9+
validations:
10+
required: true

.github/ISSUE_TEMPLATE/bug_report.md

-36
This file was deleted.

.github/ISSUE_TEMPLATE/config.yml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Support Question
4+
url: https://spomky-labs.com/contact/
5+
about:|
6+
We use GitHub issues only to discuss about bugs and new features.
7+
For this kind of questions about using the framework or third-party bundles,
8+
please email us contact AT spomky-labs.com for quoting

.github/ISSUE_TEMPLATE/feature_request.md

-17
This file was deleted.

.github/PULL_REQUEST_TEMPLATE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
| Q | A
22
| ------------- | ---
3-
| Branch? |
3+
| Branch? |
44
| Bug fix? | yes/no, #... <!-- #-prefixed issue number(s), if any -->
55
| New feature? | yes/no
66
| BC breaks? | yes/no

.github/dependabot.yml

+17-6
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,19 @@
11
version: 2
22
updates:
3-
- package-ecosystem: composer
4-
directory: "/"
5-
schedule:
6-
interval: daily
7-
time: "04:00"
8-
open-pull-requests-limit: 10
3+
- package-ecosystem: "composer"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
day: "friday"
8+
versioning-strategy: "widen"
9+
open-pull-requests-limit: 20
10+
allow:
11+
- dependency-type: all
12+
labels: [ "Dependencies" ]
13+
14+
- package-ecosystem: "github-actions"
15+
directory: "/"
16+
schedule:
17+
interval: "monthly"
18+
open-pull-requests-limit: 20
19+
labels: [ "Dependencies" ]

.github/workflows/coding-standards.yml

-32
This file was deleted.

.github/workflows/gitsplit.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: gitsplit
2+
on:
3+
push:
4+
tags:
5+
- '*'
6+
release:
7+
types: [ published ]
8+
9+
jobs:
10+
gitsplit:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: checkout
14+
run: git clone https://github.com/web-auth/webauthn-framework /home/runner/work/web-auth/webauthn-framework && cd /home/runner/work/web-auth/webauthn-framework
15+
- name: Split repositories
16+
run: docker run --rm -t -e GH_TOKEN -v /cache/gitsplit:/cache/gitsplit -v /home/runner/work/web-auth/webauthn-framework:/srv jderusse/gitsplit gitsplit
17+
env:
18+
GH_TOKEN: ${{ secrets.GITSPLIT_TOKEN }}

0 commit comments

Comments
 (0)