Add spell checking with typos (#4138)

* Add spell checking with typos
Implement https://github.com/FreshRSS/FreshRSS/pull/4134#issuecomment-1008027558

* GitHub Actions attempt

* Quiet wget

* Makefile
This commit is contained in:
Alexandre Alapetite
2022-01-09 18:21:40 +01:00
committed by GitHub
parent 9dbbe924c5
commit 4e2dff4591
24 changed files with 119 additions and 71 deletions

View File

@@ -5,7 +5,7 @@
*/
/**
* La classe Error permet de lancer des erreurs HTTP
* The Minz_Error class logs and raises framework errors
*/
class Minz_Error {
public function __construct () { }
@@ -48,10 +48,9 @@ class Minz_Error {
}
/**
* Permet de retourner les logs de façon à n'avoir que
* ceux que l'on veut réellement
* @param array<string,string>|string $logs les logs rangés par catégories (error, warning, notice)
* @return array<string> liste des logs, sans catégorie, en fonction de l'environment
* Returns filtered logs
* @param array<string,string>|string $logs logs sorted by category (error, warning, notice)
* @return array<string> list of matching logs, without the category, according to environment preferences (production / development)
*/
private static function processLogs ($logs) {
$conf = Minz_Configuration::get('system');