Merge pull request #7 from SkillDisplay/task/extend-cgl-rules

Ensure strict_types are defined
This commit is contained in:
Markus Klein 2021-01-24 20:43:11 +01:00 committed by GitHub
commit 73e928027a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 30 additions and 0 deletions

View file

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
namespace SkillDisplay\Typo3Extension\Backend;
/*

View file

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
namespace SkillDisplay\Typo3Extension\Frontend\DataProcessing;
/*

View file

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
namespace SkillDisplay\Typo3Extension\Frontend\DataProcessing;
/*

View file

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
namespace SkillDisplay\Typo3Extension;
/*

View file

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
namespace SkillDisplay\Typo3Extension\ViewHelpers\Verification;
/*

View file

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
namespace SkillDisplay\Typo3Extension\ViewHelpers\Verification;
/*

View file

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
namespace SkillDisplay\Typo3Extension\ViewHelpers;
/*

View file

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
namespace SkillDisplay\Typo3Extension\Tests\Unit\Backend;
/*

View file

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
namespace SkillDisplay\Typo3Extension\Tests\Unit\Frontend\DataProcessing;
/*

View file

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
namespace SkillDisplay\Typo3Extension\Tests\Unit\Frontend\DataProcessing;
/*

View file

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
namespace SkillDisplay\Typo3Extension\Tests\Unit;
/*

View file

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
namespace SkillDisplay\Typo3Extension\Tests\Unit\ViewHelpers\Verification;
/*

View file

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
namespace SkillDisplay\Typo3Extension\Tests\Unit\ViewHelpers\Verification;
/*

View file

@ -9,4 +9,8 @@
<file>ext_localconf.php</file>
<rule ref="PSR12" />
<rule ref="Generic.PHP.RequireStrictTypes">
<exclude-pattern>ext_*.php</exclude-pattern>
<exclude-pattern>Configuration/*</exclude-pattern>
</rule>
</ruleset>