Skip to content
This repository has been archived by the owner on Dec 3, 2023. It is now read-only.

Commit

Permalink
[CS] Add *DateTime to allowed class to instantiate
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Oct 18, 2018
1 parent 51086f8 commit 4c78393
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ final class NoClassInstantiationSniff implements Sniff
'Nette\Loaders\RobotLoader',
'Nette\Configurator',
'Nette\DI\Config\Loader',
'*DateTime',

// Symfony Console
'Symfony\Component\Console\Input\InputArgument',
Expand Down

0 comments on commit 4c78393

Please sign in to comment.