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

Accepting DateTimeInterface for Date and DateTime Literals (foreign code by @madbob). #9

Merged
merged 4 commits into from
May 6, 2021

Conversation

k00ni
Copy link
Member

@k00ni k00ni commented May 4, 2021

@madbob: I found your pull request for EasyRdf with DateTimeInterface very useful and therefore cherry picked it for my fork.

Changes:

  • Adapted tests because PHPStan complained about assertNull on $literal->getLang(). Replaced it with assertStringEquals.
  • undefined class constant error for \DateTimeInterface::ATOM when using PHP 7.1 or below.

@k00ni k00ni added the enhancement New feature or request label May 4, 2021
@k00ni k00ni self-assigned this May 4, 2021
@k00ni k00ni merged commit c690f70 into master May 6, 2021
@k00ni k00ni deleted the feature/madbob-datetimeinterface branch May 6, 2021 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant