aboutsummaryrefslogtreecommitdiff
path: root/app/class/Controllermedia.php
diff options
context:
space:
mode:
authorn-peugnet <n.peugnet@free.fr>2020-04-28 19:08:49 +0200
committern-peugnet <n.peugnet@free.fr>2020-04-28 19:08:49 +0200
commitd66de69ba57f00079ab8d5e4b9a1d1f73093e76a (patch)
treea65685179e4310912118fff1e39a86621a3eb847 /app/class/Controllermedia.php
parent30b516bfcf56249c6954bd1aaf4e3c52b18f57fe (diff)
downloadwcms-d66de69ba57f00079ab8d5e4b9a1d1f73093e76a.tar.gz
wcms-d66de69ba57f00079ab8d5e4b9a1d1f73093e76a.zip
tests: phpstan adjustments + 3 phpstan fixes
- force exclude templates and vendor directories @vincent-peugnet: this should stop the phpstan-vscode extension to report errors in templates. - fix errors that were only reported on github because of php 7.3: - Missing @throws JsonException annotation - Regex pattern is invalid: Compilation failed: invalid range in character class at offset 16 in pattern: %(src|href)="([\w-_]+(\/([\w-_])+)*\.[a-z0-9]{1,5})"% the regex expected a range beacause the `-` char was placed in between two others. + `\w` includes `_` - plus one last easy error: PHPDoc tag @param references unknown parameter: $authorcompare
Diffstat (limited to 'app/class/Controllermedia.php')
0 files changed, 0 insertions, 0 deletions