Commit graph

10 commits

Author SHA1 Message Date
Belle Aerni af375a5499 Code styling /w Rector 2023-01-25 22:08:19 -08:00
Belle Aerni ff9583bfdf
Rector (#19)
* Rector code quality run

* Ran Rector with coding style ruleset

* Ran Rector with the naming setlist
2023-01-14 20:44:27 -08:00
Belle Aerni 8ed69831ee Check for cache before setting up the MD parser 2023-01-14 03:04:56 -08:00
Belle Aerni c5b999294b Added embed extension for markdown 2023-01-14 02:38:20 -08:00
Belle Aerni 7adb5d51a6 Added missing type hints, bumped PHPStan to level 6 2023-01-10 18:20:24 -08:00
Belle Aerni e09d4ca60d Experimenting with unit tests 2023-01-08 23:43:17 -08:00
Belle Aerni 1dc25e2d32 Move from php-markdown to commonmark
Better maintained, much more popular, supports GH style markdown.
Also added an emoji plugin for it so we don't have to maintain our own list of them.

Unfortunately, moving this does nearly double the size of AntCMS, but it's a worthwhile tradeoff
2023-01-08 22:01:05 -08:00
Belle Aerni a36755bb80 Improved caching 2023-01-07 12:15:29 -08:00
Belle Aerni 28ca1b87e4 Add PHPStan 2023-01-06 18:25:28 -08:00
Belle Aerni d6e4338689 Created an autoloader 2023-01-06 13:40:02 -08:00
Renamed from src/AntCMS/Markdown.php (Browse further)