Passed
Push — master ( a1de92...1a465b )
by Robbie
03:52
created

src/Extensions/ElementalLeftAndMainExtension.php (1 issue)

1
<?php
2
3
namespace DNADesign\Elemental\Extensions;
4
5
use SilverStripe\Core\Extension;
6
use SilverStripe\View\Requirements;
7
8
class ElementalLeftAndMainExtension extends Extension
9
{
10
11
    public function init()
12
    {
13
        Requirements::add_i18n_javascript('dnadesign/silverstripe-elemental:client/lang');
0 ignored issues
show
Deprecated Code introduced by Werner M. Krauß
The function SilverStripe\View\Requir...::add_i18n_javascript() has been deprecated. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-deprecated  annotation

13
        /** @scrutinizer ignore-deprecated */ Requirements::add_i18n_javascript('dnadesign/silverstripe-elemental:client/lang');
Loading history...
14
    }
15
}
16