diff --git a/README.md b/README.md index c3af99a5..0c387b75 100644 --- a/README.md +++ b/README.md @@ -2,16 +2,16 @@ This is a class library providing independent building blocks. -[![Latest Stable Version](http://poser.pugx.org/elephox/framework/v)](https://packagist.org/packages/elephox/framework) -[![License](http://poser.pugx.org/elephox/framework/license)](https://packagist.org/packages/elephox/framework) -[![PHP Version Require](http://poser.pugx.org/elephox/framework/require/php)](https://packagist.org/packages/elephox/framework) - -[![Psalm Level](https://shepherd.dev/github/elephox-dev/framework/level.svg)](https://shepherd.dev/github/elephox-dev/framework) -[![Type Coverage](https://shepherd.dev/github/elephox-dev/framework/coverage.svg)](https://shepherd.dev/github/elephox-dev/framework) -[![Coverage Status](https://coveralls.io/repos/github/elephox-dev/framework/badge.svg?branch=main)](https://coveralls.io/github/elephox-dev/framework?branch=main) - -[![Linux 🐧](https://github.com/elephox-dev/framework/actions/workflows/linux.yml/badge.svg)](https://github.com/elephox-dev/framework/actions/workflows/linux.yml) -[![Windows 🪟](https://github.com/elephox-dev/framework/actions/workflows/windows.yml/badge.svg)](https://github.com/elephox-dev/framework/actions/workflows/windows.yml) +

+ Latest Stable Version + License + PHP Version Require + Psalm Level + Type Coverage + Coverage Status + Linux 🐧 + Windows 🪟 +

## Goals: diff --git a/bin/update-todos.php b/bin/update-todos.php index 7711f9e9..ed196613 100644 --- a/bin/update-todos.php +++ b/bin/update-todos.php @@ -67,21 +67,22 @@ function gatherSourceFiles(string $dir, array &$results = []): array } $readmeContents = file_get_contents($readmeFile); -$todos = "\n\n## TODOs Found:\n\n"; +$todos = "\n\n## TODO\n\n"; echo count($matches) . " categories found.\n"; foreach ($matches as $category => $files) { $todos .= "### $category\n\n"; echo "Category $category contains " . count($files) . " files.\n"; foreach ($files as $file => $entries) { $file = str_replace($src, '', $file); - $todos .= "- [ ] $file\n"; + $todos .= "- [ ] modules/$file\n"; foreach ($entries as $entry) { $todos .= " - [ ] $entry\n"; } } $todos .= "\n"; } -$todos .= "\n## Open issues from other Repositories\n\n"; + +$todos .= "\n### Open issues from other repositories\n\n"; foreach ($issues as $repo => $issueNumbers) { $todos .= "- [$repo](https://github.com/$repo)\n"; foreach ($issueNumbers as $issueNumber) {