Skip to content

Commit

Permalink
Auto format all files with configlet (#619)
Browse files Browse the repository at this point in the history
  • Loading branch information
mk-mxp authored Feb 19, 2024
1 parent 392f3a5 commit be7dfcd
Show file tree
Hide file tree
Showing 13 changed files with 556 additions and 271 deletions.
575 changes: 395 additions & 180 deletions config.json

Large diffs are not rendered by default.

38 changes: 18 additions & 20 deletions exercises/concept/lucky-numbers/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,20 @@
{
"authors": [
"mk-mxp"
],
"contributors": [],
"files": {
"solution": [
"LuckyNumbers.php"
],
"test": [
"LuckyNumbersTest.php"
],
"exemplar": [
".meta/exemplar.php"
]
},
"language_version": ">=8.1",
"blurb": "Practice type juggling while helping your friend Kojo with his website.",
"forked_from": [
"javascript/lucky-numbers"
]
"authors": [
"mk-mxp"
],
"files": {
"solution": [
"LuckyNumbers.php"
],
"test": [
"LuckyNumbersTest.php"
],
"exemplar": [
".meta/exemplar.php"
]
},
"forked_from": [
"javascript/lucky-numbers"
],
"blurb": "Practice type juggling while helping your friend Kojo with his website."
}
21 changes: 14 additions & 7 deletions exercises/practice/alphametics/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
{
"blurb": "Write a function to solve alphametics puzzles.",
"authors": ["MichaelBunker"],
"contributors": [],
"authors": [
"MichaelBunker"
],
"files": {
"solution": ["Alphametics.php"],
"test": ["AlphameticsTest.php"],
"example": [".meta/example.php"]
}
"solution": [
"Alphametics.php"
],
"test": [
"AlphameticsTest.php"
],
"example": [
".meta/example.php"
]
},
"blurb": "Write a function to solve alphametics puzzles."
}
21 changes: 14 additions & 7 deletions exercises/practice/bank-account/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
{
"blurb": "Simulate a bank account supporting opening/closing, withdraws, and deposits of money.",
"authors": ["MichaelBunker"],
"contributors": [],
"authors": [
"MichaelBunker"
],
"files": {
"solution": ["BankAccount.php"],
"test": ["BankAccountTest.php"],
"example": [".meta/example.php"]
}
"solution": [
"BankAccount.php"
],
"test": [
"BankAccountTest.php"
],
"example": [
".meta/example.php"
]
},
"blurb": "Simulate a bank account supporting opening/closing, withdraws, and deposits of money."
}
21 changes: 14 additions & 7 deletions exercises/practice/binary-search-tree/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
{
"blurb": "Insert and search for numbers in a binary tree.",
"authors": ["MichaelBunker"],
"contributors": [],
"authors": [
"MichaelBunker"
],
"files": {
"solution": ["BinarySearchTree.php"],
"test": ["BinarySearchTreeTest.php"],
"example": [".meta/example.php"]
}
"solution": [
"BinarySearchTree.php"
],
"test": [
"BinarySearchTreeTest.php"
],
"example": [
".meta/example.php"
]
},
"blurb": "Insert and search for numbers in a binary tree."
}
4 changes: 3 additions & 1 deletion exercises/practice/list-ops/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"authors": ["homersimpsons"],
"authors": [
"homersimpsons"
],
"files": {
"solution": [
"ListOps.php"
Expand Down
21 changes: 14 additions & 7 deletions exercises/practice/protein-translation/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
{
"blurb": "Translate RNA sequences into proteins.",
"authors": ["MichaelBunker"],
"contributors": [],
"authors": [
"MichaelBunker"
],
"files": {
"solution": ["ProteinTranslation.php"],
"test": ["ProteinTranslationTest.php"],
"example": [".meta/example.php"]
}
"solution": [
"ProteinTranslation.php"
],
"test": [
"ProteinTranslationTest.php"
],
"example": [
".meta/example.php"
]
},
"blurb": "Translate RNA sequences into proteins."
}
21 changes: 14 additions & 7 deletions exercises/practice/proverb/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
{
"blurb": "For want of a horseshoe nail, a kingdom was lost, or so the saying goes. Output the full text of this proverbial rhyme.",
"authors": ["MichaelBunker"],
"contributors": [],
"authors": [
"MichaelBunker"
],
"files": {
"solution": ["Proverb.php"],
"test": ["ProverbTest.php"],
"example": [".meta/example.php"]
}
"solution": [
"Proverb.php"
],
"test": [
"ProverbTest.php"
],
"example": [
".meta/example.php"
]
},
"blurb": "For want of a horseshoe nail, a kingdom was lost, or so the saying goes. Output the full text of this proverbial rhyme."
}
21 changes: 14 additions & 7 deletions exercises/practice/resistor-color-duo/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
{
"blurb": "Convert color codes, as used on resistors, to a numeric value.",
"authors": ["MichaelBunker"],
"contributors": [],
"authors": [
"MichaelBunker"
],
"files": {
"solution": ["ResistorColorDuo.php"],
"test": ["ResistorColorDuoTest.php"],
"example": [".meta/example.php"]
}
"solution": [
"ResistorColorDuo.php"
],
"test": [
"ResistorColorDuoTest.php"
],
"example": [
".meta/example.php"
]
},
"blurb": "Convert color codes, as used on resistors, to a numeric value."
}
21 changes: 14 additions & 7 deletions exercises/practice/resistor-color-trio/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
{
"blurb": "Convert color codes, as used on resistors, to a human-readable label.",
"authors": ["MichaelBunker"],
"contributors": [],
"authors": [
"MichaelBunker"
],
"files": {
"solution": ["ResistorColorTrio.php"],
"test": ["ResistorColorTrioTest.php"],
"example": [".meta/example.php"]
}
"solution": [
"ResistorColorTrio.php"
],
"test": [
"ResistorColorTrioTest.php"
],
"example": [
".meta/example.php"
]
},
"blurb": "Convert color codes, as used on resistors, to a human-readable label."
}
21 changes: 14 additions & 7 deletions exercises/practice/say/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
{
"blurb": "Given a number from 0 to 999,999,999,999, spell out that number in English.",
"authors": ["vnkmpf"],
"contributors": [],
"authors": [
"vnkmpf"
],
"files": {
"solution": ["Say.php"],
"test": ["SayTest.php"],
"example": [".meta/example.php"]
}
"solution": [
"Say.php"
],
"test": [
"SayTest.php"
],
"example": [
".meta/example.php"
]
},
"blurb": "Given a number from 0 to 999,999,999,999, spell out that number in English."
}
21 changes: 14 additions & 7 deletions exercises/practice/twelve-days/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
{
"blurb": "Output the lyrics to 'The Twelve Days of Christmas'.",
"authors": ["MichaelBunker"],
"contributors": [],
"authors": [
"MichaelBunker"
],
"files": {
"solution": ["TwelveDays.php"],
"test": ["TwelveDaysTest.php"],
"example": [".meta/example.php"]
}
"solution": [
"TwelveDays.php"
],
"test": [
"TwelveDaysTest.php"
],
"example": [
".meta/example.php"
]
},
"blurb": "Output the lyrics to 'The Twelve Days of Christmas'."
}
21 changes: 14 additions & 7 deletions exercises/practice/yacht/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
{
"blurb": "Score a single throw of dice in the game Yacht.",
"authors": ["MichaelBunker"],
"contributors": [],
"authors": [
"MichaelBunker"
],
"files": {
"solution": ["Yacht.php"],
"test": ["YachtTest.php"],
"example": [".meta/example.php"]
}
"solution": [
"Yacht.php"
],
"test": [
"YachtTest.php"
],
"example": [
".meta/example.php"
]
},
"blurb": "Score a single throw of dice in the game Yacht."
}

0 comments on commit be7dfcd

Please sign in to comment.