aboutsummaryrefslogtreecommitdiff
path: root/p
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2023-01-09 12:59:30 +0100
committerGravatar GitHub <noreply@github.com> 2023-01-09 12:59:30 +0100
commit1d9d4e3e3c8dd020ab4d333436264eaa3ef201cd (patch)
tree6f839261a75d5ce7cfc42b3f43673dc250a26ad1 /p
parent3fb8ab8eb5c88042320bbe006825b21f5a8f21de (diff)
Update dev dependencies (#4993)
Related to https://github.com/FreshRSS/FreshRSS/pull/4991 Required a few changes in code to pass the tests
Diffstat (limited to 'p')
-rw-r--r--p/ext.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/p/ext.php b/p/ext.php
index 2979e2365..9427f8c20 100644
--- a/p/ext.php
+++ b/p/ext.php
@@ -60,7 +60,6 @@ function is_valid_path_extension($path, $extensionPath, $isStatic = true) {
// Static files to serve must be under a `ext_dir/static/` directory.
$path_relative_to_ext = substr($path, strlen($real_ext_path) + 1);
- // @phpstan-ignore-next-line
list(,$static,$file) = sscanf($path_relative_to_ext, '%[^/]/%[^/]/%s');
if (null === $file || 'static' !== $static) {
return false;