Skip to content

Commit

Permalink
chore(Updater): Activate strict_types
Browse files Browse the repository at this point in the history
Signed-off-by: Josh <josh.t.richards@gmail.com>
  • Loading branch information
joshtrichards committed Jul 6, 2024
1 parent 3b634b9 commit 8f8ea13
Show file tree
Hide file tree
Showing 11 changed files with 27 additions and 0 deletions.
1 change: 1 addition & 0 deletions buildVersionFile.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?php

declare(strict_types=1);

$currentTag = trim(shell_exec('git describe --tags'));
exec('git diff-files --quiet', $output, $returnValue);
Expand Down
3 changes: 3 additions & 0 deletions index.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<?php

declare(strict_types=1);

/**
* @copyright Copyright (c) 2016-2017 Lukas Reschke <lukas@statuscode.ch>
* @copyright Copyright (c) 2016 Morris Jobke <hey@morrisjobke.de>
Expand Down
3 changes: 3 additions & 0 deletions index.web.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<?php

declare(strict_types=1);

/**
* @copyright Copyright (c) 2016-2017 Lukas Reschke <lukas@statuscode.ch>
* @copyright Copyright (c) 2016 Morris Jobke <hey@morrisjobke.de>
Expand Down
3 changes: 3 additions & 0 deletions lib/CommandApplication.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<?php

declare(strict_types=1);

/**
* @copyright Copyright (c) 2016 Morris Jobke <hey@morrisjobke.de>
*
Expand Down
3 changes: 3 additions & 0 deletions lib/LogException.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<?php

declare(strict_types=1);

/**
* @copyright Copyright (c) 2016 Lukas Reschke <lukas@statuscode.ch>
* @copyright Copyright (c) 2016 Morris Jobke <hey@morrisjobke.de>
Expand Down
3 changes: 3 additions & 0 deletions lib/RecursiveDirectoryIteratorWithoutData.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<?php

declare(strict_types=1);

/**
* @copyright Copyright (c) 2016 Lukas Reschke <lukas@statuscode.ch>
* @copyright Copyright (c) 2016 Morris Jobke <hey@morrisjobke.de>
Expand Down
3 changes: 3 additions & 0 deletions lib/UpdateCommand.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<?php

declare(strict_types=1);

/**
* @copyright Copyright (c) 2016 Morris Jobke <hey@morrisjobke.de>
* @copyright Copyright (c) 2017 Lukas Reschke <lukas@statuscode.ch>
Expand Down
3 changes: 3 additions & 0 deletions lib/UpdateException.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<?php

declare(strict_types=1);

/**
* @copyright Copyright (c) 2016 Lukas Reschke <lukas@statuscode.ch>
* @copyright Copyright (c) 2016 Morris Jobke <hey@morrisjobke.de>
Expand Down
3 changes: 3 additions & 0 deletions lib/Updater.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<?php

declare(strict_types=1);

/**
* @copyright Copyright (c) 2016-2017 Lukas Reschke <lukas@statuscode.ch>
* @copyright Copyright (c) 2016 Morris Jobke <hey@morrisjobke.de>
Expand Down
Binary file modified updater.phar
Binary file not shown.
2 changes: 2 additions & 0 deletions updater.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/usr/bin/env php
<?php

declare(strict_types=1);

require __DIR__ . '/vendor/autoload.php';

ini_set('display_errors', '0');
Expand Down

0 comments on commit 8f8ea13

Please sign in to comment.