Add GitHub Action to auto-switch default branch on new tags #2
ci.yml
on: push
0️⃣ Pre-checks
3s
1️⃣ Static Analysis (PHPStan)
1m 1s
2️⃣ Coding Standards (ECS)
55s
3️⃣ Refactoring (Rector)
58s
4️⃣ Validate composer.json
47s
5️⃣ Syntax Check
47s
6️⃣ License Check
46s
7️⃣ Architecture Layer Check (Deptrac)
1m 15s
📁 Exported Files Check
6s
Matrix: tests
🧬 Mutation Testing
0s
Annotations
12 errors and 6 warnings
|
3️⃣ Refactoring (Rector)
Process completed with exit code 1.
|
|
2️⃣ Coding Standards (ECS)
Process completed with exit code 1.
|
|
1️⃣ Static Analysis (PHPStan):
src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php#L0
Ignored error "Method Jose\Bundle\JoseFramework\DependencyInjection\Source\Encryption\JWELoader::getNodeDefinition() has parameter $node with generic class Symfony\Component\Config\Definition\Builder\NodeDefinition but does not specify its types: TParent" (missingType.generics) in path /__w/jwt-framework/jwt-framework/src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php was not matched in reported errors.
|
|
1️⃣ Static Analysis (PHPStan):
src/Bundle/DependencyInjection/Source/Encryption/EncryptionSource.php#L0
Ignored error "Method Jose\Bundle\JoseFramework\DependencyInjection\Source\Encryption\EncryptionSource::getNodeDefinition() has parameter $node with generic class Symfony\Component\Config\Definition\Builder\NodeDefinition but does not specify its types: TParent" (missingType.generics) in path /__w/jwt-framework/jwt-framework/src/Bundle/DependencyInjection/Source/Encryption/EncryptionSource.php was not matched in reported errors.
|
|
1️⃣ Static Analysis (PHPStan):
src/Bundle/DependencyInjection/Source/Encryption/AbstractEncryptionSource.php#L0
Ignored error "Method Jose\Bundle\JoseFramework\DependencyInjection\Source\Encryption\AbstractEncryptionSource::getNodeDefinition() has parameter $node with generic class Symfony\Component\Config\Definition\Builder\NodeDefinition but does not specify its types: TParent" (missingType.generics) in path /__w/jwt-framework/jwt-framework/src/Bundle/DependencyInjection/Source/Encryption/AbstractEncryptionSource.php was not matched in reported errors.
|
|
1️⃣ Static Analysis (PHPStan):
src/Bundle/DependencyInjection/Source/Core/CoreSource.php#L0
Ignored error "Method Jose\Bundle\JoseFramework\DependencyInjection\Source\Core\CoreSource::getNodeDefinition() has parameter $node with generic class Symfony\Component\Config\Definition\Builder\NodeDefinition but does not specify its types: TParent" (missingType.generics) in path /__w/jwt-framework/jwt-framework/src/Bundle/DependencyInjection/Source/Core/CoreSource.php was not matched in reported errors.
|
|
1️⃣ Static Analysis (PHPStan):
src/Bundle/DependencyInjection/Source/Console/ConsoleSource.php#L0
Ignored error "Method Jose\Bundle\JoseFramework\DependencyInjection\Source\Console\ConsoleSource::getNodeDefinition() has parameter $node with generic class Symfony\Component\Config\Definition\Builder\NodeDefinition but does not specify its types: TParent" (missingType.generics) in path /__w/jwt-framework/jwt-framework/src/Bundle/DependencyInjection/Source/Console/ConsoleSource.php was not matched in reported errors.
|
|
1️⃣ Static Analysis (PHPStan):
src/Bundle/DependencyInjection/Source/Checker/HeaderChecker.php#L0
Ignored error "Method Jose\Bundle\JoseFramework\DependencyInjection\Source\Checker\HeaderChecker::getNodeDefinition() has parameter $node with generic class Symfony\Component\Config\Definition\Builder\NodeDefinition but does not specify its types: TParent" (missingType.generics) in path /__w/jwt-framework/jwt-framework/src/Bundle/DependencyInjection/Source/Checker/HeaderChecker.php was not matched in reported errors.
|
|
1️⃣ Static Analysis (PHPStan):
src/Bundle/DependencyInjection/Source/Checker/ClaimChecker.php#L0
Ignored error "Method Jose\Bundle\JoseFramework\DependencyInjection\Source\Checker\ClaimChecker::getNodeDefinition() has parameter $node with generic class Symfony\Component\Config\Definition\Builder\NodeDefinition but does not specify its types: TParent" (missingType.generics) in path /__w/jwt-framework/jwt-framework/src/Bundle/DependencyInjection/Source/Checker/ClaimChecker.php was not matched in reported errors.
|
|
1️⃣ Static Analysis (PHPStan):
src/Bundle/DependencyInjection/Source/Checker/CheckerSource.php#L0
Ignored error "Method Jose\Bundle\JoseFramework\DependencyInjection\Source\Checker\CheckerSource::getNodeDefinition() has parameter $node with generic class Symfony\Component\Config\Definition\Builder\NodeDefinition but does not specify its types: TParent" (missingType.generics) in path /__w/jwt-framework/jwt-framework/src/Bundle/DependencyInjection/Source/Checker/CheckerSource.php was not matched in reported errors.
|
|
1️⃣ Static Analysis (PHPStan):
src/Bundle/DependencyInjection/Source/AbstractSource.php#L0
Ignored error "Method Jose\Bundle\JoseFramework\DependencyInjection\Source\AbstractSource::addConfiguration() has parameter $node with generic class Symfony\Component\Config\Definition\Builder\NodeDefinition but does not specify its types: TParent" (missingType.generics) in path /__w/jwt-framework/jwt-framework/src/Bundle/DependencyInjection/Source/AbstractSource.php was not matched in reported errors.
|
|
1️⃣ Static Analysis (PHPStan):
src/Bundle/DependencyInjection/Configuration.php#L0
Ignored error "Method Jose\Bundle\JoseFramework\DependencyInjection\Configuration::getConfigTreeBuilder() return type with generic class Symfony\Component\Config\Definition\Builder\TreeBuilder does not specify its types: T" (missingType.generics) in path /__w/jwt-framework/jwt-framework/src/Bundle/DependencyInjection/Configuration.php was not matched in reported errors.
|
|
📦 Prepare Composer Dependencies
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809, actions/cache@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
3️⃣ Refactoring (Rector)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
4️⃣ Validate composer.json
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
2️⃣ Coding Standards (ECS)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
1️⃣ Static Analysis (PHPStan)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
7️⃣ Architecture Layer Check (Deptrac)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|