build: future version pour SPIP 5.0+ (suite)
parent
949444239d
commit
f6a6e76779
@ -0,0 +1,18 @@
|
||||
# EditorConfig is awesome: https://EditorConfig.org
|
||||
|
||||
# top-most EditorConfig file
|
||||
root = true
|
||||
|
||||
[*]
|
||||
indent_style = tab
|
||||
indent_size = 4
|
||||
end_of_line = lf
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
|
||||
[composer.json]
|
||||
indent_style = space
|
||||
|
||||
[CHANGELOG, *.md]
|
||||
indent_size = 2
|
@ -0,0 +1,7 @@
|
||||
/.editorconfig export-ignore
|
||||
/.gitattributes export-ignore
|
||||
/.gitignore export-ignore
|
||||
/phpcs.xml.dist export-ignore
|
||||
/phpstan.neon.dist export-ignore
|
||||
/phpstan-baseline.neon export-ignore
|
||||
/rector.php
|
@ -1,18 +1,36 @@
|
||||
{
|
||||
"name": "spip/bigup",
|
||||
"type": "spip-plugin",
|
||||
"description": "Téléverser des gros fichiers",
|
||||
"license": "GPL-3.0-or-later",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Matthieu Marcillaud",
|
||||
"role": "Maintainer",
|
||||
"homepage": "https://discuter.spip.net/c/spip-dev/5"
|
||||
}
|
||||
],
|
||||
"require": {
|
||||
"php": "^7.4 || ^8.0"
|
||||
"php": "^8.1"
|
||||
},
|
||||
"require-dev": {
|
||||
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.1",
|
||||
"phpstan/phpstan": "^1.4",
|
||||
"spip/coding-standards": "^1.2"
|
||||
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
|
||||
"phpstan/phpstan": "^1.10",
|
||||
"spip/coding-standards": "^1.3",
|
||||
"phpcompatibility/php-compatibility": "dev-develop",
|
||||
"rector/rector": "^0.15.23"
|
||||
},
|
||||
"config": {
|
||||
"allow-plugins": {
|
||||
"dealerdirect/phpcodesniffer-composer-installer": true
|
||||
},
|
||||
"platform": {
|
||||
"php": "7.4.27"
|
||||
"php": "8.1.17"
|
||||
}
|
||||
},
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "3.3.x-dev"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Set\ValueObject\LevelSetList;
|
||||
|
||||
return static function (RectorConfig $rectorConfig): void {
|
||||
$rectorConfig->paths([
|
||||
__DIR__ . '/action',
|
||||
__DIR__ . '/balise',
|
||||
__DIR__ . '/formulaires',
|
||||
__DIR__ . '/genie',
|
||||
__DIR__ . '/inc',
|
||||
]);
|
||||
|
||||
$rectorConfig->sets([
|
||||
LevelSetList::UP_TO_PHP_81
|
||||
]);
|
||||
};
|
Loading…
Reference in New Issue