importation initiale

This commit is contained in:
Jephté Clain 2023-10-31 08:38:43 +04:00
commit c644205fed
10 changed files with 1914 additions and 0 deletions

11
.composer.yaml Normal file
View File

@ -0,0 +1,11 @@
# -*- coding: utf-8 mode: yaml -*- vim:sw=2:sts=2:et:ai:si:sta:fenc=utf-8
composer_php_min: '7.4'
composer_php_max: '8.0'
composer_registry: pubdocker.univ-reunion.fr
composer_image: image/phpbuilder:d11
require:
nur/base:
branch:
wip:
develop:
master:

1
.gitattributes vendored Normal file
View File

@ -0,0 +1 @@
/composer.phar -delta

18
.gitignore vendored Normal file
View File

@ -0,0 +1,18 @@
/.idea/**/workspace.xml
/.idea/**/tasks.xml
/.idea/**/usage.statistics.xml
/.idea/**/dictionaries
/.idea/**/shelf
/.idea/**/contentModel.xml
/.idea/**/dataSources/
/.idea/**/dataSources.ids
/.idea/**/dataSources.local.xml
/.idea/**/sqlDataSources.xml
/.idea/**/dynamic.xml
/.idea/**/uiDesigner.xml
/.idea/**/dbnavigator.xml
/.phpunit.result.cache
.~lock*#
.*.swp
/vendor/

5
autoload.php Normal file
View File

@ -0,0 +1,5 @@
<?php
use nur\config;
config::set_fact("nur/sery");

41
composer.json Normal file
View File

@ -0,0 +1,41 @@
{
"name": "nur/sery",
"type": "library",
"description": "espace de maturation pour les librairies",
"repositories": [
{
"type": "composer",
"url": "https://repos.univ-reunion.fr/composer"
}
],
"require": {
"nulib/php": "dev-wip",
"php": ">=7.4"
},
"require-dev": {
"nulib/tests": "9",
"phpunit/phpunit": "^9"
},
"autoload": {
"psr-4": {
"nur\\sery\\": "src"
},
"files": [
"autoload.php"
]
},
"autoload-dev": {
"psr-4": {
"nur\\sery\\": "tests"
}
},
"scripts": {
"uc": "@php sbin/update_classes.php"
},
"authors": [
{
"name": "Jephte Clain",
"email": "Jephte.Clain@univ-reunion.fr"
}
]
}

1822
composer.lock generated Normal file

File diff suppressed because it is too large Load Diff

BIN
sbin/composer.phar Executable file

Binary file not shown.

16
sbin/update_classes.php Executable file
View File

@ -0,0 +1,16 @@
#!/usr/bin/php
<?php
require(__DIR__.'/../vendor/autoload.php');
use nur\php\UpdateClassesApp;
UpdateClassesApp::run(new class extends UpdateClassesApp {
const MAPPINGS = [
"src" => [
"package" => "nur\\sery\\",
"path" => __DIR__."/../src",
"classes" => [
],
],
];
});

0
src/.keep Normal file
View File

0
tests/.keep Normal file
View File