SYMBOL INDEX (139 symbols across 14 files) FILE: scripts/translation-progress.php function getProgress (line 11) | function getProgress(array $translations): array function getLineNumber (line 60) | function getLineNumber(array $translations_file, string $locale): int function progressToBadges (line 71) | function progressToBadges(array $progress): string function updateReadme (line 107) | function updateReadme(string $path, string $start, string $end, string $... FILE: src/cache.php function getCacheKey (line 25) | function getCacheKey(string $user, array $options = []): string function getCacheFilePath (line 44) | function getCacheFilePath(string $key): string function ensureCacheDir (line 54) | function ensureCacheDir(): bool function getCachedStats (line 70) | function getCachedStats(string $user, array $options = [], int $maxAge =... function setCachedStats (line 124) | function setCachedStats(string $user, array $options, array $stats): bool function clearExpiredCache (line 155) | function clearExpiredCache(int $maxAge = CACHE_DURATION): int function clearUserCache (line 195) | function clearUserCache(string $user): bool FILE: src/card.php function formatDate (line 13) | function formatDate(string $dateString, string|null $format, string $loc... function translateDays (line 67) | function translateDays(array $days, string $locale): array function getExcludingDaysText (line 95) | function getExcludingDaysText($excludedDays, $localeTranslations, $local... function normalizeThemeName (line 108) | function normalizeThemeName(string $theme): string function getRequestedTheme (line 119) | function getRequestedTheme(array $params): array function utf8WordWrap (line 203) | function utf8WordWrap(string $string, int $width = 75, string $break = "... function utf8Strlen (line 223) | function utf8Strlen(string $string): int function splitLines (line 236) | function splitLines(string $text, int $maxChars, int $line1Offset): string function normalizeLocaleCode (line 263) | function normalizeLocaleCode(string $localeCode): string function getTranslations (line 288) | function getTranslations(string $localeCode): array function getCardWidth (line 318) | function getCardWidth(array $params, int $numColumns = 3): int function getCardHeight (line 331) | function getCardHeight(array $params): int function formatNumber (line 346) | function formatNumber(float $num, string $localeCode, bool $useShortNumb... function generateCard (line 370) | function generateCard(array $stats, array $params = null): string function generateErrorCard (line 618) | function generateErrorCard(string $message, array $params = null): string function removeAnimations (line 689) | function removeAnimations(string $svg): string function convertHexColor (line 705) | function convertHexColor(string $color): array function convertHexColors (line 739) | function convertHexColors(string $svg): string function convertSvgToPng (line 768) | function convertSvgToPng(string $svg, int $cardWidth, int $cardHeight): ... function generateOutput (line 810) | function generateOutput(string|array $output, array $params = null, int ... function renderOutput (line 871) | function renderOutput(string|array $output, int $responseCode = 200): void FILE: src/demo/index.php function camelToSkewer (line 18) | function camelToSkewer(string $str): string FILE: src/demo/js/accordion.js class Accordion (line 2) | class Accordion { method constructor (line 3) | constructor(el) { method init (line 18) | init() { method onClick (line 23) | onClick(e) { method shrink (line 37) | shrink() { method open (line 66) | open() { method expand (line 75) | expand() { method onAnimationFinish (line 104) | onAnimationFinish(open) { FILE: src/demo/js/script.js method update (line 28) | update() { method addProperty (line 84) | addProperty(property, value = "#EB5454FF") { method removeProperty (line 219) | removeProperty(property) { method removeAllProperties (line 236) | removeAllProperties() { method objectFromElements (line 252) | objectFromElements(elements) { method exportPhp (line 278) | exportPhp() { method checkColor (line 306) | checkColor(color, input) { method pickerChange (line 318) | pickerChange(picker, input) { method updateCheckboxes (line 331) | updateCheckboxes(param, selector) { method updateFormInputs (line 353) | updateFormInputs(searchParams) { method copy (line 392) | copy(el) { method reset (line 420) | reset(el) { FILE: src/demo/js/toggle-dark.js function setCookie (line 7) | function setCookie(cname, cvalue, exdays) { function getCookie (line 19) | function getCookie(name) { function darkmode (line 41) | function darkmode() { function lightmode (line 50) | function lightmode() { function toggleTheme (line 59) | function toggleTheme() { FILE: src/stats.php function buildContributionGraphQuery (line 14) | function buildContributionGraphQuery(string $user, int $year): string function executeContributionGraphRequests (line 43) | function executeContributionGraphRequests(string $user, array $years): a... function getContributionGraphs (line 124) | function getContributionGraphs(string $user, ?int $startingYear = null):... function getGitHubTokens (line 165) | function getGitHubTokens(): array function getGitHubToken (line 191) | function getGitHubToken(): string function removeGitHubToken (line 209) | function removeGitHubToken(string $token): void function getGraphQLCurlHandle (line 230) | function getGraphQLCurlHandle(string $query, string $token): CurlHandle function getContributionDates (line 257) | function getContributionDates(array $contributionGraphs): array function normalizeDays (line 288) | function normalizeDays(array $days): array function isExcludedDay (line 307) | function isExcludedDay(string $date, array $excludedDays): bool function getContributionStats (line 323) | function getContributionStats(array $contributions, array $excludedDays ... function getPreviousSunday (line 390) | function getPreviousSunday(string $date): string function getWeeklyContributionStats (line 402) | function getWeeklyContributionStats(array $contributions): array FILE: src/whitelist.php function isWhitelisted (line 9) | function isWhitelisted(string $user): bool FILE: tests/CacheTest.php class CacheTest (line 11) | final class CacheTest extends TestCase method testCacheKeyConsistency (line 16) | public function testCacheKeyConsistency(): void method testCacheKeyDifferentInputs (line 26) | public function testCacheKeyDifferentInputs(): void method testCacheKeyNoCollisions (line 41) | public function testCacheKeyNoCollisions(): void method testCacheKeyOptionOrdering (line 56) | public function testCacheKeyOptionOrdering(): void method testCacheKeyFormat (line 66) | public function testCacheKeyFormat(): void method testGetCacheFilePath (line 75) | public function testGetCacheFilePath(): void method testCacheRoundtrip (line 85) | public function testCacheRoundtrip(): void method testGetCachedStatsNotFound (line 109) | public function testGetCachedStatsNotFound(): void method testSetCachedStatsWithEmptyStats (line 118) | public function testSetCachedStatsWithEmptyStats(): void method testClearUserCache (line 130) | public function testClearUserCache(): void method testClearUserCacheNonExistent (line 150) | public function testClearUserCacheNonExistent(): void method testEnsureCacheDir (line 159) | public function testEnsureCacheDir(): void FILE: tests/OptionsTest.php class OptionsTest (line 10) | final class OptionsTest extends TestCase method testThemes (line 29) | public function testThemes(): void method testThemesInDocumentation (line 50) | public function testThemesInDocumentation(): void method testFallbackToDefaultTheme (line 66) | public function testFallbackToDefaultTheme(): void method testThemesHaveValidParameters (line 81) | public function testThemesHaveValidParameters(): void method testColorOverrideParameters (line 127) | public function testColorOverrideParameters(): void method testValidColorInputs (line 148) | public function testValidColorInputs(): void method testInvalidColorInputs (line 176) | public function testInvalidColorInputs(): void method testHideBorder (line 198) | public function testHideBorder(): void method testDateFormatSameYear (line 213) | public function testDateFormatSameYear(): void method testDateFormatDifferentYear (line 223) | public function testDateFormatDifferentYear(): void method testDateFormatNoBracketsDiffYear (line 232) | public function testDateFormatNoBracketsDiffYear(): void method testDateFormatNoBracketsSameYear (line 241) | public function testDateFormatNoBracketsSameYear(): void method testNormalizeThemeName (line 251) | public function testNormalizeThemeName(): void method testAllThemeNamesNormalized (line 262) | public function testAllThemeNamesNormalized(): void FILE: tests/RenderTest.php class RenderTest (line 10) | final class RenderTest extends TestCase method testCardRender (line 46) | public function testCardRender(): void method testErrorCardRender (line 62) | public function testErrorCardRender(): void method testDateFormatRender (line 73) | public function testDateFormatRender(): void method testLocaleRenderDateFormat (line 88) | public function testLocaleRenderDateFormat(): void method testBorderRadius (line 107) | public function testBorderRadius(): void method testSplitLines (line 122) | public function testSplitLines(): void method testDisableAnimations (line 148) | public function testDisableAnimations(): void method testAlphaInHexColors (line 164) | public function testAlphaInHexColors(): void method testGradientBackground (line 190) | public function testGradientBackground(): void method testGradientBackgroundWithMoreThan2Colors (line 204) | public function testGradientBackgroundWithMoreThan2Colors(): void method testExcludeDays (line 218) | public function testExcludeDays(): void method testCardWidth (line 228) | public function testCardWidth(): void method testCardHeight (line 244) | public function testCardHeight(): void method testFirstAndThirdColumnsSwappedWhenDirectionIsRtl (line 260) | public function testFirstAndThirdColumnsSwappedWhenDirectionIsRtl(): void method testExcludeDaysParameter (line 277) | public function testExcludeDaysParameter(): void FILE: tests/StatsTest.php class StatsTest (line 24) | final class StatsTest extends TestCase method testValidUsername (line 29) | public function testValidUsername(): void method testOverrideStartingYear (line 77) | public function testOverrideStartingYear(): void method testInvalidUsername (line 89) | public function testInvalidUsername(): void method testValidUsernameWithWhitelist (line 99) | public function testValidUsernameWithWhitelist(): void method testNotWhitelistedUsername (line 114) | public function testNotWhitelistedUsername(): void method testOrganizationName (line 129) | public function testOrganizationName(): void method testContributedToday (line 139) | public function testContributedToday(): void method testMissingToday (line 170) | public function testMissingToday(): void method testMissingTwoDays (line 201) | public function testMissingTwoDays(): void method testMultipleYearStreak (line 232) | public function testMultipleYearStreak(): void method testFutureCommits (line 262) | public function testFutureCommits(): void method testWeeklyStats (line 326) | public function testWeeklyStats(): void method testWeeklyStatsMissingWeek (line 362) | public function testWeeklyStatsMissingWeek(): void method testWeeklyStatsMissingThisWeek (line 406) | public function testWeeklyStatsMissingThisWeek(): void method testExcludeDays (line 441) | public function testExcludeDays(): void method testExcludeDaysNoContributionBeforeWeekend (line 475) | public function testExcludeDaysNoContributionBeforeWeekend(): void FILE: tests/TranslationsTest.php class TranslationsTest (line 10) | final class TranslationsTest extends TestCase method testAllPhrasesValid (line 15) | public function testAllPhrasesValid(): void method testLocalesSortedAlphabetically (line 48) | public function testLocalesSortedAlphabetically(): void method testKeysNormalized (line 69) | public function testKeysNormalized(): void method testGetTranslations (line 84) | public function testGetTranslations(): void method testNormalizeLocaleCode (line 103) | public function testNormalizeLocaleCode(): void