Commit graph

74 commits

Author SHA1 Message Date
Kunal Mehta e9208739b6 Add phan configuration
Change-Id: Ie8aee5326c4217e151dee816bc5a3d6b71bf6aa2
2018-02-24 13:33:36 -08:00
Kunal Mehta e94bcd06f0 Don't autoload ImageMap class via composer
There's no need for this since the class is loaded via MediaWiki's
autoloader.

Change-Id: Ia790f4afef22bf3c5a0dbb0b34e33b65277efc15
2018-02-24 13:10:24 -08:00
libraryupgrader 849cbb2e2d build: Updating mediawiki/minus-x to 0.3.1
Change-Id: If7d4857d0e125bc0c5d3792bf4654ee7aa827b9f
2018-02-17 23:14:58 +00:00
Kunal Mehta 10a7e397a5 Set phan-taint-check-plugin version in composer.json
We cannot set this in the normal "require-dev" because the plugin
depends on exactly PHP 7.0, preventing running tests on any other PHP
version.

Instead, CI will read the version number out of the "extra" field to
figure out what version to install.

Bug: T187497
Change-Id: I5053e8059eb986d5be4b6cd0b0cc4488353d98c5
2018-02-16 13:40:52 -08:00
libraryupgrader 613872b9ca build: Updating mediawiki/mediawiki-codesniffer to 16.0.0
Change-Id: If14cb5cc50601778b1dd859a43607345e3a08092
2018-02-15 11:58:49 +00:00
Kunal Mehta 8420a0ee09 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: I0b4d6b5eb3e210a131937e65268091ec83f0b46c
2018-01-31 23:12:14 -08:00
libraryupgrader 74ab34edcb build: Updating mediawiki/mediawiki-codesniffer to 15.0.0
The following sniffs are failing and were disabled:
* Squiz.Scope.MethodScope.Missing

Change-Id: Ib541fdecc690d18bb78cdfd255041988e4c94921
2017-12-30 00:55:18 +00:00
libraryupgrader ed6333dfd4 build: Updating mediawiki/minus-x to 0.2.1
Change-Id: If3d791528dc92bcc640c898df0a19177fd6d86c5
2017-12-10 22:30:47 +00:00
Umherirrender 0b1325bc4b build: Always exclude vendor and node_modules
Change-Id: I8018552eb5e44961c0ae0851c9fa075a70525405
2017-11-11 23:49:43 +01:00
Kunal Mehta 08c922f5a1 build: Adding MinusX
Change-Id: I28e81c976a1499861e7eae4a35c639f4b9bc8ac9
2017-11-03 16:43:19 -07:00
libraryupgrader 959036c019 build: Updating mediawiki/mediawiki-codesniffer to 14.1.0
And moved phpcs.xml to .phpcs.xml (T177256).

Change-Id: I4e123cbd12020921358a7bca9210ce51f604435a
2017-10-21 04:24:19 +00:00
libraryupgrader a1096833c1 build: Updating mediawiki/mediawiki-codesniffer to 13.0.0
Change-Id: I756ab003121de17050937dd2132d653caed693bb
2017-09-24 05:27:24 +00:00
libraryupgrader c64432ab63 build: Updating mediawiki/mediawiki-codesniffer to 0.12.0
The following sniffs are failing and were disabled:
* MediaWiki.Files.ClassMatchesFilename.NotMatch

Change-Id: Ifa454fa0d596b0c8948d551ef2548a0bd5278a77
2017-09-01 04:51:44 +00:00
Kunal Mehta 122587d584 build: Updating mediawiki/mediawiki-codesniffer to 0.11.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.FunctionComment.MissingParamComment
* MediaWiki.Commenting.FunctionComment.MissingParamName
* MediaWiki.Commenting.FunctionComment.MissingParamTag
* MediaWiki.Commenting.FunctionComment.ParamNameNoMatch

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

Change-Id: I9f58d44f225ee06e13ca1d0d2cf9818962050487
2017-08-10 23:48:15 -04:00
Umherirrender 3fc6f2afb4 Do not die on phpcs run
Loading the php shim with composer autoload on phpcs run breaks phpcs

Bug: T168738
Change-Id: I6577a34fcb3d20f905e7120d39506bffc50b2fa2
2017-07-27 22:04:23 +02:00
Kunal Mehta 9479b86955 build: Updating mediawiki/mediawiki-codesniffer to 0.10.1
Change-Id: I9d427a9115965011f56520b70b085b5e9fbf5ec8
2017-07-23 00:25:27 -07:00
Kunal Mehta 706b758704 build: Updating mediawiki/mediawiki-codesniffer to 0.10.0
Change-Id: I71efb7abb37a71a082653e94eb8c3e65d98a452f
2017-07-01 09:50:37 +00:00
Umherirrender 75e17c0d86 Update php to 5.4
Extension is using short array syntax

Change-Id: I9baa88c8d5d8aecc6b392eed77d00da3bedd73b9
2017-06-21 18:39:22 +02:00
Kunal Mehta b9cf93fbcb build: Updating mediawiki/mediawiki-codesniffer to 0.9.0
Change-Id: I5b967bb44ead65798548e739c09a34a6769e453f
2017-06-20 00:08:53 -07:00
Umherirrender ac2641cddd Add phpcs and make pass
Change-Id: Ia62022c4a57719bdafb618047490a005e6c373ce
2017-05-17 19:20:32 +00:00
Antoine Musso 6485ec6491 build: add jakub-onderka/php-console-highlighter
Highlight PHP code when parallel-lint fails

Change-Id: Ie7582baa805457a0445a119bfd5fb859f693e51f
2017-05-05 21:40:01 +02:00
Umherirrender 46158f287d Add php-parallel-lint
php-lint will test for valid php files

Change-Id: I6ed8d0dd87ed383cc49beb3397521a28abfe1217
2017-05-04 20:09:43 +02:00
Kghbln 65fb633a98 Tweaking license information
* Add license label to extension.json
* Make composer.json consistent with COPYING
  GPL-2.0+ is fine (see T130531)

Bug: T123943
Bug: T130531
Change-Id: I6e4d718a413a938a247ede847367769eefa6156a
2016-04-12 18:53:20 +00:00
welterkj d9676dc4ca Add composer support.
Change-Id: I5d41737028a7337021c48a3c70efeba821d6d0c2
2014-06-24 13:56:26 -07:00