Commit graph

35 commits

Author SHA1 Message Date
Daimona Eaytoy b18e763c7e Move phan dependency to dev
Change-Id: I2527a26c1cdbf9842e87660c9787362a6d99bdb4
2018-04-30 14:16:46 +02:00
Daimona Eaytoy caa4b1c763 Add phan configuration
This is taken from I6a57a28f22600aafb2e529587ecce6083e9f7da4 and makes
all the needed changes to make phan pass. Seccheck will instead fail,
but since it's not clear how to fix it (and it is non-voting), for the
moment we may merge this and enable phan on IC.

Bug: T192325
Change-Id: I77648b6f8e146114fd43bb0f4dfccdb36b7ac1ac
2018-04-30 08:32:58 +00:00
libraryupgrader 4982b701d6 build: Updating mediawiki/mediawiki-codesniffer to 18.0.0
Change-Id: Ie5152903dc7fada2443ea5cce326419f65553276
2018-04-13 19:47:23 +00:00
libraryupgrader df05002739 build: Updating mediawiki/mediawiki-codesniffer to 17.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.LicenseComment.InvalidLicenseTag

The following sniffs now pass and were enabled:
* MediaWiki.Commenting.FunctionComment.MissingParamComment

Change-Id: I38c334ea6c6ff07dfcb64d551413a02dc8c5e51e
2018-03-28 23:38:50 +00:00
libraryupgrader 6c8a6846d7 build: Updating jakub-onderka/php-parallel-lint to 1.0.0
Change-Id: Ib63fd1bd05fee95704280af71eec167ef6252b9c
2018-03-09 02:53:36 +00:00
libraryupgrader 41abf10087 build: Updating mediawiki/mediawiki-codesniffer to 16.0.1
Change-Id: Ib7fe9da3e3768891f06de00d9cc864f8e1cf7d21
2018-02-25 06:15:43 +00:00
libraryupgrader bdd568da57 build: Updating mediawiki/minus-x to 0.3.1
Change-Id: I2e97091d34be7070a37d2471e52e30b034cdf34d
2018-02-17 17:35:27 +00:00
African Hope a569480b6b Update minus-x from 0.2.1 to 0.3.0
Change-Id: Ie41fed055c0e3260eb58ef4907fc29eaa21243d6
2018-02-17 14:51:28 +00:00
libraryupgrader de9b8638be build: Updating mediawiki/mediawiki-codesniffer to 16.0.0
Change-Id: I6eb54195a53ccb34f8f183ed0eba1dfb48750c0d
2018-02-15 08:24:34 +00:00
Kunal Mehta df1340b3a6 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: I802453f027b25596aa52124f2e906985aef988fe
2018-01-31 22:56:28 -08:00
libraryupgrader 5957f12b89 build: Updating mediawiki/mediawiki-codesniffer to 15.0.0
The following sniffs are failing and were disabled:
* Squiz.Scope.MemberVarScope.Missing
* Squiz.Scope.MethodScope.Missing

Change-Id: Idf7288a33d62d9fc5db5165a0797052e08db55df
2017-12-29 22:58:29 +00:00
libraryupgrader 021c08d424 build: Updating mediawiki/minus-x to 0.2.1
Change-Id: I52c2644fb7922bed84ed1cf6184bd5293b193b02
2017-12-10 00:36:42 +00:00
Kunal Mehta c9f40f3d44 build: Adding MinusX
Change-Id: I3e6ffe2f4b4ed921abbd282359644d2329bbd41f
2017-11-02 11:57:07 -07:00
David Barratt 5335b6c811 Use Equivset library intead of AntiSpoof
Use the new equivset library instead of AntiSpoof.

Bug: T175413
Change-Id: I439387deeba99543e194c210953ac73ff98bc5b7
Depends-On: I977d3498b2084a426e2ab4d85c000d1b9dcfe824
2017-10-21 21:55:18 -07:00
libraryupgrader 9022148cc4 build: Updating mediawiki/mediawiki-codesniffer to 14.1.0
And moved phpcs.xml to .phpcs.xml (T177256).

Change-Id: Iaa8d8b67b8a27a909e3108585660fa3c2495e1fc
2017-10-21 04:16:06 +00:00
libraryupgrader 781f6c2554 build: Updating mediawiki/mediawiki-codesniffer to 13.0.0
The following sniffs are failing and were disabled:
* MediaWiki.VariableAnalysis.ForbiddenGlobalVariables.ForbiddenGlobal$wgTitle

Change-Id: I7163cd8f97a7d2fe5b4410245a72eb416302f4f6
2017-09-24 05:19:01 +00:00
libraryupgrader 83979aefe7 build: Updating mediawiki/mediawiki-codesniffer to 0.12.0
The following sniffs are failing and were disabled:
* MediaWiki.Files.ClassMatchesFilename.NotMatch
* MediaWiki.Files.ClassMatchesFilename.WrongCase
* MediaWiki.Files.OneClassPerFile.MultipleFound

Change-Id: I6fd7e126ce5e379d7b15f160c63bd4ee680f8678
2017-09-01 04:44:02 +00:00
jenkins-bot 3318bf1570 Merge "Remove manual implementation of AntiSpoof::equivString" 2017-08-14 23:11:45 +00:00
Dayllan Maza 22a7f6e912 Remove manual implementation of AntiSpoof::equivString
Cleaned ccnorm method to use AntiSpoof::normalizeString instead going
after AntiSpoof extension files and doing a manual implementation of it.
Also removed composer requirement for AntiSpoof extension.

