Skip to content

Commit b0b55b6

Browse files
committed
Depreciations to exceptions for PHPUnit
1 parent a2a8bf9 commit b0b55b6

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

.php-cs-fixer.dist.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
*/
88

9-
$config = include '../phpfui/PhpCsFixer.php';
9+
$config = include 'vendor/phpfui/phpunit-syntax-coverage/PhpCsFixer.php';
1010

1111
return $config->setFinder(PhpCsFixer\Finder::create()
1212
->exclude('vendor')

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Due to a mistake in naming conventions by Constant Contact API designers, severa
2828
This Constant Contact API defines all types of objects to interact with the API. They are defined in the **PHPFUI\ConstantContact\Definition** namespace. Only valid fields are allowed to be accessed. Types are fully validated as to the best ability of PHP. Min and max lengths are enforced for strings.
2929

3030
## Usage Once Authorized (see below)
31-
```PHP
31+
```php
3232
// Create a client
3333
$client = new \PHPFUI\ConstantContact\Client($apiKey, $secret, $redirectURI);
3434
// Set access and refresh tokens on client

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"spatie/guzzle-rate-limiter-middleware": "^2.0"
1818
},
1919
"require-dev": {
20-
"phpunit/phpunit": ">=9.0",
20+
"phpunit/phpunit": "<10.0",
2121
"gitonomy/gitlib": ">=1.2",
2222
"phpfui/phpunit-syntax-coverage": "^1.0",
2323
"roave/security-advisories": "dev-latest",

phpunit.xml.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
convertErrorsToExceptions="true"
77
convertNoticesToExceptions="true"
88
convertWarningsToExceptions="true"
9+
convertDeprecationsToExceptions="true"
910
processIsolation="false"
1011
stopOnFailure="false"
1112
bootstrap="./Tests/bootstrap.php"

0 commit comments

Comments
 (0)