From aa467a632a5890c9d8db89ba3e8043fdbc22b6ba Mon Sep 17 00:00:00 2001 From: Daniel Carbone Date: Tue, 27 Jul 2021 12:45:29 -0500 Subject: [PATCH] there is now code. --- README.md | 3 +++ composer.json | 19 ++++++++++++++ thecodegoeshere/PineTree.php | 51 ++++++++++++++++++++++++++++++++++++ 3 files changed, 73 insertions(+) create mode 100644 composer.json create mode 100644 thecodegoeshere/PineTree.php diff --git a/README.md b/README.md index 1d3ff76..ffd48af 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # phpine-tree An instant cure to Code Smell + +## Purpose +Just as the accusation of code smell is stupid and pointless, so is this library. \ No newline at end of file diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..88bff0c --- /dev/null +++ b/composer.json @@ -0,0 +1,19 @@ +{ + "name": "dcarbone/phpine-tree", + "authors": [ + { + "name": "Daniel Carbone", + "email": "daniel.p.carbone@gmaail.com", + "homepage": "https://github.com/dcarbone" + } + ], + "license": "unlicense", + "autoload": { + "psr-4": { + "PHPinTree\\": "thecodegoeshere" + } + }, + "require": { + "php": ">=7.4" + } +} \ No newline at end of file diff --git a/thecodegoeshere/PineTree.php b/thecodegoeshere/PineTree.php new file mode 100644 index 0000000..9013994 --- /dev/null +++ b/thecodegoeshere/PineTree.php @@ -0,0 +1,51 @@ +X< + A + d\$b + .d\$\$b. + .d\$i$$\$\$b. + d$$@b + d\$$\$ib + .d$$$\$$\$b + .d$$@$$$$\$\$ib. + d$\$i$\$b + d\$$$$@\$b + .d$@$$\$$$$$@b. +.d$$$\$i$$$\$$$$$\$b. + ### + ### + ### mh +EOT; + + /** + * + */ + public function echo(): void + { + echo self::THE_TREE; + } + + /** + * @return string + */ + public function return(): string + { + return self::THE_TREE; + } +} \ No newline at end of file