From 9dfec3a8cf65bcaf7522116aa9432ab02a8c6abe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Bernard=20Ara=C3=BAjo?= Date: Sun, 24 Nov 2024 20:58:31 +1300 Subject: [PATCH 1/2] Add support for PHP 8.4 --- .idea/.gitignore | 8 +++ .idea/aws.xml | 17 +++++ .idea/brefphp--constructs.iml | 9 +++ .idea/codeStyles/Project.xml | 67 ++++++++++++++++++++ .idea/codeStyles/codeStyleConfig.xml | 5 ++ .idea/git_toolbox_blame.xml | 6 ++ .idea/inspectionProfiles/Project_Default.xml | 11 ++++ .idea/misc.xml | 6 ++ .idea/modules.xml | 8 +++ .idea/prettier.xml | 6 ++ .idea/vcs.xml | 6 ++ package.json | 2 +- src/function/PhpFpmFunction.ts | 2 +- src/function/PhpFunction.ts | 2 +- 14 files changed, 152 insertions(+), 3 deletions(-) create mode 100644 .idea/.gitignore create mode 100644 .idea/aws.xml create mode 100644 .idea/brefphp--constructs.iml create mode 100644 .idea/codeStyles/Project.xml create mode 100644 .idea/codeStyles/codeStyleConfig.xml create mode 100644 .idea/git_toolbox_blame.xml create mode 100644 .idea/inspectionProfiles/Project_Default.xml create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/prettier.xml create mode 100644 .idea/vcs.xml diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..13566b8 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/aws.xml b/.idea/aws.xml new file mode 100644 index 0000000..03f1bb6 --- /dev/null +++ b/.idea/aws.xml @@ -0,0 +1,17 @@ + + + + + + + \ No newline at end of file diff --git a/.idea/brefphp--constructs.iml b/.idea/brefphp--constructs.iml new file mode 100644 index 0000000..d6ebd48 --- /dev/null +++ b/.idea/brefphp--constructs.iml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml new file mode 100644 index 0000000..4c7d8e2 --- /dev/null +++ b/.idea/codeStyles/Project.xml @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml new file mode 100644 index 0000000..79ee123 --- /dev/null +++ b/.idea/codeStyles/codeStyleConfig.xml @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/.idea/git_toolbox_blame.xml b/.idea/git_toolbox_blame.xml new file mode 100644 index 0000000..7dc1249 --- /dev/null +++ b/.idea/git_toolbox_blame.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..22cdf9b --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,11 @@ + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..f03c948 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..f61c4e2 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/prettier.xml b/.idea/prettier.xml new file mode 100644 index 0000000..b0c1c68 --- /dev/null +++ b/.idea/prettier.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/package.json b/package.json index c789290..c4193c9 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "constructs": "^10.0.0" }, "dependencies": { - "@bref.sh/layers": "^2.0.62" + "@bref.sh/layers": "^2.0.95" }, "devDependencies": { "@types/lodash": "^4.14.195", diff --git a/src/function/PhpFpmFunction.ts b/src/function/PhpFpmFunction.ts index 700f9c9..38595a6 100644 --- a/src/function/PhpFpmFunction.ts +++ b/src/function/PhpFpmFunction.ts @@ -6,7 +6,7 @@ import { fpmLayer } from '../layers'; import { packagePhpCode } from '../package'; export type PhpFpmFunctionProps = Partial & { - phpVersion?: '8.0' | '8.1' | '8.2' | '8.3'; + phpVersion?: '8.0' | '8.1' | '8.2' | '8.3' | '8.4'; }; export class PhpFpmFunction extends Function { diff --git a/src/function/PhpFunction.ts b/src/function/PhpFunction.ts index 69a8d50..4df8217 100644 --- a/src/function/PhpFunction.ts +++ b/src/function/PhpFunction.ts @@ -8,7 +8,7 @@ import { IVpc } from 'aws-cdk-lib/aws-ec2'; import { VpcForServerlessApp } from '../vpc/VpcForServerlessApp'; export type PhpFunctionProps = Partial & { - phpVersion?: '8.0' | '8.1' | '8.2' | '8.3'; + phpVersion?: '8.0' | '8.1' | '8.2' | '8.3' | '8.4'; handler: string; vpc?: IVpc | VpcForServerlessApp; }; From 0250389b29b1e2e9fac76d2bfa8945de4131283d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Bernard=20Ara=C3=BAjo?= Date: Sun, 24 Nov 2024 21:01:15 +1300 Subject: [PATCH 2/2] Remove files from git --- .idea/.gitignore | 8 --- .idea/aws.xml | 17 ----- .idea/brefphp--constructs.iml | 9 --- .idea/codeStyles/Project.xml | 67 -------------------- .idea/codeStyles/codeStyleConfig.xml | 5 -- .idea/git_toolbox_blame.xml | 6 -- .idea/inspectionProfiles/Project_Default.xml | 11 ---- .idea/misc.xml | 6 -- .idea/modules.xml | 8 --- .idea/prettier.xml | 6 -- .idea/vcs.xml | 6 -- 11 files changed, 149 deletions(-) delete mode 100644 .idea/.gitignore delete mode 100644 .idea/aws.xml delete mode 100644 .idea/brefphp--constructs.iml delete mode 100644 .idea/codeStyles/Project.xml delete mode 100644 .idea/codeStyles/codeStyleConfig.xml delete mode 100644 .idea/git_toolbox_blame.xml delete mode 100644 .idea/inspectionProfiles/Project_Default.xml delete mode 100644 .idea/misc.xml delete mode 100644 .idea/modules.xml delete mode 100644 .idea/prettier.xml delete mode 100644 .idea/vcs.xml diff --git a/.idea/.gitignore b/.idea/.gitignore deleted file mode 100644 index 13566b8..0000000 --- a/.idea/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml -# Editor-based HTTP Client requests -/httpRequests/ -# Datasource local storage ignored files -/dataSources/ -/dataSources.local.xml diff --git a/.idea/aws.xml b/.idea/aws.xml deleted file mode 100644 index 03f1bb6..0000000 --- a/.idea/aws.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/.idea/brefphp--constructs.iml b/.idea/brefphp--constructs.iml deleted file mode 100644 index d6ebd48..0000000 --- a/.idea/brefphp--constructs.iml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml deleted file mode 100644 index 4c7d8e2..0000000 --- a/.idea/codeStyles/Project.xml +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml deleted file mode 100644 index 79ee123..0000000 --- a/.idea/codeStyles/codeStyleConfig.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - \ No newline at end of file diff --git a/.idea/git_toolbox_blame.xml b/.idea/git_toolbox_blame.xml deleted file mode 100644 index 7dc1249..0000000 --- a/.idea/git_toolbox_blame.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - \ No newline at end of file diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml deleted file mode 100644 index 22cdf9b..0000000 --- a/.idea/inspectionProfiles/Project_Default.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml deleted file mode 100644 index f03c948..0000000 --- a/.idea/misc.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml deleted file mode 100644 index f61c4e2..0000000 --- a/.idea/modules.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/.idea/prettier.xml b/.idea/prettier.xml deleted file mode 100644 index b0c1c68..0000000 --- a/.idea/prettier.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml deleted file mode 100644 index 35eb1dd..0000000 --- a/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file