Commit graph

233 commits

Author SHA1 Message Date
libraryupgrader d160ac6796 build: Updating mediawiki/mediawiki-codesniffer to 20.0.0
Change-Id: I4a5fa6560b214bca8b4ef259febca12fe4cb8eaf
2018-05-26 05:48:25 +00:00
Subramanya Sastry bc7b145051 Update parsertests to use newer test format + tidy html always
Change-Id: I7f04dc28d11048c2b5794b1ef27d08cde1e62f13
2018-05-22 08:35:20 -05:00
Kunal Mehta 8552303267 Upgrade phan-taint-check-plugin to 1.2.0
Change-Id: I38ce057fc41a0164922f403b77d998df2b4f1099
2018-05-04 19:53:10 -07:00
libraryupgrader 1d68da3505 build: Updating mediawiki/mediawiki-codesniffer to 18.0.0
Change-Id: I0e7958bdede6c195a40030e65b3ff4779bbfb569
2018-04-14 05:28:45 +00:00
Kunal Mehta 9c4ca01661 build: Updating mediawiki/mediawiki-phan-config to 0.2.0
Change-Id: I68e102d81e3d72d4f434622a47c32a564f4e2a74
2018-04-05 17:21:00 -07:00
Thiemo Mättig 870611c0bb Cleanup and streamline Poem class
* I think the dependency on a more recent PHP version was forgotten.
  Notice how the code already contained short array syntax.
* Make the @license more visible in the class itself.
* I'm intentionally only listing the original @author. Copying this
  author line was forgotten in Ieea24d5.
* Remove not needed "return true" from the hook handler. This is the
  default anyway.
* Use the …::class feature when possible.
* Remove the unwanted &$parser reference. This is only here for legacy
  reasons, but does not make any sense any more (Why would a hook
  handler want to replace the *parser*?), and can be removed from
  callees (not from callers) with no consequence.
* Add strict type hints to function headers for type safety. I checked
  the caller in Parser::extensionSubstitution() that will call
  Poem::renderPoem(), and it is impossible for the Parser to be null,
  and impossible for the frame to be false.

Change-Id: I4b4203bf1cef0c057db5e6a7747d441d0b0e4b54
2018-03-29 19:47:39 +00:00
libraryupgrader dfce621da1 build: Updating mediawiki/mediawiki-codesniffer to 17.0.0
Change-Id: I40d7b6a874fb9ebf3d9ae1bc0b301f8f7b3747b1
2018-03-29 05:06:16 +00:00
Translation updater bot e4688afeb3 Localisation updates from https://translatewiki.net.
Change-Id: Idab641a4688f5750b82bd70c42132c081d9e78fe
2018-03-13 22:23:55 +01:00
libraryupgrader 7aa43cc080 build: Updating jakub-onderka/php-parallel-lint to 1.0.0
Change-Id: I885d11df575232b0793ef6e5c605ce3db8211ab6
2018-03-10 02:11:42 +00:00
Jayprakash12345 2ad483d747 Move parser tests file to normal location and add a styled one
Bug: T188527
Change-Id: Ib5023c7656e7f27ba58a99da3c2659e18674ac5a
2018-03-05 18:29:56 +00:00
libraryupgrader 9ef98cba2d build: Updating mediawiki/mediawiki-codesniffer to 16.0.1
Change-Id: I5a6ad4729752d2edf0ca6622553c784839652819
2018-02-25 10:34:38 +00:00
Kunal Mehta fe52b2318a Add phan configuration
Change-Id: I2479f6ae40cfa410bed3e75a3c3da9bfaf66e41c
2018-02-24 16:53:45 -08:00
Kunal Mehta 1266a9fd0d Move class into includes/
Change-Id: I8e298debf7da3c64769f13aeda91a29646536e3c
2018-02-24 16:51:46 -08:00
James D. Forrester 997e62310f build: Bump devDependencies to latest
grunt                 1.0.1  →  1.0.2
 grunt-banana-checker  0.4.0  →  0.6.0
 grunt-jsonlint        1.0.7  →  1.1.0

