Ensure strict_types are defined

This commit is contained in:
Daniel Siepmann 2021-01-23 15:52:16 +01:00
parent cd68eb9dd0
commit 4f09af857e
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4
14 changed files with 30 additions and 0 deletions

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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