Skip to content

Commit

Permalink
MNT New PHP 8.3 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Sabina Talipova committed Nov 21, 2023
1 parent 313a706 commit 5a7de23
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 4 deletions.
62 changes: 61 additions & 1 deletion consts.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,14 @@
'8.1',
'8.2',
],
'5' => [
'5.2' => [
'8.1',
'8.2',
'8.3',
],
'5' => [
'8.1',
'8.2'
],
];

Expand Down Expand Up @@ -529,4 +534,59 @@
'silverstripe-versionfeed' => '3.1',
'silverstripe-webauthn-authenticator' => '5.1',
],
'5.2' => [
'cwp-agencyextensions' => '3.1',
'cwp-starter-theme' => '4.0',
'cwp-watea-theme' => '4.0',
'silverstripe-advancedworkflow' => '6.1',
'silverstripe-auditor' => '3.0',
'silverstripe-blog' => '4.1',
'silverstripe-composer-update-checker' => '4.0',
'silverstripe-contentreview' => '5.1',
'silverstripe-crontask' => '3.0',
'silverstripe-developer-docs' => '5.1',
'silverstripe-documentconverter' => '3.1',
'silverstripe-dynamodb' => '5.0',
'silverstripe-elemental' => '5.1',
'silverstripe-elemental-bannerblock' => '3.1',
'silverstripe-elemental-fileblock' => '3.1',
'silverstripe-elemental-userforms' => '4.1',
'silverstripe-environmentcheck' => '3.0',
'silverstripe-externallinks' => '3.1',
'silverstripe-fluent' => '7.0',
'silverstripe-graphql' => '5.1',
'silverstripe-gridfield-bulk-editing-tools' => '4.0',
'silverstripe-gridfieldextensions' => '4.0',
'silverstripe-gridfieldqueuedexport' => '3.1',
'silverstripe-hybridsessions' => '3.0',
'silverstripe-iframe' => '3.1',
'silverstripe-ldap' => '2.1',
'silverstripe-login-forms' => '5.1',
'silverstripe-lumberjack' => '3.0',
'silverstripe-maintenance' => '3.0',
'silverstripe-mfa' => '5.1',
'silverstripe-mimevalidator' => '3.0',
'silverstripe-multivaluefield' => '6.0',
'silverstripe-queuedjobs' => '5.0',
'silverstripe-realme' => '5.2',
'silverstripe-registry' => '3.1',
'silverstripe-restfulserver' => '3.0',
'silverstripe-securityreport' => '3.0',
'silverstripe-segment-field' => '3.1',
'silverstripe-session-manager' => '2.1',
'silverstripe-sharedraftcontent' => '3.1',
'silverstripe-simple' => '3.3',
'silverstripe-sitewidecontent-report' => '4.1',
'silverstripe-spamprotection' => '4.1',
'silverstripe-staticpublishqueue' => '6.1',
'silverstripe-subsites' => '3.1',
'silverstripe-tagfield' => '3.1',
'silverstripe-taxonomy' => '3.1',
'silverstripe-textextraction' => '4.0',
'silverstripe-totp-authenticator' => '5.1',
'silverstripe-userforms' => '6.1',
'silverstripe-vendor-plugin' => '2.0',
'silverstripe-versionfeed' => '3.1',
'silverstripe-webauthn-authenticator' => '5.1',
],
];
7 changes: 4 additions & 3 deletions tests/JobCreatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,7 @@ public function provideGetPhpVersion(): array
['^7 <7.4', ['7.3', '7.3', '7.3', '7.3']],
['7.3-7.4', ['7.3', '7.4', '7.4', '7.4']],
['7.3 - 8.0', ['7.3', '7.4', '8.0', '8.0']],
['^8.1', ['8.1', '8.2', '8.3']],
];
}

Expand Down Expand Up @@ -675,9 +676,9 @@ public function provideGetInstallerVersionCMS5FromComposer(): array
// fallback to looking at deps in composer.json, use current minor of installer .x-dev
['myaccount/silverstripe-admin', 'mybranch', ['silverstripe/framework' => '5.x-dev'], '5.x-dev'],
['myaccount/silverstripe-admin', 'mybranch', ['silverstripe/framework' => '5.0.x-dev'], '5.0.x-dev'],
['myaccount/silverstripe-admin', 'mybranch', ['silverstripe/framework' => '^5'], '5.1.x-dev'],
['myaccount/silverstripe-somemodule', 'mybranch', ['silverstripe/cms' => '^5'], '5.1.x-dev'],
['myaccount/silverstripe-somemodule', 'mybranch', ['silverstripe/admin' => '^2'], '5.1.x-dev'],
['myaccount/silverstripe-admin', 'mybranch', ['silverstripe/framework' => '^5'], '5.2.x-dev'],
['myaccount/silverstripe-somemodule', 'mybranch', ['silverstripe/cms' => '^5'], '5.2.x-dev'],
['myaccount/silverstripe-somemodule', 'mybranch', ['silverstripe/admin' => '^2'], '5.2.x-dev'],
['myaccount/silverstripe-somemodule', '3', ['silverstripe/framework' => '^5'], '5.x-dev'],
];
}
Expand Down

0 comments on commit 5a7de23

Please sign in to comment.