diff --git a/.github/ISSUE_TEMPLATE/1_Bug_report.yml b/.github/ISSUE_TEMPLATE/1_Bug_report.yml index a093c3b..22f9233 100644 --- a/.github/ISSUE_TEMPLATE/1_Bug_report.yml +++ b/.github/ISSUE_TEMPLATE/1_Bug_report.yml @@ -22,7 +22,7 @@ body: attributes: label: PHP Version description: Provide the PHP version that you are using. - placeholder: 8.1.4 + placeholder: 8.4.2 validations: required: true - type: input @@ -44,4 +44,4 @@ body: description: Provide detailed steps to reproduce your issue. If necessary, please provide a GitHub repository to demonstrate your issue using `laravel new bug-report --github="--public"`. validations: required: true - + diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c692c86..2cbd431 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,7 +16,7 @@ jobs: strategy: fail-fast: true matrix: - php: [7.2, 7.3, 7.4, '8.0', 8.1, 8.2, 8.3] + php: [7.2, 7.3, 7.4, '8.0', 8.1, 8.2, 8.3, 8.4] name: PHP ${{ matrix.php }} diff --git a/.gitignore b/.gitignore index 660fc15..cc31cac 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ composer.lock /phpunit.xml .phpunit.result.cache +.idea diff --git a/README.md b/README.md index 805f0f9..4b67df3 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ $server = $forge->createServer([ "size"=> "01", "database"=> "test123", "database_type" => InstallableServices::POSTGRES, - "php_version"=> InstallableServices::PHP_71, + "php_version"=> InstallableServices::PHP_84, "region"=> "ams2" ]); ``` diff --git a/src/Resources/InstallableServices.php b/src/Resources/InstallableServices.php index 0dbd055..98197b5 100644 --- a/src/Resources/InstallableServices.php +++ b/src/Resources/InstallableServices.php @@ -24,6 +24,8 @@ class InstallableServices const PHP_83 = 'php83'; + const PHP_84 = 'php84'; + const MYSQL = 'mysql'; const MYSQL_8 = 'mysql8';