Go to file
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
i18n Localisation updates from https://translatewiki.net. 2018-03-13 22:23:55 +01:00
includes Cleanup and streamline Poem class 2018-03-29 19:47:39 +00:00
tests Move parser tests file to normal location and add a styled one 2018-03-05 18:29:56 +00:00
.gitignore Add phan configuration 2018-02-24 16:53:45 -08:00
.gitreview Whoops, track not trace 2016-10-24 17:03:18 -07:00
.phpcs.xml build: Updating mediawiki/mediawiki-codesniffer to 17.0.0 2018-03-29 05:06:16 +00:00
CODE_OF_CONDUCT.md Add CODE_OF_CONDUCT.md 2017-06-07 15:28:08 +04:30
composer.json Cleanup and streamline Poem class 2018-03-29 19:47:39 +00:00
extension.json Move parser tests file to normal location and add a styled one 2018-03-05 18:29:56 +00:00
Gruntfile.js build: Always exclude vendor 2017-11-08 17:54:47 +01:00
LICENSE Release Poem under CC0 1.0 public domain dedication 2015-11-05 11:30:36 +11:00
package.json build: Bump devDependencies to latest 2018-02-23 18:23:11 -08:00
Poem.php Add extension.json, empty PHP entry point 2015-05-04 13:57:52 -07:00