From 026b13a52b4ec2e5859d8f8a6788aee947a98d94 Mon Sep 17 00:00:00 2001 From: bernd Date: Tue, 17 Sep 2024 15:08:09 +0200 Subject: [PATCH 1/5] [TASK] Set npm to version 10.8.2 (#1463) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b5a0226..b301444 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "license": "GPL-2.0-or-later", "engines": { "node": "^20.17.0 || ^22.5.1", - "npm": "^10.8.0" + "npm": "^10.8.2" }, "scripts": { "ci:lint:js": "eslint 'Resources/Public/**/*.js'", From 1014f19fe58cdc7075996292c8ecd592b34943b6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 18 Sep 2024 11:23:46 +0000 Subject: [PATCH 2/5] [TASK] Update squizlabs/php_codesniffer requirement (#1465) Updates the requirements on [squizlabs/php_codesniffer](https://github.com/PHPCSStandards/PHP_CodeSniffer) to permit the latest version. - [Release notes](https://github.com/PHPCSStandards/PHP_CodeSniffer/releases) - [Changelog](https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/CHANGELOG.md) - [Commits](https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.10.2...3.10.3) --- updated-dependencies: - dependency-name: squizlabs/php_codesniffer dependency-type: direct:development ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index dce00d8..4502904 100644 --- a/composer.json +++ b/composer.json @@ -61,7 +61,7 @@ "saschaegerer/phpstan-typo3": "^1.10.2", "seld/jsonlint": "^1.11.0", "spaze/phpstan-disallowed-calls": "^3.4", - "squizlabs/php_codesniffer": "^3.10.2", + "squizlabs/php_codesniffer": "^3.10.3", "ssch/typo3-rector": "^2.6.5", "ssch/typo3-rector-testing-framework": "^2.0.1", "symfony/console": "^5.4 || ^6.4 || ^7.0", From 9b5f4b0590e656a06927d27bc805d583217e68d1 Mon Sep 17 00:00:00 2001 From: gittibitti Date: Tue, 17 Sep 2024 13:59:31 +0200 Subject: [PATCH 3/5] [TASK] Add php.ini from development --- .gitlab/pipeline/ci/php.ini | 193 +++++++++++++++++++++++++++++ .gitlab/pipeline/jobs/.default.yml | 4 + 2 files changed, 197 insertions(+) create mode 100644 .gitlab/pipeline/ci/php.ini diff --git a/.gitlab/pipeline/ci/php.ini b/.gitlab/pipeline/ci/php.ini new file mode 100644 index 0000000..de88538 --- /dev/null +++ b/.gitlab/pipeline/ci/php.ini @@ -0,0 +1,193 @@ +[PHP] +engine = On +short_open_tag = Off +precision = 14 +output_buffering = 4096 +zlib.output_compression = Off +implicit_flush = Off +unserialize_callback_func = +serialize_precision = -1 +disable_functions = +disable_classes = +zend.enable_gc = On +expose_php = Off +; Resource Limits ; +max_execution_time = 600 +request_terminate_timeout = 0 +max_input_time = -1 +;max_input_nesting_level = 64 +max_input_vars = 5000 +memory_limit = -1 +; Error handling and logging ; +error_reporting = E_ALL +display_errors = On +display_startup_errors = On +log_errors = On +log_errors_max_len = 1024 +ignore_repeated_errors = Off +ignore_repeated_source = Off +report_memleaks = On +;xmlrpc_errors = 0 +;xmlrpc_error_number = 0 +html_errors = On +; Data Handling ; +variables_order = "EGPCS" +request_order = "GP" +register_argc_argv = Off +auto_globals_jit = On +post_max_size = 100M +auto_prepend_file = +auto_append_file = +default_mimetype = "text/html" +default_charset = "UTF-8" +; Paths and Directories ; +doc_root = +user_dir = +enable_dl = Off +cgi.fix_pathinfo=0 +; File Uploads ; +file_uploads = On +upload_max_filesize = 100M +max_file_uploads = 20 +; Fopen wrappers ; +allow_url_fopen = On +allow_url_include = Off +default_socket_timeout = 60 +;auto_detect_line_endings = Off +; Dynamic Extensions ; + +[CLI Server] +cli_server.color = On + +[Date] +date.timezone = UTC + +[Pdo_mysql] +pdo_mysql.cache_size = 2000 +pdo_mysql.default_socket= + +[mail function] +SMTP = localhost +smtp_port = 25 +mail.add_x_header = On +sendmail_path="/usr/local/bin/mailpit sendmail -t --smtp-addr 127.0.0.1:1025" + +[SQL] +sql.safe_mode = Off + +[ODBC] +odbc.allow_persistent = On +odbc.check_persistent = On +odbc.max_persistent = -1 +odbc.max_links = -1 +odbc.defaultlrl = 4096 +odbc.defaultbinmode = 1 + +[Interbase] +ibase.allow_persistent = 1 +ibase.max_persistent = -1 +ibase.max_links = -1 +ibase.timestampformat = "%Y-%m-%d %H:%M:%S" +ibase.dateformat = "%Y-%m-%d" +ibase.timeformat = "%H:%M:%S" + +[MySQLi] +mysqli.max_persistent = -1 +mysqli.allow_persistent = On +mysqli.max_links = -1 +mysqli.cache_size = 2000 +mysqli.default_port = 3306 +mysqli.default_socket = +mysqli.default_host = +mysqli.default_user = +mysqli.default_pw = +mysqli.reconnect = Off + +[mysqlnd] +mysqlnd.collect_statistics = On +mysqlnd.collect_memory_statistics = Off + +[PostgreSQL] +pgsql.allow_persistent = On +pgsql.auto_reset_persistent = Off +pgsql.max_persistent = -1 +pgsql.max_links = -1 +pgsql.ignore_notice = 0 +pgsql.log_notice = 0 + +[bcmath] +bcmath.scale = 0 + +[Session] +session.save_handler = files +session.use_strict_mode = 0 +session.use_cookies = 1 +session.use_only_cookies = 1 +session.name = PHPSESSID +session.auto_start = 0 +session.cookie_lifetime = 0 +session.cookie_path = / +session.cookie_domain = +session.cookie_httponly = +session.serialize_handler = php +session.gc_probability = 0 +session.gc_divisor = 1000 +session.gc_maxlifetime = 1440 +session.referer_check = +session.cache_limiter = nocache +session.cache_expire = 180 +session.use_trans_sid = 0 +session.hash_function = 0 +session.hash_bits_per_character = 5 +url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry" + +[Assertion] +zend.assertions = -1 + +[Tidy] +tidy.clean_output = Off + +[soap] +soap.wsdl_cache_enabled=1 +soap.wsdl_cache_dir="/tmp" +soap.wsdl_cache_ttl=86400 +soap.wsdl_cache_limit = 5 + + +[ldap] +ldap.max_links = -1 + +[opcache] +opcache.enable=1 +opcache.enable_cli=1 +opcache.memory_consumption=500 +opcache.interned_strings_buffer=16 +opcache.max_accelerated_files=1000000 +;opcache.max_wasted_percentage=5 +;opcache.use_cwd=1 +opcache.validate_timestamps=1 +opcache.revalidate_freq=0 +;opcache.revalidate_path=0 +;opcache.save_comments=1 +opcache.fast_shutdown=1 +;opcache.enable_file_override=0 +;opcache.optimization_level=0xffffffff +;opcache.inherited_hack=1 +;opcache.dups_fix=0 +;opcache.blacklist_filename= +;opcache.max_file_size=0 +;opcache.consistency_checks=0 +;opcache.force_restart_timeout=180 +;opcache.error_log= +;opcache.log_verbosity_level=1 +;opcache.preferred_memory_model= +;opcache.protect_memory=0 +;opcache.restrict_api= +;opcache.mmap_base= +;opcache.file_cache= +;opcache.file_cache_only=0 +;opcache.file_cache_consistency_checks=1 +;opcache.file_cache_fallback=1 +;opcache.huge_code_pages=1 +;opcache.validate_permission=0 +;opcache.validate_root=0 diff --git a/.gitlab/pipeline/jobs/.default.yml b/.gitlab/pipeline/jobs/.default.yml index 078f266..5d7142a 100644 --- a/.gitlab/pipeline/jobs/.default.yml +++ b/.gitlab/pipeline/jobs/.default.yml @@ -2,3 +2,7 @@ image: ghcr.io/typo3/core-testing-php83:latest before_script: - bash .gitlab/build/docker_install.sh > /dev/null + variables: + PHP_INI_SCAN_DIR: "/etc/php" + volumes: + - ../ci/php.ini:/usr/local/etc/php/php.ini \ No newline at end of file From 6a73bea9a478e4ecfa3d84cf3f6e46fb8de1bfa0 Mon Sep 17 00:00:00 2001 From: gittibitti Date: Tue, 17 Sep 2024 14:37:45 +0200 Subject: [PATCH 4/5] [TASK] Delet mail section from php.ini --- .gitlab/pipeline/ci/php.ini | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.gitlab/pipeline/ci/php.ini b/.gitlab/pipeline/ci/php.ini index de88538..74da89a 100644 --- a/.gitlab/pipeline/ci/php.ini +++ b/.gitlab/pipeline/ci/php.ini @@ -66,12 +66,6 @@ date.timezone = UTC pdo_mysql.cache_size = 2000 pdo_mysql.default_socket= -[mail function] -SMTP = localhost -smtp_port = 25 -mail.add_x_header = On -sendmail_path="/usr/local/bin/mailpit sendmail -t --smtp-addr 127.0.0.1:1025" - [SQL] sql.safe_mode = Off From debc51da6b988c340fe9869edc95cdba52a6c295 Mon Sep 17 00:00:00 2001 From: gittibitti Date: Tue, 17 Sep 2024 14:43:09 +0200 Subject: [PATCH 5/5] [TASK] Add LF and fix the volumes --- .gitlab/pipeline/jobs/.default.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab/pipeline/jobs/.default.yml b/.gitlab/pipeline/jobs/.default.yml index 5d7142a..f952fd4 100644 --- a/.gitlab/pipeline/jobs/.default.yml +++ b/.gitlab/pipeline/jobs/.default.yml @@ -5,4 +5,4 @@ variables: PHP_INI_SCAN_DIR: "/etc/php" volumes: - - ../ci/php.ini:/usr/local/etc/php/php.ini \ No newline at end of file + - ./ci/php.ini:/usr/local/etc/php/php.ini