1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-18 06:11:33 +02:00

ci: disallow the sizeof function in linter (#4134)

This commit is contained in:
Dag
2024-06-18 20:22:46 +02:00
committed by GitHub
parent 0eac7a0784
commit 206bebc7bd
8 changed files with 28 additions and 20 deletions

View File

@@ -76,7 +76,7 @@ class PresidenciaPTBridge extends BridgeAbstract
}, self::PT_MONTH_NAMES),
array_map(function ($num) {
return sprintf('-%02d-', $num);
}, range(1, sizeof(self::PT_MONTH_NAMES))),
}, range(1, count(self::PT_MONTH_NAMES))),
$edt
);