Commit graph

40 commits

Author SHA1 Message Date
libraryupgrader 0388cd7f69 build: Updating mediawiki/mediawiki-codesniffer to 23.0.0
Change-Id: I1f518ca56c9eb193e9ca198a3a94600168bbc3dc
2018-11-16 14:47:11 +00:00
libraryupgrader c811436c11 build: Updating mediawiki/phan-taint-check-plugin to 1.5.0
Change-Id: Ib4b4843ed153d299bd32a8dade56fbf0a864e03c
2018-09-08 08:30:43 +00:00
Kunal Mehta 648d35c08d Configure phan-taint-check-plugin
The plugin checks and flags potential security issues (XSS, SQLi, etc.)
using static analysis.

See <https://www.mediawiki.org/wiki/Phan-taint-check-plugin> for more
details.

Change-Id: Id3b79e169ff9d156bb7583eded90ac0e9f5e71ab
2018-09-04 20:37:20 -07:00
libraryupgrader 75711ed669 build: Updating mediawiki/mediawiki-codesniffer to 22.0.0
And updating CoC link to use Special:MyLanguage (T202047).

Change-Id: Idd04f3911556f7bcc0ac135b8e86ccfb2d7f969f
2018-09-04 01:45:34 +00:00
libraryupgrader a52d4885e5 build: Updating mediawiki/mediawiki-codesniffer to 21.0.0
Change-Id: I930a8b70bc146a483c07f290f11964b4d83ff94e
2018-07-28 00:10:37 +00:00
libraryupgrader ef41c7876f build: Updating mediawiki/mediawiki-phan-config to 0.3.0
Change-Id: I4be191a516c87938daf20bf3bc8f06b22206fb8d
2018-06-08 08:20:14 +00:00
libraryupgrader 3d94085878 build: Updating mediawiki/mediawiki-codesniffer to 20.0.0
Change-Id: I867377f16de7b60c76c8e0baccddfd0f837f1144
2018-05-26 08:52:10 +00:00
Kunal Mehta 5d962c88b2 Upgrade mediawiki/mediawiki-phan-config to 0.2.0
Notably, this suppresses PhanDeprecatedFunction by default.

Change-Id: I188a3894c4b974b65ef96e325323f70f4708aaa8
2018-05-21 09:17:50 -07:00
Phantom42 0363a54bf4 Add phan configuration for static analysis
Bug: T179554
Change-Id: I587285fb3687541233156e19e24cd448e9a7976a
2018-05-02 14:16:00 -07:00
libraryupgrader 7fe0cc31e4 build: Updating mediawiki/mediawiki-codesniffer to 18.0.0
Change-Id: Ieaa717435883cd65a73f4ccb9913fb2a4f1364f9
2018-04-14 09:55:43 +00:00
libraryupgrader 893d44dbbe build: Updating mediawiki/mediawiki-codesniffer to 17.0.0
The following sniffs now pass and were enabled:
* MediaWiki.Commenting.FunctionComment.MissingParamComment

