Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
06b9e92
update composer.json for new dependencies
gjtorikian Apr 1, 2026
6814e77
lint/type commits
gjtorikian Apr 5, 2026
c1bb56d
keep version.php "safe"
gjtorikian Apr 5, 2026
0debffc
initial generation
gjtorikian Apr 5, 2026
baf33f9
feat: add hand-maintained non-spec modules (Passwordless, Vault, Webh…
gjtorikian Apr 5, 2026
1942a75
fix(php): resolve PHPStan errors in hand-maintained modules
gjtorikian Apr 5, 2026
a95e35c
refactor: mark static infrastructure files as @oagen-ignore-file
gjtorikian Apr 5, 2026
cdde38b
fix: use explicit --config flag for php-cs-fixer
gjtorikian Apr 5, 2026
956301a
fix: regenerate tests — eliminate all skipped tests
gjtorikian Apr 5, 2026
fd767fc
Improve PHP runtime behavior and regenerate SDK
gjtorikian Apr 5, 2026
5531e61
add migration guide
gjtorikian Apr 6, 2026
10cbea9
add docstrings
gjtorikian Apr 6, 2026
b22fbc6
fix: use PHPUnit 11 for PHP 8.2 support
gjtorikian Apr 6, 2026
430c810
add a missing endpoint
gjtorikian Apr 6, 2026
d536f45
add events
gjtorikian Apr 7, 2026
52fb3a7
regen
gjtorikian Apr 7, 2026
9c8b55b
remove old files
gjtorikian Apr 7, 2026
afd4569
correct return types
gjtorikian Apr 7, 2026
0d4c6cd
add `@var`
gjtorikian Apr 7, 2026
fa5eb94
thread a few corrections through
gjtorikian Apr 7, 2026
f3a704d
update migration guide
gjtorikian Apr 7, 2026
2e1b194
old files
gjtorikian Apr 7, 2026
f9e309f
fix: regenerate SDK with updated OpenAPI spec
gjtorikian Apr 8, 2026
12639b7
corrections
gjtorikian Apr 8, 2026
1015097
harden testing
gjtorikian Apr 8, 2026
27913bc
corrections from a merge conflict
gjtorikian Apr 8, 2026
7731e0f
updates
gjtorikian Apr 8, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
23 changes: 23 additions & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?php

declare(strict_types=1);

use PhpCsFixer\Config;
use PhpCsFixer\Finder;

return (new Config())
->setRules([
'@PSR12' => true,
'ordered_imports' => ['sort_algorithm' => 'alpha'],
'no_unused_imports' => true,
'single_quote' => true,
'trailing_comma_in_multiline' => true,
'declare_strict_types' => true,
])
->setRiskyAllowed(true)
->setFinder(
(new Finder())
->in(__DIR__)
->exclude(['vendor'])
)
;
18 changes: 11 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,19 @@
"authors": [
{
"name": "WorkOS",
"email": "eng@workos.com"
"email": "sdk@workos.com"
}
],
"require": {
"php": ">=8.2.0",
"ext-curl": "*",
"php": "^8.2",
"ext-curl": "^8.2",
"guzzlehttp/guzzle": "^7.0",
"paragonie/halite": "^5.1"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.0",
"phpunit/phpunit": "^10.5"
"phpstan/phpstan": "^2.1",
"phpunit/phpunit": "^11.5"
},
"autoload": {
"psr-4": {
Expand All @@ -33,9 +35,11 @@
},
"scripts": {
"clean": "rm -rf composer.lock vendor/",
"format": "php vendor/bin/php-cs-fixer fix -v --using-cache=no .",
"format-check": "php vendor/bin/php-cs-fixer fix -v --dry-run --using-cache=no .",
"test": "php vendor/bin/phpunit tests"
"format": "php vendor/bin/php-cs-fixer fix -v --using-cache=no --config=.php-cs-fixer.dist.php",
"format-check": "php vendor/bin/php-cs-fixer fix -v --dry-run --using-cache=no --config=.php-cs-fixer.dist.php",
"test": "php vendor/bin/phpunit tests",
"typecheck": "php vendor/bin/phpstan analyse --no-progress",
"ci": "./script/ci"
},
"config": {
"allow-plugins": {
Expand Down
Loading
Loading