Skip to content

Commit

Permalink
Unittests fixed; travis removed
Browse files Browse the repository at this point in the history
  • Loading branch information
Manuel Bertrams committed Sep 24, 2023
1 parent 1e8ffc3 commit 35f0b4e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 61 deletions.
47 changes: 0 additions & 47 deletions .travis.yml

This file was deleted.

17 changes: 5 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
# SuluEventBundle!
<div>
<a href="https://www.travis-ci.com/manuxi/SuluEventBundle" target="_blank">
<img src="https://www.travis-ci.com/manuxi/SuluEventBundle.svg?branch=main" alt="Travis status">
</a>
<a href="https://github.com/manuxi/SuluEventBundle/blob/main/LICENSE" target="_blank">
<img src="https://img.shields.io/github/license/manuxi/SuluEventBundle" alt="GitHub license">
</a>
<a href="https://github.com/manuxi/SuluEventBundle/tags" target="_blank">
<img src="https://img.shields.io/github/v/tag/manuxi/SuluEventBundle" alt="GitHub license">
</a>

</div>
![php workflow](https://github.com/manuxi/SuluNewsBundle/actions/workflows/php.yml/badge.svg)
![symfony workflow](https://github.com/manuxi/SuluNewsBundle/actions/workflows/symfony.yml/badge.svg)
<a href="https://github.com/manuxi/SuluEventBundle/tags" target="_blank">
<img src="https://img.shields.io/github/v/tag/manuxi/SuluEventBundle" alt="GitHub license">
</a>

This bundle was made based on [Sulu workshop](https://github.com/sulu/sulu-workshop).
I made it to have the possibility to manage events in my projects and to get a better knowledge of sulu.
Expand Down
4 changes: 2 additions & 2 deletions src/Entity/Traits/AuthoredTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
trait AuthoredTrait
{

protected DateTime $authored;
protected ?DateTime $authored = null;

public function getAuthored(): ?DateTime
{
return $this->authored;
}

public function setAuthored(DateTime $authored): self
public function setAuthored(?DateTime $authored): self
{
$this->authored = $authored;
return $this;
Expand Down

0 comments on commit 35f0b4e

Please sign in to comment.