feat: add enum

This commit is contained in:
Maël Gangloff
2024-07-11 13:15:04 +02:00
parent fbb14df399
commit f6bd04ba17
11 changed files with 206 additions and 162 deletions

202
composer.lock generated
View File

@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "2c9a601dd6b90ee988fc2c8205c79665",
"content-hash": "d9421147fcd12ef355e47fc4e69d67ef",
"packages": [
{
"name": "composer/semver",
@@ -1376,6 +1376,70 @@
],
"time": "2023-10-06T06:47:41+00:00"
},
{
"name": "eluceo/ical",
"version": "2.13.0",
"source": {
"type": "git",
"url": "https://github.com/markuspoerschke/iCal.git",
"reference": "43fd5991032d46db06ae0b3f67416adfdad38336"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/markuspoerschke/iCal/zipball/43fd5991032d46db06ae0b3f67416adfdad38336",
"reference": "43fd5991032d46db06ae0b3f67416adfdad38336",
"shasum": ""
},
"require": {
"ext-mbstring": "*",
"php": ">=7.4 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0",
"symfony/deprecation-contracts": "^2.1 || ^3.0"
},
"conflict": {
"php": "7.4.6"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.23.1",
"friendsofphp/php-cs-fixer": "^3.4",
"infection/infection": "^0.23 || ^0.26 || ^0.27",
"phpmd/phpmd": "^2.13",
"phpunit/phpunit": "^9.5",
"vimeo/psalm": "^4.8 || ^5.0"
},
"type": "library",
"autoload": {
"psr-4": {
"Eluceo\\iCal\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Markus Poerschke",
"email": "markus@poerschke.nrw",
"role": "Developer"
}
],
"description": "The eluceo/iCal package offers an abstraction layer for creating iCalendars. You can easily create iCal files by using PHP objects instead of typing your *.ics file by hand. The output will follow RFC 5545 as best as possible.",
"homepage": "https://github.com/markuspoerschke/iCal",
"keywords": [
"calendar",
"iCalendar",
"ical",
"ics",
"php calendar"
],
"support": {
"docs": "https://ical.poerschke.nrw",
"forum": "https://github.com/markuspoerschke/iCal/discussions",
"issues": "https://github.com/markuspoerschke/iCal/issues",
"source": "https://github.com/markuspoerschke/iCal"
},
"time": "2023-12-19T19:24:37+00:00"
},
{
"name": "monolog/monolog",
"version": "3.7.0",
@@ -2005,142 +2069,6 @@
},
"time": "2021-07-14T16:46:02+00:00"
},
{
"name": "spatie/enum",
"version": "3.13.0",
"source": {
"type": "git",
"url": "https://github.com/spatie/enum.git",
"reference": "f1a0f464ba909491a53e60a955ce84ad7cd93a2c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/spatie/enum/zipball/f1a0f464ba909491a53e60a955ce84ad7cd93a2c",
"reference": "f1a0f464ba909491a53e60a955ce84ad7cd93a2c",
"shasum": ""
},
"require": {
"ext-json": "*",
"php": "^8.0"
},
"require-dev": {
"fakerphp/faker": "^1.9.1",
"larapack/dd": "^1.1",
"phpunit/phpunit": "^9.0",
"vimeo/psalm": "^4.3"
},
"suggest": {
"fakerphp/faker": "To use the enum faker provider",
"phpunit/phpunit": "To use the enum assertions"
},
"type": "library",
"autoload": {
"psr-4": {
"Spatie\\Enum\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Brent Roose",
"email": "brent@spatie.be",
"homepage": "https://spatie.be",
"role": "Developer"
},
{
"name": "Tom Witkowski",
"email": "dev@gummibeer.de",
"homepage": "https://gummibeer.de",
"role": "Developer"
}
],
"description": "PHP Enums",
"homepage": "https://github.com/spatie/enum",
"keywords": [
"enum",
"enumerable",
"spatie"
],
"support": {
"docs": "https://docs.spatie.be/enum",
"issues": "https://github.com/spatie/enum/issues",
"source": "https://github.com/spatie/enum"
},
"funding": [
{
"url": "https://spatie.be/open-source/support-us",
"type": "custom"
},
{
"url": "https://github.com/spatie",
"type": "github"
}
],
"time": "2022-04-22T08:51:55+00:00"
},
{
"name": "spatie/icalendar-generator",
"version": "2.8.1",
"source": {
"type": "git",
"url": "https://github.com/spatie/icalendar-generator.git",
"reference": "6cb8b9b9df72bbea25b302aabce680917739fdb6"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/spatie/icalendar-generator/zipball/6cb8b9b9df72bbea25b302aabce680917739fdb6",
"reference": "6cb8b9b9df72bbea25b302aabce680917739fdb6",
"shasum": ""
},
"require": {
"ext-mbstring": "*",
"php": "^8.1",
"spatie/enum": "^3.11"
},
"require-dev": {
"ext-json": "*",
"larapack/dd": "^1.1",
"nesbot/carbon": "^3.5",
"pestphp/pest": "^2.34",
"spatie/pest-plugin-snapshots": "^2.1",
"vimeo/psalm": "^5.24"
},
"type": "library",
"autoload": {
"psr-4": {
"Spatie\\IcalendarGenerator\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Ruben Van Assche",
"email": "ruben@spatie.be",
"homepage": "https://spatie.be",
"role": "Developer"
}
],
"description": "Build calendars in the iCalendar format",
"homepage": "https://github.com/spatie/icalendar-generator",
"keywords": [
"calendar",
"iCalendar",
"ical",
"ics",
"spatie"
],
"support": {
"issues": "https://github.com/spatie/icalendar-generator/issues",
"source": "https://github.com/spatie/icalendar-generator/tree/2.8.1"
},
"time": "2024-06-17T11:23:50+00:00"
},
{
"name": "symfony/asset",
"version": "v7.1.1",