Skip to content
Extraits de code Groupes Projets
Valider 768415a4 rédigé par JamesRezo's avatar JamesRezo :tada:
Parcourir les fichiers

build: future version pour SPIP 5.0+ (suite)

parent 6b100d18
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
# 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
/.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
# Changelog
## Unreleased
## [Unreleased]
### Added
- Installable en tant que package Composer
### Changed
- Compatible SPIP 5.0.0-dev
### Security
......
{
"name": "spip/medias",
"description": "Gestion des medias dans SPIP",
"license": "GPL-3.0-or-later",
"type": "spip-plugin",
"authors": [
{
"name": "Collectif SPIP",
"homepage": "https://discuter.spip.net/c/spip-dev/5",
"role": "Maintainer"
}
],
"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",
"phpcompatibility/php-compatibility": "dev-develop",
"phpstan/phpstan": "^1.10",
"rector/rector": "^0.15.23",
"spip/coding-standards": "^1.3"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
},
"platform": {
"php": "7.4.27"
"php": "8.1.17"
}
},
"extra": {
"branch-alias": {
"dev-master": "4.2.x-dev"
}
}
}
......@@ -5,7 +5,7 @@
<exclude-pattern>lang/*</exclude-pattern>
<exclude-pattern>lib/*</exclude-pattern>
<rule ref="SPIP41"/>
<rule ref="SPIP50"/>
<config name="ignore_warnings_on_exit" value="1"/>
<arg name="cache" value=".php_cs.cache"/>
......
......@@ -17,7 +17,7 @@ parameters:
-
message: "#^Function include_spip not found\\.$#"
count: 5
count: 6
path: action/acceder_document.php
-
......@@ -30,6 +30,11 @@ parameters:
count: 1
path: action/acceder_document.php
-
message: "#^Function spip_livrer_fichier not found\\.$#"
count: 1
path: action/acceder_document.php
-
message: "#^Function spip_log not found\\.$#"
count: 1
......
......@@ -2,12 +2,13 @@ includes:
- phpstan-baseline.neon
parameters:
paths:
- .
excludePaths:
analyseAndScan:
- vendor
- lang
analyse:
- lib
level: 0
phpVersion: 080100
paths:
- .
excludePaths:
analyseAndScan:
- vendor
- lang
analyse:
- lib
level: 0
<?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__ . '/base',
__DIR__ . '/formulaires',
__DIR__ . '/inc',
__DIR__ . '/metadata',
__DIR__ . '/modeles',
__DIR__ . '/prive',
__DIR__ . '/puce_statut',
__DIR__ . '/urls',
__DIR__ . '/medias_administration.php',
__DIR__ . '/medias_autoriser.php',
__DIR__ . '/medias_fonctions.php',
__DIR__ . '/medias_ieconfig.php',
__DIR__ . '/medias_pipelines.php',
]);
$rectorConfig->sets([
LevelSetList::UP_TO_PHP_81
]);
};
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter