-
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Update dependencies like PHPUnit after official PHP 8.4 release (
#201) Signed-off-by: Christopher Klein <ckl@dreitier.com>
- Loading branch information
Showing
98 changed files
with
1,225 additions
and
1,173 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,39 @@ | ||
{ | ||
"require-dev": { | ||
"10up/wp_mock": "1.0.1", | ||
"phpunit/phpunit": "9.6.20", | ||
"overtrue/phplint": "^2.3", | ||
"brianhenryie/strauss": "^0.11.1", | ||
"php-mock/php-mock-phpunit": "^2.10" | ||
}, | ||
"require": { | ||
"twig/twig": "3.18.0", | ||
"symfony/polyfill-mbstring": "1.20", | ||
"defuse/php-encryption": "2.0.3", | ||
"monolog/monolog": "^2.8.0" | ||
}, | ||
"scripts": { | ||
"strauss": [ | ||
"vendor/bin/strauss" | ||
], | ||
"twig-patcher": [ | ||
"php twig-patcher.php" | ||
], | ||
"post-install-cmd": [ | ||
"@strauss", | ||
"@twig-patcher" | ||
], | ||
"post-update-cmd": [ | ||
"@strauss", | ||
"@twig-patcher" | ||
] | ||
}, | ||
"extra": { | ||
"strauss": { | ||
"target_directory": "vendor-repackaged", | ||
"namespace_prefix": "Dreitier\\Nadi\\Vendor", | ||
"classmap_prefix": "Dreitier_Nadi_Vendor_", | ||
"constant_prefix": "DREITIER_NADI_VENDOR_" | ||
"require-dev": { | ||
"10up/wp_mock": "1.0.1", | ||
"phpunit/phpunit": "10.5.40 as 9.6.20", | ||
"overtrue/phplint": "^2.3", | ||
"brianhenryie/strauss": "^0.11.1", | ||
"php-mock/php-mock-phpunit": "^2.10" | ||
}, | ||
"require": { | ||
"twig/twig": "3.18.0", | ||
"symfony/polyfill-mbstring": "1.20", | ||
"defuse/php-encryption": "2.0.3", | ||
"monolog/monolog": "^2.8.0" | ||
}, | ||
"scripts": { | ||
"strauss": [ | ||
"vendor/bin/strauss" | ||
], | ||
"twig-patcher": [ | ||
"php twig-patcher.php" | ||
], | ||
"post-install-cmd": [ | ||
"@strauss", | ||
"@twig-patcher" | ||
], | ||
"post-update-cmd": [ | ||
"@strauss", | ||
"@twig-patcher" | ||
] | ||
}, | ||
"extra": { | ||
"strauss": { | ||
"target_directory": "vendor-repackaged", | ||
"namespace_prefix": "Dreitier\\Nadi\\Vendor", | ||
"classmap_prefix": "Dreitier_Nadi_Vendor_", | ||
"constant_prefix": "DREITIER_NADI_VENDOR_" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
namespace Dreitier\Test; | ||
|
||
/** | ||
* @see https://github.com/sebastianbergmann/phpunit/issues/5320 | ||
* | ||
* @template T | ||
*/ | ||
interface CallableMock | ||
{ | ||
/** | ||
* @return T | ||
*/ | ||
public function __invoke(); | ||
|
||
/** | ||
* @return T | ||
*/ | ||
public function __call(string $name, array $arguments); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.