Skip to content

Commit 98b087a

Browse files
committed
Add initial files
0 parents  commit 98b087a

File tree

7 files changed

+345
-0
lines changed

7 files changed

+345
-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+
trim_trailing_whitespace=true
8+
9+
[*.php]
10+
indent_style=tab
11+
indent_size=4
12+
13+
[*.yml]
14+
indent_style=space
15+
indent_size=2
16+
17+
[*.md]
18+
trim_trailing_whitespace = false

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
vendor/

.travis.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
language: php
2+
sudo: false
3+
php:
4+
- 5.4
5+
6+
install:
7+
- composer self-update;
8+
- composer install;
9+
10+
cache:
11+
directories:
12+
- vendor
13+
14+
script:
15+
- composer ci

codesniffer.ruleset.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0"?>
2+
<ruleset name="WordPress Theme Coding Standards">
3+
<description>Use "WordPress" as the sniffer context, with some exclusions.</description>
4+
5+
<rule ref="WordPress">
6+
<exclude name="Generic.WhiteSpace.ScopeIndent.IncorrectExact" />
7+
<exclude name="Generic.WhiteSpace.ScopeIndent.Incorrect" />
8+
<exclude name="Generic.Files.LowercasedFilename" />
9+
<exclude name="PEAR.Functions.FunctionCallSignature.Indent" />
10+
<exclude name="Squiz.Commenting.FileComment" />
11+
<exclude name="Squiz.Commenting.FunctionComment" />
12+
<exclude name="WordPress.Files.FileName" />
13+
</rule>
14+
</ruleset>

composer.json

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"name": "moxie-lean/acf-gravity-forms-select",
3+
"description": "Component for ACF to allow selection the ID of the gravity forms",
4+
"keywords": [ "acf", "wordpress", "gravity forms"],
5+
"homepage": "https://github.com/moxienyc/skaled.com-back-end/issues",
6+
"type": "wordpress-plugin",
7+
"license": "MIT",
8+
"authors": [
9+
{
10+
"name": "Crisoforo Gaspar",
11+
"email": "developer@getmoxied.net"
12+
}
13+
],
14+
"require": {
15+
"php": ">=5.4",
16+
"composer/installers": "^1.0"
17+
},
18+
"autoload": {
19+
"psr-4": {
20+
"Lean\\Acf\\Types\\Gravity\\": "src/"
21+
}
22+
},
23+
"require-dev": {
24+
"squizlabs/php_codesniffer": "2.*",
25+
"wp-coding-standards/wpcs": "0.9.0"
26+
},
27+
"scripts": {
28+
"installSniffer": [
29+
"./vendor/bin/phpcs --config-set installed_paths vendor/wp-coding-standards/wpcs/",
30+
"./vendor/bin/phpcs --config-set default_standard ./codesniffer.ruleset.xml",
31+
"./vendor/bin/phpcs --config-set show_progress 0",
32+
"./vendor/bin/phpcs --config-set colors 1"
33+
],
34+
"post-install-cmd": [ "@installSniffer" ],
35+
"post-update-cmd": [ "@installSniffer" ],
36+
"ci": [
37+
"phpcs src/*.php *.php"
38+
]
39+
}
40+
}

composer.lock

Lines changed: 236 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

licence

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2016 Lean
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 all
13+
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 THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)