Skip to content
Snippets Groups Projects
Commit 4ed906fc authored by Bastien Hohler's avatar Bastien Hohler
Browse files

Merge branch 'main' into Controllers

parents dd814f6e 6592f47c
Branches
No related tags found
No related merge requests found
Pipeline #6638 passed
......@@ -335,3 +335,6 @@ vendor/
# Local History for Visual Studio
.localhistory/
# phplint
phplint.cache
\ No newline at end of file
# This file is a template, and might need editing before it works on your project.
# To contribute improvements to CI/CD templates, please follow the Development guide at:
# https://docs.gitlab.com/ee/development/cicd/templates.html
# This specific template is located at:
# https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/PHP.gitlab-ci.yml
# Select image from https://hub.docker.com/_/php/
image: php:latest
# Select what we should cache between builds
cache:
paths:
- vendor/
before_script:
- apt-get update -yqq
- apt-get install -yqq git libpq-dev libcurl4-gnutls-dev libicu-dev libvpx-dev libjpeg-dev libpng-dev libxpm-dev zlib1g-dev libfreetype6-dev libxml2-dev libexpat1-dev libbz2-dev libgmp3-dev libldap2-dev unixodbc-dev libsqlite3-dev libaspell-dev libsnmp-dev libpcre3-dev libtidy-dev libonig-dev libzip-dev
# Install PHP extensions
- docker-php-ext-install mbstring pdo_pgsql curl intl gd xml zip bz2 opcache
# Install & enable Xdebug for code coverage reports
- pecl install xdebug
- docker-php-ext-enable xdebug
# Install and run Composer
- curl -sS https://getcomposer.org/installer | php
- php composer.phar install
# Bring in any services we need http://docs.gitlab.com/ee/ci/docker/using_docker_images.html#what-is-a-service
# See http://docs.gitlab.com/ee/ci/services/README.html for examples.
services:
- mysql:5.7
# Set any variables we need
variables:
# Configure mysql environment variables (https://hub.docker.com/r/_/mysql/)
MYSQL_DATABASE: lehangarlocal
MYSQL_ROOT_PASSWORD: ''
# Run our tests
# If Xdebug was installed you can generate a coverage report and see code coverage metrics.
lint:
script:
./vendor/bin/phplint
path: ./
jobs: 10
cache: build/phplint.cache
extensions:
- php
exclude:
- vendor
warning: false
# Atelier_1
# leHangar.local - Atelier du 02/11/2021 au 06/11/2021
## Documents fournis
- [Présentation du sujet](https://arche.univ-lorraine.fr/pluginfile.php/2676892/mod_resource/content/0/prez-cc.pdf "Présentation du sujet sous forme de slides hébergé sur Arches")
- [Cahier des charges](https://arche.univ-lorraine.fr/pluginfile.php/2676864/mod_resource/content/0/atelier-1-2021-CC.pdf "Cachier des charges sous forme PDF hébergé sur Arches")
- [Critères d'évaluation](https://arche.univ-lorraine.fr/pluginfile.php/2668108/mod_resource/content/0/atelier-1-2021-criteres.pdf "Critères d'évaluation sous forme PDF hébergé sur Arches")
## Contributions
- Hugo Bernard `bernar323u`
* Modèles de donnée (UML)
* Modèles de Base de Donnée (PHP)
- Tritan Blot `blot32u`
* Diagramme d'utilisation (UML)
* Maquette Web (Schema)
- Bastien Hohler `hohler3u`
* Diagramme d'utilisation (UML)
* Modèles de Base de Donnée (PHP)
- Geoffrey Porayko `porayko1u`
* Diagramme d'utilisation (UML)
* Maquette Web (Schema)
......@@ -6,10 +6,14 @@
"slim/twig-view": "^3.0",
"doctrine/dbal": "^3.1",
"php-di/slim-bridge": "^3.2",
"symfony/cache": "^5.3"
"symfony/cache": "^5.3",
"slim/psr7": "^1.5"
},
"autoload": {
"psr-0": {"": "src/"},
"psr-4": {"App\\":"src/"}
},
"require-dev": {
"overtrue/phplint": "^3.0"
}
}
This diff is collapsed.
doc/bdd_schema.png

68.9 KiB | W: | H:

doc/bdd_schema.png

63.8 KiB | W: | H:

doc/bdd_schema.png
doc/bdd_schema.png
doc/bdd_schema.png
doc/bdd_schema.png
  • 2-up
  • Swipe
  • Onion skin
doc/bdd_schema_black.png

70.7 KiB

doc/diagramme_utilisation.png

75.9 KiB

doc/diagramme_utilisation_black.png

76.2 KiB

......@@ -5,7 +5,7 @@ use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity
* @ORM\Table(name="products")
* @ORM\Table(name="product")
*/
class Product
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment