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