mirror of
https://github.com/code-rhapsodie/oauth2-apple.git
synced 2026-03-24 21:02:08 +01:00
Compare commits
5 Commits
update-cod
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2bddf4d18c | ||
|
|
d770cdfcc7 | ||
|
|
053c7a1f80 | ||
|
|
e8bd6365bf | ||
|
|
9f99c0dadf |
2
.github/workflows/continuous-integration.yml
vendored
2
.github/workflows/continuous-integration.yml
vendored
@@ -23,7 +23,7 @@ jobs:
|
||||
tools: composer:v2
|
||||
- uses: ramsey/composer-install@v3
|
||||
- name: 'Lint the PHP source code'
|
||||
run: ./vendor/bin/parallel-lint src test
|
||||
run: ./vendor/bin/parallel-lint src tests
|
||||
|
||||
coding-standards:
|
||||
name: Coding Standards
|
||||
|
||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -5,3 +5,4 @@ composer.phar
|
||||
composer.lock
|
||||
.DS_Store
|
||||
.phpunit.result.cache
|
||||
/.phpunit.cache/
|
||||
|
||||
@@ -18,6 +18,14 @@ All Notable changes to `oauth2-apple` will be documented in this file
|
||||
### Security
|
||||
- Nothing
|
||||
|
||||
## 0.5.0 - 2026-02-25
|
||||
|
||||
### Fixed
|
||||
- Updated code base to php 8
|
||||
|
||||
### Removed
|
||||
- lcobucci/jwt library
|
||||
|
||||
## 0.4.0 - 2026-02-19
|
||||
|
||||
### Added
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
},
|
||||
"autoload-dev": {
|
||||
"psr-4": {
|
||||
"League\\OAuth2\\Client\\Test\\": "test/src/"
|
||||
"League\\OAuth2\\Client\\Test\\": "tests/src/"
|
||||
}
|
||||
},
|
||||
"extra": {
|
||||
|
||||
34
phpunit.xml
34
phpunit.xml
@@ -1,13 +1,31 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" backupStaticAttributes="false"
|
||||
convertDeprecationsToExceptions="false" bootstrap="vendor/autoload.php" colors="true" convertErrorsToExceptions="true"
|
||||
convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false"
|
||||
stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/12.5/phpunit.xsd">
|
||||
<logging/>
|
||||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
|
||||
bootstrap="vendor/autoload.php"
|
||||
cacheDirectory=".phpunit.cache"
|
||||
executionOrder="depends,defects"
|
||||
beStrictAboutCoverageMetadata="true"
|
||||
beStrictAboutOutputDuringTests="true"
|
||||
displayDetailsOnPhpunitDeprecations="true"
|
||||
failOnPhpunitDeprecation="true"
|
||||
failOnRisky="true"
|
||||
failOnWarning="true">
|
||||
<testsuites>
|
||||
<testsuite name="Package Test Suite">
|
||||
<directory suffix=".php">./test/</directory>
|
||||
<exclude>./test/src/Provider/TestApple.php</exclude>
|
||||
<testsuite name="default">
|
||||
<directory>tests</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
|
||||
<source restrictNotices="true" restrictWarnings="true">
|
||||
<include>
|
||||
<directory>src</directory>
|
||||
</include>
|
||||
</source>
|
||||
|
||||
<coverage>
|
||||
<report>
|
||||
<clover outputFile="./build/coverage/log/coverage.xml"/>
|
||||
<html outputDirectory="./build/coverage/html" lowUpperBound="35" highLowerBound="70"/>
|
||||
</report>
|
||||
</coverage>
|
||||
</phpunit>
|
||||
|
||||
@@ -19,7 +19,7 @@ class AppleTest extends TestCase
|
||||
/**
|
||||
* @return Apple
|
||||
*/
|
||||
private function getProvider()
|
||||
private function getProvider(): Apple
|
||||
{
|
||||
return new Apple([
|
||||
'clientId' => 'mock.example',
|
||||
@@ -2,12 +2,11 @@
|
||||
|
||||
namespace League\OAuth2\Client\Test\Token;
|
||||
|
||||
use Firebase\JWT\Key;
|
||||
use League\OAuth2\Client\Token\AppleAccessToken;
|
||||
use Mockery as m;
|
||||
use PHPUnit\Framework\Attributes\PreserveGlobalState;
|
||||
use PHPUnit\Framework\Attributes\RunInSeparateProcess;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Mockery as m;
|
||||
|
||||
class AppleAccessTokenTest extends TestCase
|
||||
{
|
||||
Reference in New Issue
Block a user