ajout du nettoyage et validation des données suer master
continuous-integration/drone/push Build is passing Details

interestingProfiles
johan 2 years ago
parent 922e2f8256
commit 4ab9c2dafb

@ -1,6 +1,9 @@
<?php
namespace Config;
require_once(__DIR__.'/vendor/autoload.php');
class Autoload
{
private static $instance = null;
@ -8,14 +11,14 @@ class Autoload
public static function charger()
{
if (null !== self::$instance) {
throw RuntimeException(sprintf('%s is already started', __CLASS__));
throw new RuntimeException(sprintf('%s is already started', __CLASS__));
}
self::$instance = new self();
if (!spl_autoload_register(array(self::$instance, 'autoloader'))) {
throw RuntimeException(sprintf('%s : Could not start the autoload', __CLASS__));
throw new RuntimeException(sprintf('%s : Could not start the autoload', __CLASS__));
}
}
@ -24,7 +27,7 @@ class Autoload
if (null !== self::$instance) {
if (!spl_autoload_unregister(array(self::$instance, 'autoloader'))) {
throw RuntimeException('Could not stop the autoload');
throw new RuntimeException('Could not stop the autoload');
}
self::$instance = null;

@ -543,25 +543,25 @@
},
{
"name": "symfony/deprecation-contracts",
"version": "v3.2.1",
"version": "v2.5.2",
"source": {
"type": "git",
"url": "https://github.com/symfony/deprecation-contracts.git",
"reference": "e2d1534420bd723d0ef5aec58a22c5fe60ce6f5e"
"reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/e2d1534420bd723d0ef5aec58a22c5fe60ce6f5e",
"reference": "e2d1534420bd723d0ef5aec58a22c5fe60ce6f5e",
"url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/e8b495ea28c1d97b5e0c121748d6f9b53d075c66",
"reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66",
"shasum": ""
},
"require": {
"php": ">=8.1"
"php": ">=7.1"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-main": "3.3-dev"
"dev-main": "2.5-dev"
},
"thanks": {
"name": "symfony/contracts",
@ -590,7 +590,7 @@
"description": "A generic function and convention to trigger deprecation notices",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/deprecation-contracts/tree/v3.2.1"
"source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.2"
},
"funding": [
{
@ -606,7 +606,7 @@
"type": "tidelift"
}
],
"time": "2023-03-01T10:25:55+00:00"
"time": "2022-01-02T09:53:40+00:00"
}
],
"packages-dev": [],

Loading…
Cancel
Save