Skip to content

Commit

Permalink
Add strict_types=1
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Apr 4, 2023
1 parent 1b3f522 commit 31c0277
Show file tree
Hide file tree
Showing 16 changed files with 34 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/AccessCheck.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace SimpleSAML\Module\statistics;

use Exception;
Expand Down
2 changes: 2 additions & 0 deletions src/Aggregator.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace SimpleSAML\Module\statistics;

use Exception;
Expand Down
6 changes: 4 additions & 2 deletions src/Controller/Statistics.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace SimpleSAML\Module\statistics\Controller;

use Exception;
Expand Down Expand Up @@ -124,8 +126,8 @@ public function main(Request $request): Template
$t->data['post_rule'] = $this->getBaseURL($t, 'post', 'rule');
$t->data['post_res'] = $this->getBaseURL($t, 'post', 'res');
$t->data['post_time'] = $this->getBaseURL($t, 'post', 'time');
$t->data['available_timeres'] = [];;
$t->data['available_times'] = [];;
$t->data['available_timeres'] = [];
$t->data['available_times'] = [];

if (isset($preferRule2)) {
$statrule = $ruleset->getRule($preferRule2);
Expand Down
2 changes: 2 additions & 0 deletions src/DateHandler.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace SimpleSAML\Module\statistics;

/**
Expand Down
2 changes: 2 additions & 0 deletions src/DateHandlerMonth.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace SimpleSAML\Module\statistics;

use SimpleSAML\Assert\Assert;
Expand Down
2 changes: 2 additions & 0 deletions src/Graph/GoogleCharts.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace SimpleSAML\Module\statistics\Graph;

/**
Expand Down
2 changes: 2 additions & 0 deletions src/LogCleaner.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace SimpleSAML\Module\statistics;

use Exception;
Expand Down
2 changes: 2 additions & 0 deletions src/LogParser.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace SimpleSAML\Module\statistics;

/**
Expand Down
2 changes: 2 additions & 0 deletions src/RatioDataset.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace SimpleSAML\Module\statistics;

use SimpleSAML\Configuration;
Expand Down
2 changes: 2 additions & 0 deletions src/Ruleset.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace SimpleSAML\Module\statistics;

use Exception;
Expand Down
2 changes: 2 additions & 0 deletions src/StatDataset.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace SimpleSAML\Module\statistics;

use Exception;
Expand Down
2 changes: 2 additions & 0 deletions src/Statistics/FieldPresentation/Base.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace SimpleSAML\Module\statistics\Statistics\FieldPresentation;

use SimpleSAML\Locale\Translate;
Expand Down
2 changes: 2 additions & 0 deletions src/Statistics/FieldPresentation/Entity.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace SimpleSAML\Module\statistics\Statistics\FieldPresentation;

use SimpleSAML\Metadata\MetaDataStorageHandler;
Expand Down
2 changes: 2 additions & 0 deletions src/Statistics/Rulesets/BaseRule.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace SimpleSAML\Module\statistics\Statistics\Rulesets;

use SimpleSAML\Configuration;
Expand Down
2 changes: 2 additions & 0 deletions src/Statistics/Rulesets/Ratio.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace SimpleSAML\Module\statistics\Statistics\Rulesets;

use SimpleSAML\Configuration;
Expand Down
2 changes: 2 additions & 0 deletions tests/bootstrap.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

$projectRoot = dirname(__DIR__);
require_once($projectRoot . '/vendor/autoload.php');

Expand Down

0 comments on commit 31c0277

Please sign in to comment.