-
-
Notifications
You must be signed in to change notification settings - Fork 14
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 * Remove flags from phpunit test env * Update PHP min. requirement --------- Co-authored-by: Shift <shift@laravelshift.com>
- Loading branch information
1 parent
c4fa745
commit 237430f
Showing
8 changed files
with
78 additions
and
80 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,6 +1,6 @@ | ||
.DS_Store | ||
.phpunit.result.cache | ||
/.phpunit.cache | ||
composer.lock | ||
vendor/ | ||
dev/ | ||
.phpunit.result.cache | ||
/.phpunit.cache |
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,4 @@ | ||
FROM php:8.0-cli | ||
FROM php:8.1-cli | ||
|
||
RUN apt update \ | ||
&& apt install -y \ | ||
|
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,51 +1,58 @@ | ||
{ | ||
"name": "intervention/zodiac", | ||
"description": "Zodiac sign calculator", | ||
"homepage": "https://zodiac.intervention.io", | ||
"keywords": ["zodiac", "sun sign", "star sign", "horoscope", "astrology", "birthday"], | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "Oliver Vogel", | ||
"email": "oliver@intervention.io", | ||
"homepage": "https://intervention.io/" | ||
} | ||
], | ||
"require": { | ||
"php": "^8.0", | ||
"nesbot/carbon": "^2.0", | ||
"illuminate/translation": "~6|~7|~8|~9|~10" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "^9.0", | ||
"phpstan/phpstan": "^1", | ||
"squizlabs/php_codesniffer": "^3.8", | ||
"slevomat/coding-standard": "~8.0" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Intervention\\Zodiac\\": "src/" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"Intervention\\Zodiac\\Test\\": "tests/" | ||
} | ||
}, | ||
"extra": { | ||
"laravel": { | ||
"providers": [ | ||
"Intervention\\Zodiac\\Laravel\\ZodiacServiceProvider" | ||
], | ||
"aliases": { | ||
"Zodiac": "Intervention\\Zodiac\\Laravel\\ZodiacFacade" | ||
} | ||
} | ||
}, | ||
"minimum-stability": "stable", | ||
"config": { | ||
"allow-plugins": { | ||
"dealerdirect/phpcodesniffer-composer-installer": true | ||
} | ||
} | ||
} | ||
{ | ||
"name": "intervention/zodiac", | ||
"description": "Zodiac sign calculator", | ||
"homepage": "https://zodiac.intervention.io", | ||
"keywords": [ | ||
"zodiac", | ||
"sun sign", | ||
"star sign", | ||
"horoscope", | ||
"astrology", | ||
"birthday" | ||
], | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "Oliver Vogel", | ||
"email": "oliver@intervention.io", | ||
"homepage": "https://intervention.io/" | ||
} | ||
], | ||
"require": { | ||
"php": "^8.1", | ||
"nesbot/carbon": "^2.0", | ||
"illuminate/translation": "~6|~7|~8|~9|~10" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "^10.0", | ||
"phpstan/phpstan": "^1", | ||
"squizlabs/php_codesniffer": "^3.8", | ||
"slevomat/coding-standard": "~8.0" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Intervention\\Zodiac\\": "src/" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"Intervention\\Zodiac\\Test\\": "tests/" | ||
} | ||
}, | ||
"extra": { | ||
"laravel": { | ||
"providers": [ | ||
"Intervention\\Zodiac\\Laravel\\ZodiacServiceProvider" | ||
], | ||
"aliases": { | ||
"Zodiac": "Intervention\\Zodiac\\Laravel\\ZodiacFacade" | ||
} | ||
} | ||
}, | ||
"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,8 @@ | ||
<?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" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" cacheDirectory=".phpunit.cache" backupStaticProperties="false"> | ||
<testsuites> | ||
<testsuite name="Package Test Suite"> | ||
<directory suffix=".php">./tests/</directory> | ||
</testsuite> | ||
</testsuites> | ||
</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 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