-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Bump PHPUnit dependencies * Ignore PHPUnit cache folder * Add return types to test methods * Define test classes as `final` * Move to phpunit.xml.dist * Restructure file paths of tests * Remove phpunit flag in local test env --------- Co-authored-by: Shift <[email protected]>
- Loading branch information
1 parent
c2b07d1
commit df43a2d
Showing
29 changed files
with
232 additions
and
211 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
.DS_Store | ||
.phpunit.result.cache | ||
/.phpunit.cache | ||
composer.lock | ||
vendor/ | ||
phpunit.xml | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,44 @@ | ||
{ | ||
"name": "intervention/gif", | ||
"description": "Native PHP GIF Encoder/Decoder", | ||
"homepage": "https://github.com/intervention/gif", | ||
"keywords": ["image", "gd", "gif", "animation"], | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "Oliver Vogel", | ||
"email": "[email protected]", | ||
"homepage": "https://intervention.io/" | ||
"name": "intervention/gif", | ||
"description": "Native PHP GIF Encoder/Decoder", | ||
"homepage": "https://github.com/intervention/gif", | ||
"keywords": [ | ||
"image", | ||
"gd", | ||
"gif", | ||
"animation" | ||
], | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "Oliver Vogel", | ||
"email": "[email protected]", | ||
"homepage": "https://intervention.io/" | ||
} | ||
], | ||
"require": { | ||
"php": "^8.1" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "^10.0", | ||
"phpstan/phpstan": "^1", | ||
"squizlabs/php_codesniffer": "^3.8", | ||
"slevomat/coding-standard": "~8.0" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Intervention\\Gif\\": "src" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"Intervention\\Gif\\Tests\\": "tests" | ||
} | ||
}, | ||
"minimum-stability": "stable", | ||
"config": { | ||
"allow-plugins": { | ||
"dealerdirect/phpcodesniffer-composer-installer": true | ||
} | ||
} | ||
], | ||
"require": { | ||
"php": "^8.1" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "^9", | ||
"phpstan/phpstan": "^1", | ||
"squizlabs/php_codesniffer": "^3.8", | ||
"slevomat/coding-standard": "~8.0" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Intervention\\Gif\\": "src" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"Intervention\\Gif\\Tests\\": "tests" | ||
} | ||
}, | ||
"minimum-stability": "stable", | ||
"config": { | ||
"allow-plugins": { | ||
"dealerdirect/phpcodesniffer-composer-installer": true | ||
} | ||
} | ||
} |
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 was deleted.
Oops, something went wrong.
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,13 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" bootstrap="vendor/autoload.php" colors="true" processIsolation="false" stopOnFailure="false" beStrictAboutTestsThatDoNotTestAnything="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" cacheDirectory=".phpunit.cache" backupStaticProperties="false"> | ||
<testsuites> | ||
<testsuite name="Unit Tests"> | ||
<directory suffix=".php">./tests/Unit/</directory> | ||
</testsuite> | ||
</testsuites> | ||
<source> | ||
<include> | ||
<directory suffix=".php">src</directory> | ||
</include> | ||
</source> | ||
</phpunit> |
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 was deleted.
Oops, something went wrong.
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
Oops, something went wrong.