Bug: T172766
Depends-On: I731733671b650b6bb2f480c41c4f6f2d2f5c62e8
Change-Id: Ib38ba0b06918e81e8af03032eef95e3942773bc1
2017-08-14 16:25:25 -04:00
Kunal Mehta 72427ec974 build: Updating mediawiki/mediawiki-codesniffer to 0.11.0
Change-Id: I26adebde9fcb2894804ab705402d05d9de745cb1
2017-08-10 22:57:33 -04:00
Kunal Mehta 3a58875637 build: Updating mediawiki/mediawiki-codesniffer to 0.10.1
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.FunctionComment.MissingDocumentationProtected
* MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic
* MediaWiki.Commenting.FunctionComment.MissingParamComment
* MediaWiki.Commenting.FunctionComment.MissingParamName
* MediaWiki.Commenting.FunctionComment.MissingParamTag
* MediaWiki.Commenting.FunctionComment.MissingReturn
* MediaWiki.Commenting.FunctionComment.ParamNameNoMatch
* MediaWiki.Commenting.FunctionComment.WrongStyle

The following sniffs now pass and were enabled:
* MediaWiki.Commenting.FunctionComment

Change-Id: I0874c547ef2bc8a7c3fa4ca72738aa3320f2bdbe
2017-07-23 00:03:40 -07:00
Umherirrender 1a58507870 build: Updating mediawiki/mediawiki-codesniffer to 0.10.0
Change-Id: I5f37c45d748d5f0da21aceaef32cc89367e312ff
2017-07-08 20:49:30 +02:00
Umherirrender d4b50be650 Update mediawiki/codesniffer to 0.7.2
Also move --ignore to phpcs.xml for use by phpcbf
Short array syntax will be used in follow ups
to keep this patch set small

Change-Id: Ib91f3768cc7cdccdc26a4d5200178ceb8e61e098
2017-06-13 11:59:10 +02:00
Antoine Musso e37c969cad build: add jakub-onderka/php-console-highlighter
Highlight PHP code when parallel-lint fails

Change-Id: Ie7582baa805457a0445a119bfd5fb859f693e51f
2017-05-05 21:40:00 +02:00
Paladox b3081e1798 Update mediawiki/mediawiki-codesniffer to 0.5.1
Change-Id: I4b2055a76db4362a8136e3fd595228cf07d083a9
2016-08-23 16:18:27 +02:00
Gergő Tisza d527574d2b Add extension.json, empty php entry point
For ease of review this is the same as
Icff39f3f79f7ffe86214cfa216b53f3d882e1968 and the necessary changes
are done in the child patch. Should not be merged without that.

Bug: T87876
Change-Id: Iefd8d34619bbfb7602c4fea869f3f89fdeb9057b
Co-Authored-By: Paladox <thomasmulhall410@yahoo.com>
2016-06-03 19:16:26 +00:00
Gergő Tisza 8cc1aa78bf Revert extension registration and following changes
Reverts:
* e71808f4c4 ("Add extension.json, empty php entry point")
* 8c937957c0 ("Update for AuthManager")

Bug: T136929
Change-Id: Iefc88cb4e981113119f850ca70b9486675bf8a8d
2016-06-03 14:57:55 +00:00
Gergő Tisza e71808f4c4 Add extension.json, empty php entry point
Bug: T87876
Change-Id: Icff39f3f79f7ffe86214cfa216b53f3d882e1968
2016-05-28 18:42:26 +00:00
Siebrand Mazeland ce1396aea7 Add support for PHP CodeSniffer checks
Also fix any remaining errors and warnings.

Change-Id: Ie49c6172e6bbf8040e5524d33d2f719e96784745
2016-01-06 09:59:47 -08:00
Kunal Mehta de43758132 build: Updating development dependencies
* jakub-onderka/php-parallel-lint: 0.9 → 0.9.2

Change-Id: I5cefc144e29548d4a4730d4ed074d80b4b843fb9
2016-01-05 10:28:45 -08:00
Antoine Musso c947751ee4 Add composer test entry point
Lint PHP files via 'composer test'.

Update .gitignore to skip /extensions/ (installed by composer).

Bug: T115213
Change-Id: I043e9a299143d5dfb9a88d410397abdf5209619e
2015-10-12 14:43:14 +02:00
umherirrender 4d9ab8f840 Use https in composer.json
Change-Id: I2e489641b2fdd673ccb79bae27a30910ba386eb5
2015-03-28 11:49:15 +01:00
Kunal Mehta 503604890e Specify an actual version constraint for composer/installers
Change-Id: Iac879820d0d4cc8b46c0daae42f5a4f1788be264
2014-12-29 11:36:03 -08:00
addshore e981f23b92 make composer use dev-master
Change-Id: I16ab1386ed14286efec482fa21b268d27fd18ab6
2014-03-09 19:02:38 +01:00
Matthias Mullie 8ffebe3502 Add composer.json
Change-Id: I63026dda084c056968c4ccb308506089a13f3f32
2013-02-14 13:41:40 +00:00