Skip to content
This repository has been archived by the owner on Jul 7, 2024. It is now read-only.

Compat SPIP 4.1 #293

Open
wants to merge 23 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
f94e170
build: version 3.0.0, compat SPIP 4.1 mini
brunob Feb 28, 2024
19b5aa3
style: Coding Standard (phpcbf)
brunob Feb 28, 2024
70a6354
chore: une passe de rector UP_TO_PHP_74
brunob Feb 28, 2024
fdd950b
fix: pagination legacy reprise de zpip-dist
brunob Feb 28, 2024
3f3c4c6
fix: affichage du bouton play/pause pour les players audio
brunob Feb 29, 2024
2a58564
fix: le bon include pour `copie_locale_safe()`
brunob Feb 29, 2024
ad9a6a3
chore: fichier de conf et baseline phpstan + git attributes pour ne p…
brunob Mar 2, 2024
fe69a0f
fix: deprecated `generer_url_entite()` => `generer_objet_url()`
brunob Mar 4, 2024
2995072
fix: deprecated --
brunob Mar 4, 2024
92bc463
fix: warnings --
brunob Mar 4, 2024
85baa18
fix: warning -- sur `Undefined variable $ret`
brunob Mar 4, 2024
b00e1c9
fix: warnings -- sur `Undefined array key`
brunob Mar 4, 2024
f9c6355
fix: `$id_auteur` n'est pas défini ici, ce code est donc inutile
brunob Mar 4, 2024
5caab57
fix: utiliser la bonne variable dans `action_bouton_follow_mot()`, $t…
brunob Mar 4, 2024
80a4f3f
fix: warning -- sur `Undefined variable: $HTTP_ACCEPT_LANGUAGE`
brunob Mar 4, 2024
9a602ae
chore: update phpstan baseline
brunob Mar 4, 2024
4a8bb6d
chore: phpstan level 1
brunob Mar 4, 2024
260ff6d
fix: phpstan, variable might not be defined
brunob Mar 4, 2024
1f004a2
fix: phpstan, variable might not be defined
brunob Mar 4, 2024
ef0af84
fix: phpstan, variable might not be defined
brunob Mar 4, 2024
d62772d
fix: phpstan, variable might not be defined
brunob Mar 4, 2024
47a2592
fix: deprecated -- `_nano_sha256()` => `spip_sha256()`
brunob Mar 4, 2024
e9d006e
chore: standard files
JamesRezo Jul 6, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
chore: standard files
  • Loading branch information
JamesRezo committed Jul 6, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit e9d006e894be149bdc18404b3c178f956da26fe4
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# EditorConfig is awesome: https://EditorConfig.org

# top-most EditorConfig file
root = true

[*]
indent_style = tab
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = false
8 changes: 7 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/phpstan.neon.dist export-ignore
/phpstan-baseline.neon export-ignore
/phpstan-constants.php export-ignore
/phpstan-constants.php export-ignore
/.gitignore export-ignore
/.gitattributes export-ignore
/tests/ export-ignore
/phpunit.xml.dist export-ignore
/.php-cs-fixer.dist.php export-ignore
/.editorconfig export-ignore
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/vendor/
/composer.lock
/.phpunit.cache
/phpunit.xml
/.php-cs-fixer.cache
/.php-cs-fixer.php
/phpstan.neon
/bin/
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased
674 changes: 674 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

18 changes: 18 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "seenthis/squelettes",
"description": "Squelettes de Seenthis",
"type": "spip-plugin",
"license": "GPL-3.0-or-later",
"authors": [
{
"name": "Arno*",
"email": "arno@rezo.net"
}
],
"require": {},
"extra": {
"branch-alias": {
"dev-master": "3.0.x-dev"
}
}
}
10 changes: 5 additions & 5 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
@@ -430,11 +430,6 @@ parameters:
count: 3
path: formulaires/profil.php

-
message: "#^Function _nano_sha256 not found\\.$#"
count: 1
path: formulaires/profil.php

-
message: "#^Function _request not found\\.$#"
count: 27
@@ -515,6 +510,11 @@ parameters:
count: 1
path: formulaires/profil.php

-
message: "#^Function spip_sha256 not found\\.$#"
count: 1
path: formulaires/profil.php

-
message: "#^Function sql_fetch not found\\.$#"
count: 2
4 changes: 3 additions & 1 deletion phpstan.neon.dist
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
includes:
- phpstan-baseline.neon
parameters:
phpVersion: 070400
paths:
- .
excludePaths:
analyseAndScan:
- lang
- vendor
level: 1
bootstrapFiles:
- phpstan-constants.php
- phpstan-constants.php