Commit graph

50 commits

Author SHA1 Message Date
libraryupgrader d9edc022fe build: Updating mediawiki/mediawiki-phan-config to 0.10.2
Additional changes:
* Removed phan-taint-check-plugin from extra, now inherited from mediawiki-phan-config.

Change-Id: Ia9eb5a9e4914584b46b6de463f05d54ff4190d85
2020-06-01 22:56:13 +00:00
libraryupgrader d768d997e3 build: Updating composer dependencies
* php-parallel-lint/php-console-highlighter: 0.4.0 → 0.5.0
* php-parallel-lint/php-parallel-lint: 1.0.0 → 1.2.0

Change-Id: I7d9c54dca300f6ee119fb63f7f82c019ab9c1f98
2020-05-31 10:16:00 +00:00
libraryupgrader 81684e3ba9 build: Updating mediawiki/mediawiki-codesniffer to 31.0.0
Additional changes:
* Replaced "jakub-onderka" packages with "php-parallel-lint".

Change-Id: Ic77c141aee22af68585831d8a0d342e6b1453561
2020-05-30 04:55:42 +00:00
libraryupgrader 23bd68e266 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 29.0.0 → 30.0.0

npm:
* eslint-config-wikimedia: 0.15.0 → 0.15.3

Change-Id: I10c033e7cac38c0e9f67dfab7ab1df8616926c05
2020-04-22 16:47:14 +00:00
libraryupgrader 66f6d8af9f build: Updating composer dependencies
* jakub-onderka/php-console-highlighter: 0.3.2 → 0.4.0
* mediawiki/minus-x: 0.3.2 → 1.0.0
* mediawiki/mediawiki-phan-config: 0.9.0 → 0.9.1

Change-Id: I009de0785aff5fa99e042fd77508252ae98ea582
2020-01-30 00:17:59 +00:00
libraryupgrader 9133e04b00 build: Updating mediawiki/mediawiki-codesniffer to 29.0.0
Additional changes:
* Also sorted "composer fix" command to run phpcbf last.

Change-Id: I734d70580aa205de1fbf4e0503524923e4e70223
2020-01-14 10:55:31 +00:00
libraryupgrader a4f033eb8b build: Updating mediawiki/mediawiki-phan-config to 0.9.0
Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: I3f55f06324167e9391ef6e563018d10ee5c03916
2019-12-21 22:50:45 +00:00
libraryupgrader 54f9e69424 build: Updating mediawiki/minus-x to 0.3.2
Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: I04c1dd159a935a7a2c261fb3582d672082182bb8
2019-12-17 22:59:59 +00:00
Umherirrender eb4ed13e90 build: Updating mediawiki/mediawiki-phan-config to 0.8.0
Bug: T235049
Change-Id: I8916a5ff880dabe93acb57f6c19b9c4a739e929b
2019-11-04 18:47:01 +01:00
James D. Forrester 905aec1725 build: Upgrade mediawiki-codesniffer to v28.0.0
Change-Id: I057817af3dac86fac1c2a31a6c6da7f8ad1fd06f
2019-10-11 11:12:45 -07:00
libraryupgrader 5d96cf2304 build: Updating mediawiki/mediawiki-codesniffer to 26.0.0
Additional changes:
* Committed package-lock.json (T179229) too.

