Skip to content
This repository was archived by the owner on Oct 1, 2021. It is now read-only.

Commit 9b967de

Browse files
author
Brian Faust
committed
first commit
0 parents  commit 9b967de

File tree

344 files changed

+16891
-0
lines changed

Some content is hidden

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

344 files changed

+16891
-0
lines changed

.editorconfig

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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]
15+
indent_size = 2

.github/workflows/compress.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Compress
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- "**.svg"
7+
8+
jobs:
9+
svg:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v2
14+
15+
- uses: ericcornelissen/svgo-action@v1.0.1
16+
with:
17+
conventional-commits: true
18+
repo-token: ${{ secrets.GH_TOKEN }}

.github/workflows/format.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: Format
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- '**.css'
7+
- '**.php'
8+
- '**.js'
9+
- '**.vue'
10+
11+
jobs:
12+
prettier:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v2
17+
with:
18+
ref: ${{ github.head_ref }}
19+
20+
- name: Install
21+
run: yarn install
22+
env:
23+
CI: true
24+
25+
- name: Run prettier
26+
run: yarn run prettier --write 'resources/**/*.{css,js,vue}'
27+
28+
- uses: stefanzweifel/git-auto-commit-action@v4
29+
with:
30+
commit_message: "style: resolve style guide violations"
31+
branch: ${{ github.head_ref }}
32+
33+
rustywind:
34+
runs-on: ubuntu-latest
35+
36+
steps:
37+
- uses: actions/checkout@v2
38+
with:
39+
ref: ${{ github.head_ref }}
40+
token: ${{ secrets.GH_TOKEN }}
41+
42+
- name: Format
43+
run: |
44+
export PATH="$(yarn global bin):$PATH"
45+
yarn global add rustywind
46+
rustywind --write resources/views
47+
48+
- uses: stefanzweifel/git-auto-commit-action@v4
49+
with:
50+
commit_message: "style: resolve style guide violations"
51+
branch: ${{ github.head_ref }}

.github/workflows/release.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
with:
14+
fetch-depth: "0"
15+
- name: Bump version and push tag
16+
uses: anothrNick/github-tag-action@1.26.0
17+
env:
18+
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
19+
DEFAULT_BUMP: patch
20+
WITH_V: false

