Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added setDescription() #290

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file modified .editorconfig
100644 → 100755
Empty file.
Empty file modified .gitattributes
100644 → 100755
Empty file.
Empty file modified .github/FUNDING.yml
100644 → 100755
Empty file.
Empty file modified .github/workflows/php-cs-fixer.yml
100644 → 100755
Empty file.
Empty file modified .github/workflows/run-tests.yml
100644 → 100755
Empty file.
Empty file modified .github/workflows/update-changelog.yml
100644 → 100755
Empty file.
Empty file modified .gitignore
100644 → 100755
Empty file.
Empty file modified .php-cs-fixer.dist.php
100644 → 100755
Empty file.
Empty file modified CHANGELOG.md
100644 → 100755
Empty file.
Empty file modified LICENSE.md
100644 → 100755
Empty file.
Empty file modified README.md
100644 → 100755
Empty file.
12 changes: 6 additions & 6 deletions composer.json
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@
}
],
"require": {
"php": "^7.2|^8.0",
"google/apiclient": "^2.2",
"php": "^7.2|^8.1",
"google/apiclient": "^2.15",
"illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0",
"nesbot/carbon": "^2.63"
"nesbot/carbon": "^2.6"
},
"require-dev": {
"mockery/mockery": "^1.3.3|^1.4",
"orchestra/testbench": "^4.0|^5.0|^6.0|^7.0|^8.0",
"phpunit/phpunit": "^8.4|^9.0"
"mockery/mockery": "^1.3.3|^1.6",
"orchestra/testbench": "^4.0|^5.0|^6.0|^7.0|^8.0|^9.0",
"phpunit/phpunit": "^8.4|^9.0|^10.5"
},
"autoload": {
"psr-4": {
Expand Down
Empty file modified config/google-calendar.php
100644 → 100755
Empty file.
Empty file modified docs/v2/1.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/v2/10.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/v2/2.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/v2/3.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/v2/4.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/v2/5.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/v2/6.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/v2/7.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/v2/8.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/v2/9.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified phpunit.xml.dist
100644 → 100755
Empty file.
5 changes: 5 additions & 0 deletions src/Event.php
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,11 @@ public function getCalendarId(): string
return $this->calendarId;
}

public function setDescription($description)
{
$this->googleEvent->setDescription($description);
}

protected static function getGoogleCalendar(string $calendarId = null): GoogleCalendar
{
$calendarId = $calendarId ?? config('google-calendar.calendar_id');
Expand Down
Empty file modified src/Exceptions/InvalidConfiguration.php
100644 → 100755
Empty file.
Empty file modified src/GoogleCalendar.php
100644 → 100755
Empty file.
Empty file modified src/GoogleCalendarFacade.php
100644 → 100755
Empty file.
Empty file modified src/GoogleCalendarFactory.php
100644 → 100755
Empty file.
Empty file modified src/GoogleCalendarServiceProvider.php
100644 → 100755
Empty file.
Empty file modified tests/Integration/EventTest.php
100644 → 100755
Empty file.
Empty file modified tests/TestCase.php
100644 → 100755
Empty file.
Empty file modified tests/Unit/GoogleCalendarTest.php
100644 → 100755
Empty file.
Loading