Change-Id: If89203c8a9357dd3823a3003106a2b5afbea08c5
2019-07-14 15:15:35 +00:00
James D. Forrester d4e9fb6886 build: Upgrade phan-taint-check-plugin from 1.5.x to 2.0.1
Change-Id: I4776fd4d98be963bb42ce5b5878729b107f46342
2019-07-09 14:14:27 -07:00
libraryupgrader 22c22c3a01 build: Updating mediawiki/mediawiki-phan-config to 0.6.1
Change-Id: I1ac6dd739fc4786753bfc5b8df742dd6df3403b7
2019-06-10 10:02:48 +00:00
James D. Forrester c6307cb166 build: Upgrade mediawiki/mediawiki-phan-config from 0.5.0 to 0.6.0
Change-Id: I3d95af5fb12f093066fb63b090b8a8f9154d6050
2019-05-19 13:27:39 +02:00
libraryupgrader 613f6f68d4 build: Updating mediawiki/mediawiki-phan-config to 0.5.0
Change-Id: I1d485d6ffd9a8fe7031ee73b634af25628d75c12
2019-03-10 22:21:32 -07:00
zoranzoki21 eca8be4d97 Upgrade Poem extension to use newer phan
Bug: T216936
Change-Id: I0b5286df33cd08ea6c35e40dd5bb76e7860ea2d6
2019-02-24 17:35:04 +01:00
libraryupgrader b34643e1f5 build: Updating mediawiki/mediawiki-codesniffer to 24.0.0
Change-Id: I31dfd6ec3d95671089dee50674203acb9ad94b6e
2019-02-07 03:03:14 +00:00
libraryupgrader 9e40e58060 build: Updating mediawiki/mediawiki-codesniffer to 23.0.0
Change-Id: I84bdeeee50264d874d9f845fca1f8674b96cee54
2018-11-16 07:33:01 +00:00
libraryupgrader 403f6fce73 build: Updating mediawiki/phan-taint-check-plugin to 1.5.0
Change-Id: I6c8e4130381ffd649d314046b7b7d2c3c57ce001
2018-09-08 04:53:19 +00:00
libraryupgrader fa9ee4c8e0 build: Updating mediawiki/mediawiki-codesniffer to 22.0.0
Change-Id: I2a2418a556ec1c0c4ac92796c5bbb78afb2c45c6
2018-09-03 09:19:37 +00:00
libraryupgrader f5ce25f814 build: Updating mediawiki/phan-taint-check-plugin to 1.4.0
Change-Id: I47749d747876a0adc8706e84b4fa75dfab831142
2018-09-01 13:12:59 +00:00
libraryupgrader 8f429273c4 build: Updating mediawiki/phan-taint-check-plugin to 1.3.0
And updating CoC link to use Special:MyLanguage (T202047).

Change-Id: I1f265b937a00c6fc926040528c545b218f3aa8eb
2018-08-19 15:34:58 +00:00
libraryupgrader eec061b35e build: Updating mediawiki/mediawiki-codesniffer to 21.0.0
Change-Id: I2d195d11aa432bd880837621c447449c6e89725f
2018-07-27 13:27:47 +00:00
libraryupgrader 6dd0422dcb build: Updating mediawiki/mediawiki-phan-config to 0.3.0
Change-Id: I69c15ad2e2dc73ef4184653dfc43102f70fecaa2
2018-06-08 07:36:38 +00:00
libraryupgrader d160ac6796 build: Updating mediawiki/mediawiki-codesniffer to 20.0.0
Change-Id: I4a5fa6560b214bca8b4ef259febca12fe4cb8eaf
2018-05-26 05:48:25 +00: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
libraryupgrader 7aa43cc080 build: Updating jakub-onderka/php-parallel-lint to 1.0.0
Change-Id: I885d11df575232b0793ef6e5c605ce3db8211ab6
2018-03-10 02:11:42 +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
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
libraryupgrader 4dba35f802 build: Updating mediawiki/mediawiki-codesniffer to 16.0.0
Change-Id: I81f8da081397b972fd50878bf0b10512fbad1025
2018-02-15 13:43:53 +00: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
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
Kunal Mehta ce7b1fa82d build: Updating mediawiki/mediawiki-codesniffer to 0.10.1
Change-Id: Ia3f605d1601a9c8f3bb50e97409d3c0bb78baabe
2017-07-23 00:35:08 -07:00
Kunal Mehta 333357f907 build: Updating mediawiki/mediawiki-codesniffer to 0.10.0
Change-Id: Ieeb72d04816d6871f2c7b9c9c27cadfd5211dea4
2017-07-01 01:40:05 -07: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
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
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
Antoine Musso acfb48e827 composer test entry point
Just run php lint for now.

Change-Id: I2bbe7543588c25669e4d4a3958b66f3f79240ea5
2015-11-23 21:56:34 +01:00