Change-Id: Ib21609424faa4d805dcf60bbb7a3628a1ccadb27
2018-02-23 18:23:11 -08:00
libraryupgrader ada46e4ec7 build: Updating mediawiki/minus-x to 0.3.1
Change-Id: I13fa91279fad9b36da1cff653cebce7e9e26fc47
2018-02-18 07:07:27 +00:00
Kunal Mehta 86a9bbfc5e 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: I07daf6fb204f0cab61a88bb791fd4906e1c23a96
2018-02-16 13:44:12 -08:00
Translation updater bot b52f789da6 Localisation updates from https://translatewiki.net.
Change-Id: I9fa7a175ba661a8ecc970baa127808f6a33418a3
2018-02-15 22:47:18 +01:00
libraryupgrader 4dba35f802 build: Updating mediawiki/mediawiki-codesniffer to 16.0.0
Change-Id: I81f8da081397b972fd50878bf0b10512fbad1025
2018-02-15 13:43:53 +00:00
Translation updater bot a2e39776f5 Localisation updates from https://translatewiki.net.
Change-Id: I7e9e7e0eb44f676995810d4c1dbe2b699fa4a799
2018-02-12 09:23:50 +01:00
Translation updater bot 96e1433490 Localisation updates from https://translatewiki.net.
Change-Id: I07e66dafbce34ebded57fdf5cc0a25094ac4fa6d
2018-01-01 09:20:12 +01:00
libraryupgrader 5aed07b3f7 build: Updating mediawiki/mediawiki-codesniffer to 15.0.0
Change-Id: Ic2bea7677f7df719c32d53009e2056abb4a049d8
2017-12-30 02:10:30 +00:00
libraryupgrader 0182b2ce21 build: Updating mediawiki/minus-x to 0.2.1
Change-Id: I98361f556b45052d26e46d4a93e1adbe603dbb27
2017-12-11 01:40:39 +00:00
Umherirrender 6215466509 build: Always exclude vendor
Change-Id: I5f700b6f1f883852c7828b8fd7827440e7d56f42
2017-11-08 17:54:47 +01:00
Kunal Mehta cf6a9f455d build: Adding MinusX
Change-Id: If73be1dc2e951c912f26a95177702a48b421502f
2017-11-03 18:47:20 -07:00
libraryupgrader fd13e48f30 build: Updating mediawiki/mediawiki-codesniffer to 14.1.0
And moved phpcs.xml to .phpcs.xml (T177256).

Change-Id: I704c25bb31df9dcf15560e7d6cc73533f56f3429
2017-10-21 04:28:42 +00:00
libraryupgrader f8a259af76 build: Updating mediawiki/mediawiki-codesniffer to 13.0.0
Change-Id: Ie994e03f92327b5b58add34c1aa0e9f2e57397e9
2017-09-24 05:31:43 +00:00
libraryupgrader 887a30fde2 build: Updating mediawiki/mediawiki-codesniffer to 0.12.0
The following sniffs are failing and were disabled:
* MediaWiki.Files.ClassMatchesFilename.NotMatch

Change-Id: I9acf3f8c0743971b43aa9644530e923e3fd2849e
2017-09-01 04:55:46 +00:00
Kunal Mehta 66d8b9a945 build: Updating mediawiki/mediawiki-codesniffer to 0.11.0
Change-Id: I6b362dea6f212e12201687356efedcc615b23079
2017-08-11 00:20:14 -04:00
Umherirrender b5c05eddc4 Improve some parameter docs
Change-Id: I1c877b5a985d13b8a4ee04a9583833652337b31e
2017-08-10 13:23:22 +02:00
Antoine Musso dbcab3a430 build: bump grunt and drop grunt-cli
grunt 1.x now includes a CLI command, hence grunt-cli is no more needed.

Change-Id: I94f0c66236b5f0f12220741276c7fe24a89c65e0
2017-08-01 10:45:34 +02:00
Kunal Mehta ce7b1fa82d build: Updating mediawiki/mediawiki-codesniffer to 0.10.1
Change-Id: Ia3f605d1601a9c8f3bb50e97409d3c0bb78baabe
2017-07-23 00:35:08 -07:00
Umherirrender ae4eb5eb90 Remove 'install.settings' file
It's redundant with the installation instructions on mediawiki.org.
It also seems a bit non-standard
and not very clear how it should be used.

