I hereby claim:
- I am simonrjones on github.
- I am simonrjones (https://keybase.io/simonrjones) on keybase.
- I have a public key ASByeWwYfViAGNL4E1h9deMit0iU4VK6gVWdiCyoR9SaRAo
To claim this, I am signing this object:
# Standard ignore rules | |
# OS generated files | |
.DS_Store | |
.DS_Store? | |
._* | |
.Spotlight-V100 | |
.Trashes | |
ehthumbs.db | |
Thumbs.db |
function excerpt(string $string, $length = 50): string | |
{ | |
$string = explode("\n", wordwrap($string, $length)); | |
return (string) $string[0]; | |
} |
<?php | |
declare(strict_types=1); | |
namespace MyNamespace; | |
use Composer\InstalledVersions; | |
/** | |
* Simple class to return package version from Composer 2 |
I hereby claim:
To claim this, I am signing this object:
array_walk(hash_algos(), function($algo) { | |
echo $algo . ': ' . hash($algo, 'TEST123') . PHP_EOL; | |
}); |