.gitignore

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
2+
# Created by https://www.gitignore.io/api/macos,laravel
3+
# Edit at https://www.gitignore.io/?templates=macos,laravel
4+
5+
### Laravel ###
6+
/vendor/
7+
node_modules/
8+
npm-debug.log
9+
yarn-error.log
10+
11+
# Laravel 4 specific
12+
bootstrap/compiled.php
13+
app/storage/
14+
15+
# Laravel 5 & Lumen specific
16+
public/storage
17+
public/hot
18+
storage/*.key
19+
.env
20+
Homestead.yaml
21+
Homestead.json
22+
/.vagrant
23+
.phpunit.result.cache
24+
25+
### macOS ###
26+
# General
27+
.DS_Store
28+
.AppleDouble
29+
.LSOverride
30+
31+
# Icon must end with two \r
32+
Icon
33+
34+
# Thumbnails
35+
._*
36+
37+
# Files that might appear in the root of a volume
38+
.DocumentRevisions-V100
39+
.fseventsd
40+
.Spotlight-V100
41+
.TemporaryItems
42+
.Trashes
43+
.VolumeIcon.icns
44+
.com.apple.timemachine.donotpresent
45+
46+
# Directories potentially created on remote AFP share
47+
.AppleDB
48+
.AppleDesktop
49+
Network Trash Folder
50+
Temporary Items
51+
.apdisk
52+
53+
# End of https://www.gitignore.io/api/macos,laravel
54+
55+
# Custom
56+
icons.html

.php_cs

Lines changed: 145 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,145 @@
1+
<?php
2+
3+
use PhpCsFixer\Config;
4+
use PhpCsFixer\Finder;
5+
6+
$rules = [
7+
'array_syntax' => ['syntax' => 'short'],
8+
'binary_operator_spaces' => [
9+
'align_double_arrow' => true,
10+
'align_equals' => true,
11+
],
12+
'blank_line_after_namespace' => true,
13+
'blank_line_after_opening_tag' => true,
14+
'blank_line_before_return' => true,
15+
'blank_line_before_statement' => true,
16+
'braces' => true,
17+
'cast_spaces' => true,
18+
'class_attributes_separation' => true,
19+
'class_definition' => true,
20+
'combine_consecutive_unsets' => true,
21+
'concat_space' => true,
22+
'declare_equal_normalize' => true,
23+
'elseif' => true,
24+
'encoding' => true,
25+
'full_opening_tag' => true,
26+
'fully_qualified_strict_types' => true, // added by Shift
27+
'function_declaration' => true,
28+
'function_typehint_space' => true,
29+
'heredoc_to_nowdoc' => true,
30+
'include' => true,
31+
'increment_style' => ['style' => 'post'],
32+
'indentation_type' => true,
33+
'line_ending' => true,
34+
'linebreak_after_opening_tag' => true,
35+
'list_syntax' => ['syntax' => 'short'],
36+
'lowercase_cast' => true,
37+
'lowercase_constants' => true,
38+
'lowercase_keywords' => true,
39+
'lowercase_static_reference' => true, // added from Symfony
40+
'magic_constant_casing' => true,
41+
'magic_method_casing' => true, // added from Symfony
42+
'method_argument_space' => true,
43+
'method_separation' => true,
44+
'multiline_whitespace_before_semicolons' => true,
45+
'native_function_casing' => true,
46+
'new_with_braces' => true,
47+
'no_alias_functions' => true,
48+
'no_blank_lines_after_class_opening' => true,
49+
'no_blank_lines_after_phpdoc' => true,
50+
'no_closing_tag' => true,
51+
'no_empty_phpdoc' => true,
52+
'no_empty_statement' => true,
53+
'no_extra_blank_lines' => true,
54+
'no_extra_consecutive_blank_lines' => true,
55+
'no_leading_import_slash' => true,
56+
'no_leading_namespace_whitespace' => true,
57+
'no_mixed_echo_print' => true,
58+
'no_multiline_whitespace_around_double_arrow' => true,
59+
'no_multiline_whitespace_before_semicolons' => true,
60+
'no_short_bool_cast' => true,
61+
'no_short_echo_tag' => true,
62+
'no_singleline_whitespace_before_semicolons' => true,
63+
'no_spaces_after_function_name' => true,
64+
'no_spaces_around_offset' => true,
65+
'no_spaces_inside_parenthesis' => true,
66+
'no_trailing_comma_in_list_call' => true,
67+
'no_trailing_comma_in_singleline_array' => true,
68+
'no_trailing_whitespace_in_comment' => true,
69+
'no_trailing_whitespace' => true,
70+
'no_unneeded_control_parentheses' => true,
71+
'no_unreachable_default_argument_value' => true,
72+
'no_unused_imports' => true,
73+
'no_useless_else' => true,
74+
'no_useless_return' => true,
75+
'no_whitespace_before_comma_in_array' => true,
76+
'no_whitespace_in_blank_line' => true,
77+
'normalize_index_brace' => true,
78+
'not_operator_with_successor_space' => true,
79+
'object_operator_without_whitespace' => true,
80+
'ordered_imports' => ['sortAlgorithm' => 'alpha'],
81+
'php_unit_strict' => true,
82+
'php_unit_test_class_requires_covers' => true,
83+
'phpdoc_add_missing_param_annotation' => true,
84+
'phpdoc_align' => true,
85+
'phpdoc_indent' => true,
86+
'phpdoc_inline_tag' => true,
87+
'phpdoc_no_access' => true,
88+
'phpdoc_no_package' => true,
89+
'phpdoc_no_useless_inheritdoc' => true,
90+
'phpdoc_order' => true,
91+
'phpdoc_scalar' => true,
92+
'phpdoc_separation' => true,
93+
'phpdoc_single_line_var_spacing' => true,
94+
'phpdoc_summary' => true,
95+
'phpdoc_to_comment' => true,
96+
'phpdoc_trim' => true,
97+
'phpdoc_types' => true,
98+
'phpdoc_var_without_name' => true,
99+
'psr4' => true,
100+
'self_accessor' => true,
101+
'semicolon_after_instruction' => true,
102+
'short_scalar_cast' => true,
103+
'simplified_null_return' => true,
104+
'single_blank_line_at_eof' => true,
105+
'single_blank_line_before_namespace' => true,
106+
'single_class_element_per_statement' => true,
107+
'single_import_per_statement' => true,
108+
'single_line_after_imports' => true,
109+
'single_line_comment_style' => [
110+
'comment_types' => ['hash']
111+
],
112+
'single_quote' => true,
113+
'space_after_semicolon' => true,
114+
'standardize_not_equals' => true,
115+
'strict_comparison' => true,
116+
'strict_param' => true,
117+
'switch_case_semicolon_to_colon' => true,
118+
'switch_case_space' => true,
119+
'ternary_operator_spaces' => true,
120+
'trailing_comma_in_multiline_array' => true,
121+
'trim_array_spaces' => true,
122+
'unary_operator_spaces' => true,
123+
'visibility_required' => true,
124+
'whitespace_after_comma_in_array' => true,
125+
126+
];
127+
128+
$finder = Finder::create()
129+
->notPath('bootstrap')
130+
->notPath('storage')
131+
->notPath('vendor')
132+
->in(getcwd())
133+
->name('*.php')
134+
->notName('*.blade.php')
135+
->notName('index.php')
136+
->notName('server.php')
137+
->notName('_ide_helper.php')
138+
->ignoreDotFiles(true)
139+
->ignoreVCS(true);
140+
141+
return Config::create()
142+
->setFinder($finder)
143+
->setRules($rules)
144+
->setRiskyAllowed(true)
145+
->setUsingCache(true);

.prettierrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"tabWidth": 4
3+
}

.svgo.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
plugins:
2+
- cleanupIDs: false

CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @ItsANameToo @alexbarnsley

0 commit comments

Comments
 (0)