Skip to content

Commit

Permalink
Update unit tests:
Browse files Browse the repository at this point in the history
- add declare(strict_types = 1);
  • Loading branch information
webeweb committed Apr 5, 2024
1 parent 6a1cd10 commit 8f82b1e
Show file tree
Hide file tree
Showing 87 changed files with 174 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/AbstractTestCase.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the smsmode-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Api/DeliveryReportInterfaceTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the smsmode-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Api/RequestInterfaceTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the smsmode-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Api/ResponseInterfaceTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the smsmode-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Api/SendingSmsBatchInterfaceTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the smsmode-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Api/SendingSmsMessageInterfaceTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the smsmode-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Api/SendingTextToSpeechSmsInterfaceTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the smsmode-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Api/SmsReplyInterfaceTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the smsmode-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Factory/RequestFactoryTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the smsmode-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Fixtures/Provider/TestProvider.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the smsmode-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Fixtures/Response/TestResponse.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the smsmode-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Fixtures/Serializer/TestResponseDeserializer.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the smsmode-library package.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the smsmode-library package.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the smsmode-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Fixtures/Traits/Integers/TestIntegerClasseMsgTrait.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the smsmode-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Fixtures/Traits/Integers/TestIntegerNbrMsgTrait.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the smsmode-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Fixtures/Traits/Integers/TestIntegerOffsetTrait.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the smsmode-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Fixtures/Traits/Strings/TestStringAccessTokenTrait.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the smsmode-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Fixtures/Traits/Strings/TestStringEmetteurTrait.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the smsmode-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Fixtures/Traits/Strings/TestStringMobileTrait.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the smsmode-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Fixtures/Traits/Strings/TestStringNomTrait.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the smsmode-library package.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the smsmode-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Fixtures/Traits/Strings/TestStringNumeroTrait.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the smsmode-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Fixtures/Traits/Strings/TestStringPrenomTrait.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the smsmode-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Fixtures/Traits/Strings/TestStringRefClientTrait.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the smsmode-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Fixtures/Traits/Strings/TestStringResponseIDTrait.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the smsmode-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Fixtures/Traits/Strings/TestStringSmsIDTrait.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the smsmode-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Fixtures/Traits/Strings/TestStringSocieteTrait.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the smsmode-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Model/AuthenticationTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the smsmode-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Model/DeliveryReportCallbackTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the smsmode-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Model/DeliveryReportTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the smsmode-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Model/SentSmsMessageTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the smsmode-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Model/SmsReplyCallbackTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the smsmode-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Model/SmsReplyTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the smsmode-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Provider/AbstractProviderTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the smsmode-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Provider/ApiProviderTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the smsmode-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Request/AccountBalanceRequestTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the smsmode-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Request/AddingContactRequestTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the smsmode-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Request/CheckingSmsMessageStatusRequestTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the smsmode-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Request/CreatingApiKeyRequestTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the smsmode-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Request/CreatingSubAccountRequestTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the smsmode-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Request/DeletingSmsRequestTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the smsmode-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Request/DeletingSubAccountRequestTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the smsmode-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Request/DeliveryReportRequestTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the smsmode-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Request/RetrievingSmsReplyRequestTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the smsmode-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Request/SendingSmsBatchRequestTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the smsmode-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Request/SendingSmsMessageRequestTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the smsmode-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Request/SendingTextToSpeechSmsRequestTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the smsmode-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Request/SentSmsMessageListRequestTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the smsmode-library package.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/Request/TransferringCreditsRequestTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types = 1);

/*
* This file is part of the smsmode-library package.
*
Expand Down
Loading

0 comments on commit 8f82b1e

Please sign in to comment.