mirror of
https://github.com/StarCitizenTools/mediawiki-extensions-TabberNeue.git
synced 2024-11-23 16:06:45 +00:00
ci: set up composer
This commit is contained in:
parent
d2b0f2c691
commit
bf4dad5097
3
.phan/config.php
Normal file
3
.phan/config.php
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return require __DIR__ . '/../vendor/mediawiki/mediawiki-phan-config/src/config.php';
|
1
CODE_OF_CONDUCT.md
Normal file
1
CODE_OF_CONDUCT.md
Normal file
|
@ -0,0 +1 @@
|
||||||
|
The development of this software is covered by a [Code of Conduct](https://www.mediawiki.org/wiki/Special:MyLanguage/Code_of_Conduct).
|
8
bin/phpcbf.sh
Normal file
8
bin/phpcbf.sh
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
# Force phpcbf to exit with zero
|
||||||
|
# See https://github.com/squizlabs/PHP_CodeSniffer/issues/1818#issuecomment-354420927
|
||||||
|
|
||||||
|
root=$( dirname $0 )/..
|
||||||
|
|
||||||
|
$root/vendor/bin/phpcbf
|
||||||
|
|
||||||
|
exit 0
|
47
composer.json
Normal file
47
composer.json
Normal file
|
@ -0,0 +1,47 @@
|
||||||
|
{
|
||||||
|
"name": "mediawiki/tabber-neue",
|
||||||
|
"type": "mediawiki-extension",
|
||||||
|
"description": "Allows to create tabs within a page. Forked from Extension:Tabber",
|
||||||
|
"keywords": [
|
||||||
|
"MediaWiki",
|
||||||
|
"TabberNeue",
|
||||||
|
"Tabber",
|
||||||
|
"extension"
|
||||||
|
],
|
||||||
|
"homepage": "https://www.mediawiki.org/wiki/Extension:TabberNeue",
|
||||||
|
"readme": "README.md",
|
||||||
|
"license": "GPL-3.0-or-later",
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "alistair3149",
|
||||||
|
"email": "alistair31494322@gmail.com",
|
||||||
|
"role": "Developer"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"support": {
|
||||||
|
"forum": "https://www.mediawiki.org/wiki/Extension_talk:TabberNeue",
|
||||||
|
"wiki": "https://www.mediawiki.org/wiki/Extension:TabberNeue"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"composer/installers": ">=1.0.1"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"mediawiki/mediawiki-codesniffer": "36.0.0",
|
||||||
|
"mediawiki/mediawiki-phan-config": "0.10.6",
|
||||||
|
"mediawiki/minus-x": "1.1.1",
|
||||||
|
"php-parallel-lint/php-console-highlighter": "0.5.0",
|
||||||
|
"php-parallel-lint/php-parallel-lint": "1.3.0"
|
||||||
|
},
|
||||||
|
"scripts": {
|
||||||
|
"fix": [
|
||||||
|
"minus-x fix ."
|
||||||
|
],
|
||||||
|
"test": [
|
||||||
|
"parallel-lint . --exclude vendor --exclude node_modules",
|
||||||
|
"phpcs --config-set ignore_warnings_on_exit 1",
|
||||||
|
"phpcs -p -s",
|
||||||
|
"minus-x check ."
|
||||||
|
],
|
||||||
|
"phan": "phan -d . --long-progress-bar"
|
||||||
|
}
|
||||||
|
}
|
|
@ -4,7 +4,7 @@
|
||||||
* TabberNeue Hooks Class
|
* TabberNeue Hooks Class
|
||||||
*
|
*
|
||||||
* @package TabberNeue
|
* @package TabberNeue
|
||||||
* @author Eric Fortin, Alexia E. Smith
|
* @author alistair3149, Eric Fortin, Alexia E. Smith
|
||||||
* @license GPL-3.0-or-later
|
* @license GPL-3.0-or-later
|
||||||
* @link https://www.mediawiki.org/wiki/Extension:TabberNeue
|
* @link https://www.mediawiki.org/wiki/Extension:TabberNeue
|
||||||
**/
|
**/
|
||||||
|
|
Loading…
Reference in a new issue