From 6057edcb5e38b1b528f74089da9ae8c1c214672a Mon Sep 17 00:00:00 2001 From: rkreich Date: Thu, 19 Dec 2024 15:37:19 +0200 Subject: [PATCH 1/2] Add .editorconfig to standardize tab vs spaces --- .editorconfig | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..0542ee8dd --- /dev/null +++ b/.editorconfig @@ -0,0 +1,10 @@ + +# Editor configuration, see http://editorconfig.org +root = true + +[*.php] +charset = utf-8 +indent_style = tab +indent_size = 4 +insert_final_newline = true +#trim_trailing_whitespace = true \ No newline at end of file From c52c00d89c5d6e9dd4051521e7d81cbd5d3583f8 Mon Sep 17 00:00:00 2001 From: rkreich Date: Thu, 19 Dec 2024 15:38:10 +0200 Subject: [PATCH 2/2] Config for PSR-4 PHP client for api tests --- config/generator.defaults.ini | 1 + config/generator.ini | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/config/generator.defaults.ini b/config/generator.defaults.ini index 9f1e2dbcb..608a37830 100644 --- a/config/generator.defaults.ini +++ b/config/generator.defaults.ini @@ -5,6 +5,7 @@ php5ZendClientAdminConsole php5ZendVarConsole php5ZendHostedPages testsClient +php53ApiTests testme testmeDoc go \ No newline at end of file diff --git a/config/generator.ini b/config/generator.ini index 06b0b67d3..868070b1b 100644 --- a/config/generator.ini +++ b/config/generator.ini @@ -96,6 +96,10 @@ additional = KalturaHttpNotification [php53 : public] generator = Php53ClientGenerator +[php53ApiTests] +generator = Php53ClientGenerator +ignore = KalturaUploadedFileResource + [swift : public] generator = SwiftClientGenerator