Skip to content
Snippets Groups Projects
Commit f6f1dc29 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Merge branch 'bg-php8'

parents b105bda9 48b04df7
Branches detached2
Tags 6.1.5
No related merge requests found
Pipeline #17060 passed
......@@ -3,9 +3,11 @@
namespace UnicaenAlerte;
use Laminas\Config\Factory as ConfigFactory;
use Laminas\ModuleManager\Feature\AutoloaderProviderInterface;
use Laminas\ModuleManager\Feature\ConfigProviderInterface;
use Laminas\Stdlib\Glob;
class Module
class Module implements AutoloaderProviderInterface, ConfigProviderInterface
{
public function getConfig()
{
......
......@@ -2,14 +2,14 @@ Module UnicaenAlerte
====================
Ce module permet d'afficher des alertes sur une page de votre application, sous la forme de :
- Toasts Bootstrap :
- Toasts Bootstrap 5 :
- Recommandé.
- Positionnement fixe par défaut : en haut à droite ; empilés.
- Cf. https://getbootstrap.com/docs/5.2/components/toasts/
- Alerts Bootstrap :
- Alerts Bootstrap 5 :
- Affichage en place.
- Cf. https://getbootstrap.com/docs/5.2/components/alerts/
- Modals Bootstrap :
- Modals Bootstrap 5 :
- En cas d'alertes multiples, un bouton permet de naviguer d'une alerte à l'autre.
- Cf. https://getbootstrap.com/docs/5.2/components/modal/#toggle-between-modals
- Alertes Javascript :
......
......@@ -2,12 +2,12 @@
"name": "unicaen/alerte",
"description": "Affichage d'alertes",
"require": {
"php": ">=7.4",
"doctrine/doctrine-laminas-hydrator": "^2.0",
"doctrine/doctrine-orm-module": "^4.0",
"php": "^7.4 || ^8.0",
"doctrine/doctrine-laminas-hydrator": "^3.0",
"doctrine/doctrine-orm-module": "^5.0",
"laminas/laminas-config": "^3.2",
"laminas/laminas-eventmanager": "^3.2",
"laminas/laminas-form": "^2.17",
"laminas/laminas-form": "^3.0",
"laminas/laminas-http": "^2.10",
"laminas/laminas-i18n": "^2.9",
"laminas/laminas-i18n-resources": "^2.6",
......@@ -27,8 +27,8 @@
"laminas/laminas-dependency-plugin": "^2.1"
},
"require-dev": {
"laminas/laminas-test": "^3.2",
"phpunit/phpunit": "^5.6"
"laminas/laminas-test": "^4.0",
"phpunit/phpunit": "^8.0"
},
"autoload": {
"psr-0": {
......@@ -40,7 +40,8 @@
},
"config": {
"allow-plugins": {
"laminas/laminas-dependency-plugin": true
"laminas/laminas-dependency-plugin": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}
This diff is collapsed.
......@@ -2,7 +2,7 @@
namespace UnicaenAlerte;
use Doctrine\Common\Persistence\Mapping\Driver\MappingDriverChain;
use Doctrine\Persistence\Mapping\Driver\MappingDriverChain;
use Doctrine\ORM\Mapping\Driver\XmlDriver;
use UnicaenAlerte\Entity\Db\Repository\AlerteRepository;
use UnicaenAlerte\Entity\Db\Repository\AlerteRepositoryFactory;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment