feat: Version 3.5.2 - Configuration Stripe et gestion des immeubles

- Configuration complète Stripe pour les 3 environnements (DEV/REC/PROD)
  * DEV: Clés TEST Pierre (mode test)
  * REC: Clés TEST Client (mode test)
  * PROD: Clés LIVE Client (mode live)
- Ajout de la gestion des bases de données immeubles/bâtiments
  * Configuration buildings_database pour DEV/REC/PROD
  * Service BuildingService pour enrichissement des adresses
- Optimisations pages et améliorations ergonomie
- Mises à jour des dépendances Composer
- Nettoyage des fichiers obsolètes

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
pierre
2025-11-09 18:26:27 +01:00
parent 21657a3820
commit 2f5946a184
812 changed files with 142105 additions and 25992 deletions

View File

@@ -6,15 +6,43 @@ use PhpOffice\PhpSpreadsheet\Spreadsheet;
interface IReader
{
/**
* Flag used to load the charts.
*
* This flag is supported only for some formats.
*/
public const LOAD_WITH_CHARTS = 1;
/**
* Flag used to read data only, not style or structure information.
*/
public const READ_DATA_ONLY = 2;
public const SKIP_EMPTY_CELLS = 4;
/**
* Flag used to ignore empty cells when reading.
*
* The ignored cells will not be instantiated.
*/
public const IGNORE_EMPTY_CELLS = 4;
/**
* Flag used to ignore rows without cells.
*
* This flag is supported only for some formats.
* This can heavily improve performance for some files.
*/
public const IGNORE_ROWS_WITH_NO_CELLS = 8;
/**
* Allow external images. Use with caution.
* Improper specification of these within a spreadsheet
* can subject the caller to security exploits.
*/
public const ALLOW_EXTERNAL_IMAGES = 16;
public const DONT_ALLOW_EXTERNAL_IMAGES = 32;
public const CREATE_BLANK_SHEET_IF_NONE_READ = 64;
public function __construct();
/**
@@ -78,13 +106,15 @@ interface IReader
* Get which sheets to load
* Returns either an array of worksheet names (the list of worksheets that should be loaded), or a null
* indicating that all worksheets in the workbook should be loaded.
*
* @return null|string[]
*/
public function getLoadSheetsOnly(): ?array;
/**
* Set which sheets to load.
*
* @param null|array|string $value This should be either an array of worksheet names to be loaded,
* @param null|string|string[] $value This should be either an array of worksheet names to be loaded,
* or a string containing a single worksheet name. If NULL, then it tells the Reader to
* read all worksheets in the workbook
*
@@ -112,6 +142,21 @@ interface IReader
*/
public function setReadFilter(IReadFilter $readFilter): self;
/**
* Allow external images. Use with caution.
* Improper specification of these within a spreadsheet
* can subject the caller to security exploits.
*/
public function setAllowExternalImages(bool $allowExternalImages): self;
public function getAllowExternalImages(): bool;
/**
* Create a blank sheet if none are read,
* possibly due to a typo when using LoadSheetsOnly.
*/
public function setCreateBlankSheetIfNoneRead(bool $createBlankSheetIfNoneRead): self;
/**
* Loads PhpSpreadsheet from file.
*
@@ -119,8 +164,12 @@ interface IReader
* @param int $flags Flags that can change the behaviour of the Writer:
* self::LOAD_WITH_CHARTS Load any charts that are defined (if the Reader supports Charts)
* self::READ_DATA_ONLY Read only data, not style or structure information, from the file
* self::SKIP_EMPTY_CELLS Don't read empty cells (cells that contain a null value,
* self::IGNORE_EMPTY_CELLS Don't read empty cells (cells that contain a null value,
* empty string, or a string containing only whitespace characters)
* self::IGNORE_ROWS_WITH_NO_CELLS Don't load any rows that contain no cells.
* self::ALLOW_EXTERNAL_IMAGES Attempt to fetch images stored outside the spreadsheet.
* self::DONT_ALLOW_EXTERNAL_IMAGES Don't attempt to fetch images stored outside the spreadsheet.
* self::CREATE_BLANK_SHEET_IF_NONE_READ If no sheets are read, create a blank one.
*/
public function load(string $filename, int $flags = 0): Spreadsheet;
}