Added Decorator and observer Patterns along with UnitTest for Observer

This commit is contained in:
2025-07-06 14:36:53 +03:00
parent dabbf541dc
commit f76eb08fe0
20 changed files with 1887 additions and 126 deletions

View File

@@ -5,6 +5,11 @@
"": "src/"
}
},
"autoload-dev": {
"psr-4": {
"App\\Tests\\": "tests/"
}
},
"authors": [
{
"name": "Yevhen Odynets",
@@ -16,7 +21,8 @@
"ext-simplexml": "*"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.76"
"friendsofphp/php-cs-fixer": "^3.76",
"phpunit/phpunit": "^12.2"
},
"scripts": {
"cs": "php-cs-fixer --config=./.php-cs-fixer.php check -v",