Skip to content
This repository has been archived by the owner on Aug 4, 2023. It is now read-only.

Commit

Permalink
Add rule declare_strict_types to PHP CS Fixer.
Browse files Browse the repository at this point in the history
  • Loading branch information
Aerendir committed Sep 12, 2020
1 parent 48ecbab commit a2d0ad9
Show file tree
Hide file tree
Showing 65 changed files with 129 additions and 0 deletions.
1 change: 1 addition & 0 deletions .php_cs.dist
Expand Up @@ -43,6 +43,7 @@ return PhpCsFixer\Config::create()
]
],
'combine_consecutive_unsets' => true,
'declare_strict_types' => true,
'fully_qualified_strict_types' => true,
'global_namespace_import' => [
'import_classes' => false,
Expand Down
2 changes: 2 additions & 0 deletions dev/Command/CheckCommand.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/*
* This file is part of the Serendipity HQ Stripe Bundle.
*
Expand Down
2 changes: 2 additions & 0 deletions dev/Helper/ReflectionHelper.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/*
* This file is part of the Serendipity HQ Stripe Bundle.
*
Expand Down
2 changes: 2 additions & 0 deletions src/Controller/WebhookController.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/*
* This file is part of the Serendipity HQ Stripe Bundle.
*
Expand Down
2 changes: 2 additions & 0 deletions src/DependencyInjection/Configuration.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/*
* This file is part of the Serendipity HQ Stripe Bundle.
*
Expand Down
2 changes: 2 additions & 0 deletions src/DependencyInjection/SHQStripeExtension.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/*
* This file is part of the Serendipity HQ Stripe Bundle.
*
Expand Down
2 changes: 2 additions & 0 deletions src/Event/AbstractStripeChargeEvent.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/*
* This file is part of the Serendipity HQ Stripe Bundle.
*
Expand Down
2 changes: 2 additions & 0 deletions src/Event/AbstractStripeCustomerEvent.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/*
* This file is part of the Serendipity HQ Stripe Bundle.
*
Expand Down
2 changes: 2 additions & 0 deletions src/Event/AbstractStripeEvent.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/*
* This file is part of the Serendipity HQ Stripe Bundle.
*
Expand Down
2 changes: 2 additions & 0 deletions src/Event/AbstractStripeWebhookEventEvent.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/*
* This file is part of the Serendipity HQ Stripe Bundle.
*
Expand Down
2 changes: 2 additions & 0 deletions src/Event/StripeChargeCreateEvent.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/*
* This file is part of the Serendipity HQ Stripe Bundle.
*
Expand Down
2 changes: 2 additions & 0 deletions src/Event/StripeCustomerCreateEvent.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/*
* This file is part of the Serendipity HQ Stripe Bundle.
*
Expand Down
2 changes: 2 additions & 0 deletions src/Event/StripeCustomerUpdateEvent.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/*
* This file is part of the Serendipity HQ Stripe Bundle.
*
Expand Down
2 changes: 2 additions & 0 deletions src/Event/StripeWebhookAccountEventEvent.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/*
* This file is part of the Serendipity HQ Stripe Bundle.
*
Expand Down
2 changes: 2 additions & 0 deletions src/Event/StripeWebhookApplicationFeeEventEvent.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/*
* This file is part of the Serendipity HQ Stripe Bundle.
*
Expand Down
2 changes: 2 additions & 0 deletions src/Event/StripeWebhookBalanceEventEvent.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/*
* This file is part of the Serendipity HQ Stripe Bundle.
*
Expand Down
2 changes: 2 additions & 0 deletions src/Event/StripeWebhookBitcoinEventEvent.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/*
* This file is part of the Serendipity HQ Stripe Bundle.
*
Expand Down
2 changes: 2 additions & 0 deletions src/Event/StripeWebhookChargeEventEvent.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/*
* This file is part of the Serendipity HQ Stripe Bundle.
*
Expand Down
2 changes: 2 additions & 0 deletions src/Event/StripeWebhookCouponEventEvent.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/*
* This file is part of the Serendipity HQ Stripe Bundle.
*
Expand Down
2 changes: 2 additions & 0 deletions src/Event/StripeWebhookCustomerEventEvent.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/*
* This file is part of the Serendipity HQ Stripe Bundle.
*
Expand Down
2 changes: 2 additions & 0 deletions src/Event/StripeWebhookInvoiceEventEvent.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/*
* This file is part of the Serendipity HQ Stripe Bundle.
*
Expand Down
2 changes: 2 additions & 0 deletions src/Event/StripeWebhookInvoiceItemEventEvent.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/*
* This file is part of the Serendipity HQ Stripe Bundle.
*
Expand Down
2 changes: 2 additions & 0 deletions src/Event/StripeWebhookOrderEventEvent.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/*
* This file is part of the Serendipity HQ Stripe Bundle.
*
Expand Down
2 changes: 2 additions & 0 deletions src/Event/StripeWebhookOrderReturnEventEvent.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/*
* This file is part of the Serendipity HQ Stripe Bundle.
*
Expand Down
2 changes: 2 additions & 0 deletions src/Event/StripeWebhookPingEventEvent.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/*
* This file is part of the Serendipity HQ Stripe Bundle.
*
Expand Down
2 changes: 2 additions & 0 deletions src/Event/StripeWebhookProductEventEvent.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/*
* This file is part of the Serendipity HQ Stripe Bundle.
*
Expand Down
2 changes: 2 additions & 0 deletions src/Event/StripeWebhookRecipientEventEvent.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/*
* This file is part of the Serendipity HQ Stripe Bundle.
*
Expand Down
2 changes: 2 additions & 0 deletions src/Event/StripeWebhookReviewEvent.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/*
* This file is part of the Serendipity HQ Stripe Bundle.
*
Expand Down
2 changes: 2 additions & 0 deletions src/Event/StripeWebhookSkuEventEvent.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/*
* This file is part of the Serendipity HQ Stripe Bundle.
*
Expand Down
2 changes: 2 additions & 0 deletions src/Event/StripeWebhookSourceEventEvent.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/*
* This file is part of the Serendipity HQ Stripe Bundle.
*
Expand Down
2 changes: 2 additions & 0 deletions src/Event/StripeWebhookTransferEventEvent.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/*
* This file is part of the Serendipity HQ Stripe Bundle.
*
Expand Down
2 changes: 2 additions & 0 deletions src/Form/Type/CreditCardStripeTokenType.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/*
* This file is part of the Serendipity HQ Stripe Bundle.
*
Expand Down
2 changes: 2 additions & 0 deletions src/Manager/StripeManager.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/*
* This file is part of the Serendipity HQ Stripe Bundle.
*
Expand Down
2 changes: 2 additions & 0 deletions src/Model/StripeLocalCard.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/*
* This file is part of the Serendipity HQ Stripe Bundle.
*
Expand Down
2 changes: 2 additions & 0 deletions src/Model/StripeLocalCharge.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/*
* This file is part of the Serendipity HQ Stripe Bundle.
*
Expand Down
2 changes: 2 additions & 0 deletions src/Model/StripeLocalCustomer.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/*
* This file is part of the Serendipity HQ Stripe Bundle.
*
Expand Down
2 changes: 2 additions & 0 deletions src/Model/StripeLocalResourceInterface.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/*
* This file is part of the Serendipity HQ Stripe Bundle.
*
Expand Down
2 changes: 2 additions & 0 deletions src/Model/StripeLocalWebhookEvent.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/*
* This file is part of the Serendipity HQ Stripe Bundle.
*
Expand Down
2 changes: 2 additions & 0 deletions src/Repository/ByStripeIdInterface.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/*
* This file is part of the Serendipity HQ Stripe Bundle.
*
Expand Down
2 changes: 2 additions & 0 deletions src/Repository/StripeLocalCardRepository.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/*
* This file is part of the Serendipity HQ Stripe Bundle.
*
Expand Down
2 changes: 2 additions & 0 deletions src/Repository/StripeLocalChargeRepository.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/*
* This file is part of the Serendipity HQ Stripe Bundle.
*
Expand Down
2 changes: 2 additions & 0 deletions src/Repository/StripeLocalCustomerRepository.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/*
* This file is part of the Serendipity HQ Stripe Bundle.
*
Expand Down
2 changes: 2 additions & 0 deletions src/Repository/StripeLocalWebhookEventRepository.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/*
* This file is part of the Serendipity HQ Stripe Bundle.
*
Expand Down
2 changes: 2 additions & 0 deletions src/SHQStripeBundle.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/*
* This file is part of the Serendipity HQ Stripe Bundle.
*
Expand Down
2 changes: 2 additions & 0 deletions src/Subscriber/AbstractStripeSubscriber.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/*
* This file is part of the Serendipity HQ Stripe Bundle.
*
Expand Down
2 changes: 2 additions & 0 deletions src/Subscriber/StripeChargeSubscriber.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/*
* This file is part of the Serendipity HQ Stripe Bundle.
*
Expand Down
2 changes: 2 additions & 0 deletions src/Subscriber/StripeCustomerSubscriber.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/*
* This file is part of the Serendipity HQ Stripe Bundle.
*
Expand Down
2 changes: 2 additions & 0 deletions src/Syncer/AbstractSyncer.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/*
* This file is part of the Serendipity HQ Stripe Bundle.
*
Expand Down
2 changes: 2 additions & 0 deletions src/Syncer/CardSyncer.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/*
* This file is part of the Serendipity HQ Stripe Bundle.
*
Expand Down
2 changes: 2 additions & 0 deletions src/Syncer/ChargeSyncer.php
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/*
* This file is part of the Serendipity HQ Stripe Bundle.
*
Expand Down

0 comments on commit a2d0ad9

Please sign in to comment.