Skip to content

Commit 49452f3

Browse files
committed
[TASK] declare strict types
1 parent 32b11ba commit 49452f3

6 files changed

Lines changed: 11 additions & 0 deletions

File tree

Build/php-cs-fixer.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@
77
'syntax' => 'question_mark',
88
],
99
'nullable_type_declaration_for_default_null_value' => true,
10+
'declare_strict_types' => true,
1011
]);
1112
return $config;

Configuration/Backend/AjaxRoutes.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
/**
46
* Definitions for routes provided by EXT:content_sync
57
*/

Configuration/Icons.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
return [
46
'b13-content-sync-toolbar' => [
57
'provider' => \TYPO3\CMS\Core\Imaging\IconProvider\SvgIconProvider::class,

Configuration/JavaScriptModules.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
return [
46
'imports' => [
57
'@b13/content-sync/' => 'EXT:content_sync/Resources/Public/JavaScript/',

ext_emconf.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
$EM_CONF[$_EXTKEY] = [
46
'title' => 'Content Sync',
57
'description' => 'Sync Database Tables and Files between two TYPO3 Installations',

ext_localconf.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
defined('TYPO3') or die();

0 commit comments

Comments
 (0)