From 6f51b7be1a6d1053dc18fff2ac487550f79239cc Mon Sep 17 00:00:00 2001 From: Andrii Dimov Date: Fri, 8 Mar 2024 03:27:10 -0600 Subject: [PATCH 1/2] fix reasons for incompatibility --- src/pages/development/components/app-server.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/development/components/app-server.md b/src/pages/development/components/app-server.md index 2ef8280b9..b7f780ea6 100644 --- a/src/pages/development/components/app-server.md +++ b/src/pages/development/components/app-server.md @@ -55,7 +55,7 @@ Traditional debugging tools and techniques designed for synchronous PHP scripts 1. Superglobals and native PHP functions usage for header, session, and cookie. - We recommend using PHP Superglobals, like `$_GET`, `$_POST`, and `$_SESSION`, and native PHP functions for header, session, and cookie, instead of utilizing interfaces and service contracts through dependency injection. +1. Usage of PHP Superglobals, like `$_GET`, `$_POST`, and `$_SESSION`, and native PHP functions for header, session, and cookie, instead of utilizing interfaces and service contracts through dependency injection. ## Integration testing From f9cf1de4098804e134e252de28f4eae8c9241b48 Mon Sep 17 00:00:00 2001 From: Andrii Dimov Date: Mon, 18 Mar 2024 10:46:00 -0500 Subject: [PATCH 2/2] fix reasons for incompatibility --- src/pages/development/components/app-server.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/pages/development/components/app-server.md b/src/pages/development/components/app-server.md index b7f780ea6..2daeb97cf 100644 --- a/src/pages/development/components/app-server.md +++ b/src/pages/development/components/app-server.md @@ -53,9 +53,7 @@ Traditional debugging tools and techniques designed for synchronous PHP scripts - 2.14. Temporal coupling MUST be avoided. Changed state at one point in time can inadvertently affect the behavior of subsequent operations, requiring a specific order of execution for the application to function correctly. This coupling makes the code harder to understand and maintain, as the correct operation of the system becomes dependent on the sequence in which state-modifying actions are performed. -1. Superglobals and native PHP functions usage for header, session, and cookie. - -1. Usage of PHP Superglobals, like `$_GET`, `$_POST`, and `$_SESSION`, and native PHP functions for header, session, and cookie, instead of utilizing interfaces and service contracts through dependency injection. +1. Usage of superglobals, like `$_GET`, `$_POST`, and `$_SESSION`, and native PHP functions for header, session, and cookie, instead of utilizing interfaces through dependency injection. ## Integration testing