Change-Id: Id88a6518e80a43e5c8a082f656d0e8b7eb33ecce
2018-03-29 08:12:17 +00:00
libraryupgrader 26f071b036 build: Updating jakub-onderka/php-parallel-lint to 1.0.0
Change-Id: Id5eb8984242369af5e0bacaf533b8ea34cbabd04
2018-03-10 10:26:27 +00:00
libraryupgrader 872a719fef build: Updating mediawiki/mediawiki-codesniffer to 16.0.1
Change-Id: Idacdb7f86c1f866f2ca0c963a86848178ab93041
2018-02-25 13:16:42 +00:00
libraryupgrader c4eca71e91 build: Updating mediawiki/minus-x to 0.3.1
Change-Id: Iab3a307039341ea7f83d20eddb23e262d24d7f6f
2018-02-18 13:23:47 +00:00
Kunal Mehta 1c2eeb1fdc Use SPDX 3.0 license identifier
SPDX released version 3 of their license list (<https://spdx.org/licenses/>),
which changed the FSF licenses to explicitly end in -only or -or-later
instead of relying on an easy to miss + symbol.

Bug: T183858
Change-Id: Ie8a20191fd9505eb5f0a6a3a010a602d2a44a58e
2018-02-16 10:41:02 -08:00
libraryupgrader 6fbdf97eb5 build: Updating mediawiki/mediawiki-codesniffer to 16.0.0
Change-Id: I583e21ec56e237d77fcca70d5c7f623b90b978b9
2018-02-15 17:03:25 +00:00
Alangi Derick 1d56823f8b Update Minus-X from 0.2.1 to 0.3.0 in Vector skin
Change-Id: I7358a947ece48e1e5043dd59cef06a748f64acc8
2018-01-26 16:48:44 +01:00
libraryupgrader 8ae2c0c2d6 build: Updating mediawiki/mediawiki-codesniffer to 15.0.0
The following sniffs are failing and were disabled:
* Squiz.Scope.MethodScope.Missing

Change-Id: I95d20a660bc1f4f101f72ce17b49e9b640bb6f45
2017-12-30 04:04:36 +00:00
Rafid Aslam 43b1ed9e18 Add minus-x to "composer test"
Add minus-x to "composer test" and "composer fix"

Bug: T175794
Change-Id: I0a8b67e15f691aa1dad78d28e220cf9d5bcd8b0f
2017-12-20 21:46:11 +07:00
libraryupgrader 0317d33fb4 build: Updating mediawiki/mediawiki-codesniffer to 14.1.0
And moved phpcs.xml to .phpcs.xml (T177256).

Change-Id: I234f4396d7ab0408179b2cf873749b5aabb88a28
2017-10-21 04:35:15 +00:00
libraryupgrader 458477e466 build: Updating mediawiki/mediawiki-codesniffer to 13.0.0
Change-Id: I05171df79484c53a4aa97b57a1c3156e6d82aebd
2017-09-24 05:37:56 +00:00
libraryupgrader 38c524d370 build: Updating mediawiki/mediawiki-codesniffer to 0.12.0
The following sniffs are failing and were disabled:
* MediaWiki.Files.ClassMatchesFilename.NotMatch

Change-Id: Ia0545dbd8c599b525b57d6e42279e04dabdf6495
2017-09-01 05:01:28 +00:00
Kunal Mehta 706f6f2a87 build: Updating mediawiki/mediawiki-codesniffer to 0.11.0
Change-Id: I7b00201b7f81d88115be496c6bbb9cb317d07324
2017-08-14 22:56:39 -07:00
Umherirrender 59ddbcecff build: Updating mediawiki/mediawiki-codesniffer to 0.10.1
Change-Id: I1e4fc4fc234b4108c42473e53be608f5f9ba9021
2017-07-24 19:08:55 +02:00
Umherirrender 7e88b1ba45 build: Updating mediawiki/mediawiki-codesniffer to 0.10.0
Change-Id: I7194b948cdae7832c25258d22f51cddbc1dd49dc
2017-07-07 21:25:39 +02:00
Umherirrender 40167a9335 build: Updating mediawiki/mediawiki-codesniffer to 0.9.0
Change-Id: I5d9643f9a0dc33c05b7404a88209d244b4badae3
2017-06-23 22:06:01 +02:00
Antoine Musso 1ac0fcc427 build: add jakub-onderka/php-console-highlighter
Highlight PHP code when parallel-lint fails

Change-Id: Ie7582baa805457a0445a119bfd5fb859f693e51f
2017-05-05 22:17:04 +02:00
Paladox 54340dfd90 Update git.wikimedia.org refrences and replace them with diffusion
Bug: T139089
Change-Id: Ia9c58d39bb79894807ec20b4b74c0317670d394e
2016-06-30 20:22:29 +01:00
Paladox e8a27cb194 Update mediawiki/mediawiki-codesniffer to 0.7.2
Change-Id: I6cc388af0b771b64b35033fa77689d79ac16072a
2016-06-03 14:31:19 +01:00
addshore 91c84b5eab composer.json mediawiki/mediawiki-codesniffer to 0.7.1
Change-Id: Ibe3f7d7903aeff699a89fdf0b3229f3c76aeb566
2016-05-08 19:17:40 +01:00
Siebrand Mazeland 8a09ba2014 Use mediawiki-codesniffer 0.6.0
Change-Id: Ibbc42739d1bafea203c14f0ab351e7e063dc66bc
2016-03-07 14:24:27 +01:00
Paladox 76b668eaf5 Update grunt-jsonlint to 1.0.7 and MW codesniffer to 0.5.1
Change-Id: If8c4cc68156467746a679144039b978fe0247401
2015-12-29 11:33:41 +00:00
saper 0f74eae0d6 We are Vector, not vector
Bug: T121490
Bug: T117856
Change-Id: Icfcefa5b460119963aebbbe980f31fce3c95a6a0
2015-12-16 09:57:37 +01:00
umherirrender 77fc8ae9f6 Update codesniffer version
mediawiki/mediawiki-codesniffer: 0.4.0 -> 0.5.0

Change-Id: I996b30e2e3626dfc93579d5b1be229e49e775179
2015-11-06 10:08:32 +01:00
Paladox c9e664ca99 Make it easer to debug php code sniffer, Update mediawiki/mediawiki-codesniffer to 0.4.0
Change-Id: I28a0aa347c43811e54afd901d8059e93b00208a2
2015-09-29 21:33:17 +00:00
Timo Tijhof eb6d66a22d build: Move config to phpcs.xml and require php 5.3.3
* Reformat without all the spurious spaces.
* Update php requirement to 5.3.3 to match MediaWiki core and
  other Wikimedia libraries.
* Update php-parallel-lint to v0.9.
* Move phpcs config to a separate file.

Change-Id: I30895c87dd082dfae0a1b95237d5619ae89fa6fe
2015-07-06 13:30:47 +01:00
paladox 045ca339a5 Update mediawiki codesniffer to 0.3.0
Change-Id: If0ce45250a5954a1db6cccfe93b4455de840ef5e
2015-06-26 22:04:39 +00:00
Vivek Ghaisas 28c2e986ae Don't autoload Vector.php using composer.json
As per T467, the RfC for extension management with composer has been
declined. Hence, we can get rid of Vector.php from composer.json, thus
also solving the issue of `composer test` die()ing because it loads
Vector.php and wfLoadSkin is not found.

Any users who are currently installing the skin via composer will need
to add "wfLoadSkin( 'Vector' )" to their LocalSettings.php.

Bug: T103800
Change-Id: Icd8acc34f52be9c3c0f564744d2eb2aae7f34398
2015-06-25 21:19:09 +00:00
Vivek Ghaisas e0289b7d0c Run phplint and phpcs through "composer test" entry point
Also fixed files to match coding standards. (Checked against
tools/codesniffer v0.2.0)

Bug: T90943
Change-Id: I38dcb7a5389cf6986dc1247b9291bfb1ad3fca7d
2015-06-09 16:37:14 +03:00
mwjames 8084362545 Add composer.json
To prepare for the usage of `composer require mediawiki/vector-skin`

Change-Id: I7fbdfcf03de9cb26f97687958d590bbb6fe9b38b
2014-08-28 04:06:03 +09:00