Skip to content

Commit 70c565d

Browse files
Use strict_types
1 parent d2e8126 commit 70c565d

File tree

64 files changed

+128
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+128
-0
lines changed

includes/Api/ApiQueryWikiConfig.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
namespace Miraheze\ManageWiki\Api;
46

57
use MediaWiki\Api\ApiQuery;

includes/ConfigNames.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
// phpcs:disable Generic.NamingConventions.UpperCaseConstantName.ClassConstantNotUpperCase
46
namespace Miraheze\ManageWiki;
57

includes/DeletedWikisPager.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
namespace Miraheze\ManageWiki;
46

57
use MediaWiki\Context\IContextSource;

includes/Exceptions/ErrorBase.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
namespace Miraheze\ManageWiki\Exceptions;
46

57
use MediaWiki\Exception\ErrorPageError;

includes/Exceptions/MissingWikiError.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
namespace Miraheze\ManageWiki\Exceptions;
46

57
class MissingWikiError extends ErrorBase {

includes/FormFactory/FormFactory.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
namespace Miraheze\ManageWiki\FormFactory;
46

57
use MediaWiki\Context\IContextSource;

includes/FormFactory/FormFactoryBuilder.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
namespace Miraheze\ManageWiki\FormFactory;
46

57
use MediaWiki\Config\ServiceOptions;

includes/FormFields/HTMLTypedSelectField.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
namespace Miraheze\ManageWiki\FormFields;
46

57
use MediaWiki\HTMLForm\Field\HTMLSelectField;

includes/Helpers/CacheUpdate.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
namespace Miraheze\ManageWiki\Helpers;
46

57
use MediaWiki\Config\ServiceOptions;

includes/Helpers/CoreModule.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
namespace Miraheze\ManageWiki\Helpers;
46

57
use MediaWiki\Config\ServiceOptions;

0 commit comments

Comments
 (0)