From 29492513cf3b47dd53fbc49e2b566c550334b84c Mon Sep 17 00:00:00 2001 From: Daimona Eaytoy Date: Tue, 12 Jun 2018 15:37:03 +0200 Subject: [PATCH] Add phan seccheck to composer and remove deprecated module Seccheck is currently being executed as non-voting, but it always succeeds because AbuseFilter is not requiring it in composer. Instead, let's add it: tests will start to fail, but we'll be able to see how things are going with it. As a bonus, remove the mediawiki.api.parse module, which is deprecated in 1.32 and replaced by mediawiki.api (already loaded). Change-Id: I094a8af4f97c03f8b538ede00420b123de25138a --- composer.json | 3 +++ extension.json | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index d0dfb521d..09c526b18 100644 --- a/composer.json +++ b/composer.json @@ -25,5 +25,8 @@ "phpcs -p -s", "minus-x check ." ] + }, + "extra": { + "phan-taint-check-plugin": "1.2.0" } } diff --git a/extension.json b/extension.json index 5ae55c7c8..c69d32cf9 100644 --- a/extension.json +++ b/extension.json @@ -167,7 +167,6 @@ "dependencies": [ "mediawiki.util", "mediawiki.api", - "mediawiki.api.parse", "jquery.textSelection", "jquery.spinner" ]