Change-Id: If7087bd5878a1085d97e7e1053a16fefbce5827b
2017-07-19 17:13:39 +02:00
Kunal Mehta 333357f907 build: Updating mediawiki/mediawiki-codesniffer to 0.10.0
Change-Id: Ieeb72d04816d6871f2c7b9c9c27cadfd5211dea4
2017-07-01 01:40:05 -07:00
Translation updater bot b14ad2f3cd Localisation updates from https://translatewiki.net.
Change-Id: I378fee83ec33c39bddd4201ba76a3545c9714bee
2017-06-25 23:11:37 +02:00
Kunal Mehta 85d22a9292 build: Updating mediawiki/mediawiki-codesniffer to 0.9.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.FunctionComment.MissingParamComment
* MediaWiki.Commenting.FunctionComment.MissingParamTag
* MediaWiki.Commenting.FunctionComment.ParamNameNoMatch

Change-Id: I08981a4f0a0604c4cb236aeb8542b7917d776d42
2017-06-20 00:19:26 -07:00
Amir Sarabadani d565025627 Add CODE_OF_CONDUCT.md
Bug: T165540
Change-Id: I39a240a63be432745a564ce895ba7fcaac30072d
2017-06-07 15:28:08 +04:30
Umherirrender 96442dd8bb Add phpcs and make pass
Change-Id: I2b7c995e60d55e023b87c554274651654fb5d0b7
2017-05-18 18:26:55 +02:00
Antoine Musso e059db8809 build: add jakub-onderka/php-console-highlighter
Highlight PHP code when parallel-lint fails

Change-Id: Ie7582baa805457a0445a119bfd5fb859f693e51f
2017-05-05 21:40:02 +02:00
Antoine Musso bfd447d540 build: add grunt-contrib-jshint
See T119973

Change-Id: Ida40b1afec6687dc50d094d965da346675d06f06
2017-04-21 18:24:05 +02:00
Translation updater bot df58ab7e01 Localisation updates from https://translatewiki.net.
Change-Id: I83ba73329b6f9c90f312bd26a6b27b8ded248cf9
2017-02-26 22:44:56 +01:00
Translation updater bot b7021f37bc Localisation updates from https://translatewiki.net.
Change-Id: Id035466c4f40cc5ecf03b07b76cd4e746b900623
2017-01-01 10:08:04 +01:00
Chad Horohoe 4ada2a8c94 Whoops, track not trace
Change-Id: Ibe7664cd5f4f9e39829b185fbe61bc3b081cf2c2
2016-10-24 17:03:18 -07:00
Chad Horohoe 572783c152 Swapping defaultbranch for trace
The former is a maintenance nightmare when branching.

Bug:T146293
Change-Id: I7aed6859a966019be33c8dd92fd2973433ff1af3
2016-10-24 16:38:09 -07:00
Kunal Mehta 49046ec248 build: Updating development dependencies
* jakub-onderka/php-parallel-lint: 0.9 → 0.9.2

Change-Id: I65f7402663e3c0c47e57f4ac57bf7f66f5e3e966
2016-01-05 10:39:20 -08:00
Kunal Mehta 5bc1a2a83a build: Updating development dependencies
* grunt-jsonlint: 1.0.4 → 1.0.7

Change-Id: Iee2004208f2ddb4cb6c1547e7ec6326450e240ab
2015-12-29 11:48:00 -08:00
jenkins-bot 8cac3e0faa Merge "Release Poem under CC0 1.0 public domain dedication" 2015-11-25 15:48:24 +00:00
Antoine Musso acfb48e827 composer test entry point
Just run php lint for now.

Change-Id: I2bbe7543588c25669e4d4a3958b66f3f79240ea5
2015-11-23 21:56:34 +01:00
Translation updater bot 973c408a38 Localisation updates from https://translatewiki.net.
Change-Id: I1c124d64c4fcb39c164f8012971270862016d003
2015-11-14 22:17:24 +01:00
This, that and the other f3dc553141 Release Poem under CC0 1.0 public domain dedication
Bug: T109963
Change-Id: Ic82c5cc4203fc238ff4f99f9e091a2c158d7ea81
2015-11-05 11:30:36 +11:00
Translation updater bot 819574115a Localisation updates from https://translatewiki.net.
Change-Id: Idafaec5df0616a753dd5ee0f8cec8562b5092d42
2015-10-31 21:06:56 +01:00