Skip to content

Commit be7dfcd

Browse files
authored
Auto format all files with configlet (#619)
1 parent 392f3a5 commit be7dfcd

File tree

13 files changed

+556
-271
lines changed

13 files changed

+556
-271
lines changed

config.json

Lines changed: 395 additions & 180 deletions
Large diffs are not rendered by default.
Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,20 @@
11
{
2-
"authors": [
3-
"mk-mxp"
4-
],
5-
"contributors": [],
6-
"files": {
7-
"solution": [
8-
"LuckyNumbers.php"
9-
],
10-
"test": [
11-
"LuckyNumbersTest.php"
12-
],
13-
"exemplar": [
14-
".meta/exemplar.php"
15-
]
16-
},
17-
"language_version": ">=8.1",
18-
"blurb": "Practice type juggling while helping your friend Kojo with his website.",
19-
"forked_from": [
20-
"javascript/lucky-numbers"
21-
]
2+
"authors": [
3+
"mk-mxp"
4+
],
5+
"files": {
6+
"solution": [
7+
"LuckyNumbers.php"
8+
],
9+
"test": [
10+
"LuckyNumbersTest.php"
11+
],
12+
"exemplar": [
13+
".meta/exemplar.php"
14+
]
15+
},
16+
"forked_from": [
17+
"javascript/lucky-numbers"
18+
],
19+
"blurb": "Practice type juggling while helping your friend Kojo with his website."
2220
}
Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
11
{
2-
"blurb": "Write a function to solve alphametics puzzles.",
3-
"authors": ["MichaelBunker"],
4-
"contributors": [],
2+
"authors": [
3+
"MichaelBunker"
4+
],
55
"files": {
6-
"solution": ["Alphametics.php"],
7-
"test": ["AlphameticsTest.php"],
8-
"example": [".meta/example.php"]
9-
}
6+
"solution": [
7+
"Alphametics.php"
8+
],
9+
"test": [
10+
"AlphameticsTest.php"
11+
],
12+
"example": [
13+
".meta/example.php"
14+
]
15+
},
16+
"blurb": "Write a function to solve alphametics puzzles."
1017
}
Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
11
{
2-
"blurb": "Simulate a bank account supporting opening/closing, withdraws, and deposits of money.",
3-
"authors": ["MichaelBunker"],
4-
"contributors": [],
2+
"authors": [
3+
"MichaelBunker"
4+
],
55
"files": {
6-
"solution": ["BankAccount.php"],
7-
"test": ["BankAccountTest.php"],
8-
"example": [".meta/example.php"]
9-
}
6+
"solution": [
7+
"BankAccount.php"
8+
],
9+
"test": [
10+
"BankAccountTest.php"
11+
],
12+
"example": [
13+
".meta/example.php"
14+
]
15+
},
16+
"blurb": "Simulate a bank account supporting opening/closing, withdraws, and deposits of money."
1017
}
Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
11
{
2-
"blurb": "Insert and search for numbers in a binary tree.",
3-
"authors": ["MichaelBunker"],
4-
"contributors": [],
2+
"authors": [
3+
"MichaelBunker"
4+
],
55
"files": {
6-
"solution": ["BinarySearchTree.php"],
7-
"test": ["BinarySearchTreeTest.php"],
8-
"example": [".meta/example.php"]
9-
}
6+
"solution": [
7+
"BinarySearchTree.php"
8+
],
9+
"test": [
10+
"BinarySearchTreeTest.php"
11+
],
12+
"example": [
13+
".meta/example.php"
14+
]
15+
},
16+
"blurb": "Insert and search for numbers in a binary tree."
1017
}

exercises/practice/list-ops/.meta/config.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
{
2-
"authors": ["homersimpsons"],
2+
"authors": [
3+
"homersimpsons"
4+
],
35
"files": {
46
"solution": [
57
"ListOps.php"
Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
11
{
2-
"blurb": "Translate RNA sequences into proteins.",
3-
"authors": ["MichaelBunker"],
4-
"contributors": [],
2+
"authors": [
3+
"MichaelBunker"
4+
],
55
"files": {
6-
"solution": ["ProteinTranslation.php"],
7-
"test": ["ProteinTranslationTest.php"],
8-
"example": [".meta/example.php"]
9-
}
6+
"solution": [
7+
"ProteinTranslation.php"
8+
],
9+
"test": [
10+
"ProteinTranslationTest.php"
11+
],
12+
"example": [
13+
".meta/example.php"
14+
]
15+
},
16+
"blurb": "Translate RNA sequences into proteins."
1017
}
Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
11
{
2-
"blurb": "For want of a horseshoe nail, a kingdom was lost, or so the saying goes. Output the full text of this proverbial rhyme.",
3-
"authors": ["MichaelBunker"],
4-
"contributors": [],
2+
"authors": [
3+
"MichaelBunker"
4+
],
55
"files": {
6-
"solution": ["Proverb.php"],
7-
"test": ["ProverbTest.php"],
8-
"example": [".meta/example.php"]
9-
}
6+
"solution": [
7+
"Proverb.php"
8+
],
9+
"test": [
10+
"ProverbTest.php"
11+
],
12+
"example": [
13+
".meta/example.php"
14+
]
15+
},
16+
"blurb": "For want of a horseshoe nail, a kingdom was lost, or so the saying goes. Output the full text of this proverbial rhyme."
1017
}
Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
11
{
2-
"blurb": "Convert color codes, as used on resistors, to a numeric value.",
3-
"authors": ["MichaelBunker"],
4-
"contributors": [],
2+
"authors": [
3+
"MichaelBunker"
4+
],
55
"files": {
6-
"solution": ["ResistorColorDuo.php"],
7-
"test": ["ResistorColorDuoTest.php"],
8-
"example": [".meta/example.php"]
9-
}
6+
"solution": [
7+
"ResistorColorDuo.php"
8+
],
9+
"test": [
10+
"ResistorColorDuoTest.php"
11+
],
12+
"example": [
13+
".meta/example.php"
14+
]
15+
},
16+
"blurb": "Convert color codes, as used on resistors, to a numeric value."
1017
}
Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
11
{
2-
"blurb": "Convert color codes, as used on resistors, to a human-readable label.",
3-
"authors": ["MichaelBunker"],
4-
"contributors": [],
2+
"authors": [
3+
"MichaelBunker"
4+
],
55
"files": {
6-
"solution": ["ResistorColorTrio.php"],
7-
"test": ["ResistorColorTrioTest.php"],
8-
"example": [".meta/example.php"]
9-
}
6+
"solution": [
7+
"ResistorColorTrio.php"
8+
],
9+
"test": [
10+
"ResistorColorTrioTest.php"
11+
],
12+
"example": [
13+
".meta/example.php"
14+
]
15+
},
16+
"blurb": "Convert color codes, as used on resistors, to a human-readable label."
1017
}

0 commit comments

Comments
 (0)