René's URL Explorer Experiment


Title: GitHub - sidigi/clean-code-php: :bathtub: Концепции Чистого Кода, адаптированные для PHP

Open Graph Title: GitHub - sidigi/clean-code-php: :bathtub: Концепции Чистого Кода, адаптированные для PHP

X Title: GitHub - sidigi/clean-code-php: :bathtub: Концепции Чистого Кода, адаптированные для PHP

Description: :bathtub: :ru: Концепции Чистого Кода, адаптированные для PHP - GitHub - sidigi/clean-code-php: :bathtub: Концепции Чистого Кода, адаптированные для PHP

Open Graph Description: :bathtub: :ru: Концепции Чистого Кода, адаптированные для PHP - GitHub - sidigi/clean-code-php: :bathtub: Концепции Чистого Кода, адаптированные для PHP

X Description: :bathtub: :ru: Концепции Чистого Кода, адаптированные для PHP - GitHub - sidigi/clean-code-php: :bathtub: Концепции Чистого Кода, адаптированные для PHP

Opengraph URL: https://github.com/sidigi/clean-code-php

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository
route-controllerfiles
route-actiondisambiguate
fetch-noncev2:eeedb6da-1989-1930-ce5e-5f275bd39007
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idB6EA:FFCAF:2D1248:39D7BD:698D1B61
html-safe-nonce2f5d9df7491efb7bc8819d30c6e94a1cce3976fba71e19ae0d0577df1afc534d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNkVBOkZGQ0FGOjJEMTI0ODozOUQ3QkQ6Njk4RDFCNjEiLCJ2aXNpdG9yX2lkIjoiNzQ2ODY5NjYwNzY0MDA2NjkxNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacad53332aedd6f9993e1872f5281bb9ab0c1fc702483bcfb6e508dee4511fb3b6
hovercard-subject-tagrepository:236535479
github-keyboard-shortcutsrepository,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location//
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/sidigi/clean-code-php
twitter:imagehttps://opengraph.githubassets.com/652a1ca2f0a4f8eccbf1f9dbb2e5c56b60a19de3252b5102aec5d176330c7026/sidigi/clean-code-php
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/652a1ca2f0a4f8eccbf1f9dbb2e5c56b60a19de3252b5102aec5d176330c7026/sidigi/clean-code-php
og:image:alt:bathtub: :ru: Концепции Чистого Кода, адаптированные для PHP - GitHub - sidigi/clean-code-php: :bathtub: Концепции Чистого Кода, адаптированные для PHP
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonec25395580e1e3bf82d705e0982a1b24255366088720fef945f1493d5e3e67954
turbo-cache-controlno-preview
go-importgithub.com/sidigi/clean-code-php git https://github.com/sidigi/clean-code-php.git
octolytics-dimension-user_id1765748
octolytics-dimension-user_loginsidigi
octolytics-dimension-repository_id236535479
octolytics-dimension-repository_nwosidigi/clean-code-php
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id101744213
octolytics-dimension-repository_parent_nwopeter-gribanov/clean-code-php
octolytics-dimension-repository_network_root_id79111500
octolytics-dimension-repository_network_root_nwopiotrplenik/clean-code-php
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release94219dcb9c044792ec271fd5b23c73419858bef7
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsidigi%2Fclean-code-php
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsidigi%2Fclean-code-php
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=sidigi%2Fclean-code-php
Reloadhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php
Reloadhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php
Reloadhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php
sidigi https://patch-diff.githubusercontent.com/sidigi
clean-code-phphttps://patch-diff.githubusercontent.com/sidigi/clean-code-php
peter-gribanov/clean-code-phphttps://patch-diff.githubusercontent.com/peter-gribanov/clean-code-php
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fsidigi%2Fclean-code-php
Fork 1 https://patch-diff.githubusercontent.com/login?return_to=%2Fsidigi%2Fclean-code-php
Star 5 https://patch-diff.githubusercontent.com/login?return_to=%2Fsidigi%2Fclean-code-php
MIT license https://patch-diff.githubusercontent.com/sidigi/clean-code-php/blob/ru/LICENSE
5 stars https://patch-diff.githubusercontent.com/sidigi/clean-code-php/stargazers
2.3k forks https://patch-diff.githubusercontent.com/sidigi/clean-code-php/forks
Branches https://patch-diff.githubusercontent.com/sidigi/clean-code-php/branches
Tags https://patch-diff.githubusercontent.com/sidigi/clean-code-php/tags
Activity https://patch-diff.githubusercontent.com/sidigi/clean-code-php/activity
Star https://patch-diff.githubusercontent.com/login?return_to=%2Fsidigi%2Fclean-code-php
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fsidigi%2Fclean-code-php
Code https://patch-diff.githubusercontent.com/sidigi/clean-code-php
Pull requests 0 https://patch-diff.githubusercontent.com/sidigi/clean-code-php/pulls
Actions https://patch-diff.githubusercontent.com/sidigi/clean-code-php/actions
Projects 0 https://patch-diff.githubusercontent.com/sidigi/clean-code-php/projects
Security 0 https://patch-diff.githubusercontent.com/sidigi/clean-code-php/security
Insights https://patch-diff.githubusercontent.com/sidigi/clean-code-php/pulse
Code https://patch-diff.githubusercontent.com/sidigi/clean-code-php
Pull requests https://patch-diff.githubusercontent.com/sidigi/clean-code-php/pulls
Actions https://patch-diff.githubusercontent.com/sidigi/clean-code-php/actions
Projects https://patch-diff.githubusercontent.com/sidigi/clean-code-php/projects
Security https://patch-diff.githubusercontent.com/sidigi/clean-code-php/security
Insights https://patch-diff.githubusercontent.com/sidigi/clean-code-php/pulse
Brancheshttps://patch-diff.githubusercontent.com/sidigi/clean-code-php/branches
Tagshttps://patch-diff.githubusercontent.com/sidigi/clean-code-php/tags
https://patch-diff.githubusercontent.com/sidigi/clean-code-php/branches
https://patch-diff.githubusercontent.com/sidigi/clean-code-php/tags
380 Commitshttps://patch-diff.githubusercontent.com/sidigi/clean-code-php/commits/ru/
https://patch-diff.githubusercontent.com/sidigi/clean-code-php/commits/ru/
.gitattributeshttps://patch-diff.githubusercontent.com/sidigi/clean-code-php/blob/ru/.gitattributes
.gitattributeshttps://patch-diff.githubusercontent.com/sidigi/clean-code-php/blob/ru/.gitattributes
.travis-build.phphttps://patch-diff.githubusercontent.com/sidigi/clean-code-php/blob/ru/.travis-build.php
.travis-build.phphttps://patch-diff.githubusercontent.com/sidigi/clean-code-php/blob/ru/.travis-build.php
.travis.ymlhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php/blob/ru/.travis.yml
.travis.ymlhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php/blob/ru/.travis.yml
LICENSEhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php/blob/ru/LICENSE
LICENSEhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php/blob/ru/LICENSE
README.mdhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php/blob/ru/README.md
README.mdhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php/blob/ru/README.md
READMEhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php
MIT licensehttps://patch-diff.githubusercontent.com/sidigi/clean-code-php
https://patch-diff.githubusercontent.com/sidigi/clean-code-php#чистый-код-на-php
https://patch-diff.githubusercontent.com/sidigi/clean-code-php#содержание
Введениеhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%92%D0%B2%D0%B5%D0%B4%D0%B5%D0%BD%D0%B8%D0%B5
Переменныеhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%9F%D0%B5%D1%80%D0%B5%D0%BC%D0%B5%D0%BD%D0%BD%D1%8B%D0%B5
Используйте значимые и произносимые имена переменныхhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%98%D1%81%D0%BF%D0%BE%D0%BB%D1%8C%D0%B7%D1%83%D0%B9%D1%82%D0%B5-%D0%B7%D0%BD%D0%B0%D1%87%D0%B8%D0%BC%D1%8B%D0%B5-%D0%B8-%D0%BF%D1%80%D0%BE%D0%B8%D0%B7%D0%BD%D0%BE%D1%81%D0%B8%D0%BC%D1%8B%D0%B5-%D0%B8%D0%BC%D0%B5%D0%BD%D0%B0-%D0%BF%D0%B5%D1%80%D0%B5%D0%BC%D0%B5%D0%BD%D0%BD%D1%8B%D1%85
Для одного типа переменных используйте единый словарьhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%94%D0%BB%D1%8F-%D0%BE%D0%B4%D0%BD%D0%BE%D0%B3%D0%BE-%D1%82%D0%B8%D0%BF%D0%B0-%D0%BF%D0%B5%D1%80%D0%B5%D0%BC%D0%B5%D0%BD%D0%BD%D1%8B%D1%85-%D0%B8%D1%81%D0%BF%D0%BE%D0%BB%D1%8C%D0%B7%D1%83%D0%B9%D1%82%D0%B5-%D0%B5%D0%B4%D0%B8%D0%BD%D1%8B%D0%B9-%D1%81%D0%BB%D0%BE%D0%B2%D0%B0%D1%80%D1%8C
Используйте имена, по которым удобно искать (часть 1)https://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%98%D1%81%D0%BF%D0%BE%D0%BB%D1%8C%D0%B7%D1%83%D0%B9%D1%82%D0%B5-%D0%B8%D0%BC%D0%B5%D0%BD%D0%B0-%D0%BF%D0%BE-%D0%BA%D0%BE%D1%82%D0%BE%D1%80%D1%8B%D0%BC-%D1%83%D0%B4%D0%BE%D0%B1%D0%BD%D0%BE-%D0%B8%D1%81%D0%BA%D0%B0%D1%82%D1%8C-%D1%87%D0%B0%D1%81%D1%82%D1%8C-1
Используйте имена, по которым удобно искать (часть 2)https://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%98%D1%81%D0%BF%D0%BE%D0%BB%D1%8C%D0%B7%D1%83%D0%B9%D1%82%D0%B5-%D0%B8%D0%BC%D0%B5%D0%BD%D0%B0-%D0%BF%D0%BE-%D0%BA%D0%BE%D1%82%D0%BE%D1%80%D1%8B%D0%BC-%D1%83%D0%B4%D0%BE%D0%B1%D0%BD%D0%BE-%D0%B8%D1%81%D0%BA%D0%B0%D1%82%D1%8C-%D1%87%D0%B0%D1%81%D1%82%D1%8C-2
Используйте пояснительные переменныеhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%98%D1%81%D0%BF%D0%BE%D0%BB%D1%8C%D0%B7%D1%83%D0%B9%D1%82%D0%B5-%D0%BF%D0%BE%D1%8F%D1%81%D0%BD%D0%B8%D1%82%D0%B5%D0%BB%D1%8C%D0%BD%D1%8B%D0%B5-%D0%BF%D0%B5%D1%80%D0%B5%D0%BC%D0%B5%D0%BD%D0%BD%D1%8B%D0%B5
Избегайте глубоких вложений (часть 1)https://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%98%D0%B7%D0%B1%D0%B5%D0%B3%D0%B0%D0%B9%D1%82%D0%B5-%D0%B3%D0%BB%D1%83%D0%B1%D0%BE%D0%BA%D0%B8%D1%85-%D0%B2%D0%BB%D0%BE%D0%B6%D0%B5%D0%BD%D0%B8%D0%B9-%D1%87%D0%B0%D1%81%D1%82%D1%8C-1
Избегайте глубоких вложений (часть 2)https://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%98%D0%B7%D0%B1%D0%B5%D0%B3%D0%B0%D0%B9%D1%82%D0%B5-%D0%B3%D0%BB%D1%83%D0%B1%D0%BE%D0%BA%D0%B8%D1%85-%D0%B2%D0%BB%D0%BE%D0%B6%D0%B5%D0%BD%D0%B8%D0%B9-%D1%87%D0%B0%D1%81%D1%82%D1%8C-2
Избегайте ментального сопоставленияhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%98%D0%B7%D0%B1%D0%B5%D0%B3%D0%B0%D0%B9%D1%82%D0%B5-%D0%BC%D0%B5%D0%BD%D1%82%D0%B0%D0%BB%D1%8C%D0%BD%D0%BE%D0%B3%D0%BE-%D1%81%D0%BE%D0%BF%D0%BE%D1%81%D1%82%D0%B0%D0%B2%D0%BB%D0%B5%D0%BD%D0%B8%D1%8F
Не добавляйте ненужный контекстhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%9D%D0%B5-%D0%B4%D0%BE%D0%B1%D0%B0%D0%B2%D0%BB%D1%8F%D0%B9%D1%82%D0%B5-%D0%BD%D0%B5%D0%BD%D1%83%D0%B6%D0%BD%D1%8B%D0%B9-%D0%BA%D0%BE%D0%BD%D1%82%D0%B5%D0%BA%D1%81%D1%82
Вместо сокращённых или условных используйте аргументы по умолчаниюhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%92%D0%BC%D0%B5%D1%81%D1%82%D0%BE-%D1%81%D0%BE%D0%BA%D1%80%D0%B0%D1%89%D1%91%D0%BD%D0%BD%D1%8B%D1%85-%D0%B8%D0%BB%D0%B8-%D1%83%D1%81%D0%BB%D0%BE%D0%B2%D0%BD%D1%8B%D1%85-%D0%B8%D1%81%D0%BF%D0%BE%D0%BB%D1%8C%D0%B7%D1%83%D0%B9%D1%82%D0%B5-%D0%B0%D1%80%D0%B3%D1%83%D0%BC%D0%B5%D0%BD%D1%82%D1%8B-%D0%BF%D0%BE-%D1%83%D0%BC%D0%BE%D0%BB%D1%87%D0%B0%D0%BD%D0%B8%D1%8E
Сравнениеhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%A1%D1%80%D0%B0%D0%B2%D0%BD%D0%B5%D0%BD%D0%B8%D0%B5
Используйте идентичное сравнениеhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%98%D1%81%D0%BF%D0%BE%D0%BB%D1%8C%D0%B7%D1%83%D0%B9%D1%82%D0%B5-%D0%B8%D0%B4%D0%B5%D0%BD%D1%82%D0%B8%D1%87%D0%BD%D0%BE%D0%B5-%D1%81%D1%80%D0%B0%D0%B2%D0%BD%D0%B5%D0%BD%D0%B8%D0%B5
Функцииhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%A4%D1%83%D0%BD%D0%BA%D1%86%D0%B8%D0%B8
Аргументы функций (в идеале два или меньше)https://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%90%D1%80%D0%B3%D1%83%D0%BC%D0%B5%D0%BD%D1%82%D1%8B-%D1%84%D1%83%D0%BD%D0%BA%D1%86%D0%B8%D0%B9-%D0%B2-%D0%B8%D0%B4%D0%B5%D0%B0%D0%BB%D0%B5-%D0%B4%D0%B2%D0%B0-%D0%B8%D0%BB%D0%B8-%D0%BC%D0%B5%D0%BD%D1%8C%D1%88%D0%B5
Имена функций должны быть говорящимиhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%98%D0%BC%D0%B5%D0%BD%D0%B0-%D1%84%D1%83%D0%BD%D0%BA%D1%86%D0%B8%D0%B9-%D0%B4%D0%BE%D0%BB%D0%B6%D0%BD%D1%8B-%D0%B1%D1%8B%D1%82%D1%8C-%D0%B3%D0%BE%D0%B2%D0%BE%D1%80%D1%8F%D1%89%D0%B8%D0%BC%D0%B8
Функции должны быть лишь одним уровнем абстракцииhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%A4%D1%83%D0%BD%D0%BA%D1%86%D0%B8%D0%B8-%D0%B4%D0%BE%D0%BB%D0%B6%D0%BD%D1%8B-%D0%B1%D1%8B%D1%82%D1%8C-%D0%BB%D0%B8%D1%88%D1%8C-%D0%BE%D0%B4%D0%BD%D0%B8%D0%BC-%D1%83%D1%80%D0%BE%D0%B2%D0%BD%D0%B5%D0%BC-%D0%B0%D0%B1%D1%81%D1%82%D1%80%D0%B0%D0%BA%D1%86%D0%B8%D0%B8
Не используйте флаги в качестве параметров функцийhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%9D%D0%B5-%D0%B8%D1%81%D0%BF%D0%BE%D0%BB%D1%8C%D0%B7%D1%83%D0%B9%D1%82%D0%B5-%D1%84%D0%BB%D0%B0%D0%B3%D0%B8-%D0%B2-%D0%BA%D0%B0%D1%87%D0%B5%D1%81%D1%82%D0%B2%D0%B5-%D0%BF%D0%B0%D1%80%D0%B0%D0%BC%D0%B5%D1%82%D1%80%D0%BE%D0%B2-%D1%84%D1%83%D0%BD%D0%BA%D1%86%D0%B8%D0%B9
Избегайте побочных эффектовhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%98%D0%B7%D0%B1%D0%B5%D0%B3%D0%B0%D0%B9%D1%82%D0%B5-%D0%BF%D0%BE%D0%B1%D0%BE%D1%87%D0%BD%D1%8B%D1%85-%D1%8D%D1%84%D1%84%D0%B5%D0%BA%D1%82%D0%BE%D0%B2
Не пишите в глобальные функцииhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%9D%D0%B5-%D0%BF%D0%B8%D1%88%D0%B8%D1%82%D0%B5-%D0%B2-%D0%B3%D0%BB%D0%BE%D0%B1%D0%B0%D0%BB%D1%8C%D0%BD%D1%8B%D0%B5-%D1%84%D1%83%D0%BD%D0%BA%D1%86%D0%B8%D0%B8
Не используйте шаблон Одиночка (Singleton)https://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%9D%D0%B5-%D0%B8%D1%81%D0%BF%D0%BE%D0%BB%D1%8C%D0%B7%D1%83%D0%B9%D1%82%D0%B5-%D1%88%D0%B0%D0%B1%D0%BB%D0%BE%D0%BD-%D0%9E%D0%B4%D0%B8%D0%BD%D0%BE%D1%87%D0%BA%D0%B0-singleton
Инкапсулирование условных выраженийhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%98%D0%BD%D0%BA%D0%B0%D0%BF%D1%81%D1%83%D0%BB%D0%B8%D1%80%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D0%B5-%D1%83%D1%81%D0%BB%D0%BE%D0%B2%D0%BD%D1%8B%D1%85-%D0%B2%D1%8B%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%B8%D0%B9
Избегайте негативных условных выраженийhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%98%D0%B7%D0%B1%D0%B5%D0%B3%D0%B0%D0%B9%D1%82%D0%B5-%D0%BD%D0%B5%D0%B3%D0%B0%D1%82%D0%B8%D0%B2%D0%BD%D1%8B%D1%85-%D1%83%D1%81%D0%BB%D0%BE%D0%B2%D0%BD%D1%8B%D1%85-%D0%B2%D1%8B%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%B8%D0%B9
Избегайте условных выраженийhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%98%D0%B7%D0%B1%D0%B5%D0%B3%D0%B0%D0%B9%D1%82%D0%B5-%D1%83%D1%81%D0%BB%D0%BE%D0%B2%D0%BD%D1%8B%D1%85-%D0%B2%D1%8B%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%B8%D0%B9
Избегайте проверки типов (часть 1)https://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%98%D0%B7%D0%B1%D0%B5%D0%B3%D0%B0%D0%B9%D1%82%D0%B5-%D0%BF%D1%80%D0%BE%D0%B2%D0%B5%D1%80%D0%BA%D0%B8-%D1%82%D0%B8%D0%BF%D0%BE%D0%B2-%D1%87%D0%B0%D1%81%D1%82%D1%8C-1
Избегайте проверки типов (часть 2)https://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%98%D0%B7%D0%B1%D0%B5%D0%B3%D0%B0%D0%B9%D1%82%D0%B5-%D0%BF%D1%80%D0%BE%D0%B2%D0%B5%D1%80%D0%BA%D0%B8-%D1%82%D0%B8%D0%BF%D0%BE%D0%B2-%D1%87%D0%B0%D1%81%D1%82%D1%8C-2
Убирайте мёртвый кодhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%A3%D0%B1%D0%B8%D1%80%D0%B0%D0%B9%D1%82%D0%B5-%D0%BC%D1%91%D1%80%D1%82%D0%B2%D1%8B%D0%B9-%D0%BA%D0%BE%D0%B4
Объекты и структуры данныхhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%9E%D0%B1%D1%8A%D0%B5%D0%BA%D1%82%D1%8B-%D0%B8-%D1%81%D1%82%D1%80%D1%83%D0%BA%D1%82%D1%83%D1%80%D1%8B-%D0%B4%D0%B0%D0%BD%D0%BD%D1%8B%D1%85
Используйте инкапсуляцию объектовhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%98%D1%81%D0%BF%D0%BE%D0%BB%D1%8C%D0%B7%D1%83%D0%B9%D1%82%D0%B5-%D0%B8%D0%BD%D0%BA%D0%B0%D0%BF%D1%81%D1%83%D0%BB%D1%8F%D1%86%D0%B8%D1%8E-%D0%BE%D0%B1%D1%8A%D0%B5%D0%BA%D1%82%D0%BE%D0%B2
У объектов должны быть private/protected компонентыhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%A3-%D0%BE%D0%B1%D1%8A%D0%B5%D0%BA%D1%82%D0%BE%D0%B2-%D0%B4%D0%BE%D0%BB%D0%B6%D0%BD%D1%8B-%D0%B1%D1%8B%D1%82%D1%8C-privateprotected-%D0%BA%D0%BE%D0%BC%D0%BF%D0%BE%D0%BD%D0%B5%D0%BD%D1%82%D1%8B
Классыhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%9A%D0%BB%D0%B0%D1%81%D1%81%D1%8B
Композиция лучше наследованияhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%9A%D0%BE%D0%BC%D0%BF%D0%BE%D0%B7%D0%B8%D1%86%D0%B8%D1%8F-%D0%BB%D1%83%D1%87%D1%88%D0%B5-%D0%BD%D0%B0%D1%81%D0%BB%D0%B5%D0%B4%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D1%8F
Избегать Текучий интерфейс (Fluent interface)https://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%98%D0%B7%D0%B1%D0%B5%D0%B3%D0%B0%D1%82%D1%8C-%D0%A2%D0%B5%D0%BA%D1%83%D1%87%D0%B8%D0%B9-%D0%B8%D0%BD%D1%82%D0%B5%D1%80%D1%84%D0%B5%D0%B9%D1%81-fluent-interface
Предпочтительней final классыhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%9F%D1%80%D0%B5%D0%B4%D0%BF%D0%BE%D1%87%D1%82%D0%B8%D1%82%D0%B5%D0%BB%D1%8C%D0%BD%D0%B5%D0%B9-final-%D0%BA%D0%BB%D0%B0%D1%81%D1%81%D1%8B
SOLIDhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#solid
Принцип единственной ответственности (Single Responsibility Principle, SRP)https://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%9F%D1%80%D0%B8%D0%BD%D1%86%D0%B8%D0%BF-%D0%B5%D0%B4%D0%B8%D0%BD%D1%81%D1%82%D0%B2%D0%B5%D0%BD%D0%BD%D0%BE%D0%B9-%D0%BE%D1%82%D0%B2%D0%B5%D1%82%D1%81%D1%82%D0%B2%D0%B5%D0%BD%D0%BD%D0%BE%D1%81%D1%82%D0%B8-single-responsibility-principle-srp
Принцип открытости/закрытости (Open/Closed Principle, OCP)https://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%9F%D1%80%D0%B8%D0%BD%D1%86%D0%B8%D0%BF-%D0%BE%D1%82%D0%BA%D1%80%D1%8B%D1%82%D0%BE%D1%81%D1%82%D0%B8%D0%B7%D0%B0%D0%BA%D1%80%D1%8B%D1%82%D0%BE%D1%81%D1%82%D0%B8-openclosed-principle-ocp
Принцип подстановки Барбары Лисков (Liskov Substitution Principle, LSP)https://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%9F%D1%80%D0%B8%D0%BD%D1%86%D0%B8%D0%BF-%D0%BF%D0%BE%D0%B4%D1%81%D1%82%D0%B0%D0%BD%D0%BE%D0%B2%D0%BA%D0%B8-%D0%91%D0%B0%D1%80%D0%B1%D0%B0%D1%80%D1%8B-%D0%9B%D0%B8%D1%81%D0%BA%D0%BE%D0%B2-liskov-substitution-principle-lsp
Принцип разделения интерфейса (Interface Segregation Principle, ISP)https://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%9F%D1%80%D0%B8%D0%BD%D1%86%D0%B8%D0%BF-%D1%80%D0%B0%D0%B7%D0%B4%D0%B5%D0%BB%D0%B5%D0%BD%D0%B8%D1%8F-%D0%B8%D0%BD%D1%82%D0%B5%D1%80%D1%84%D0%B5%D0%B9%D1%81%D0%B0-interface-segregation-principle-isp
Принцип инверсии зависимостей (Dependency Inversion Principle, DIP)https://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%9F%D1%80%D0%B8%D0%BD%D1%86%D0%B8%D0%BF-%D0%B8%D0%BD%D0%B2%D0%B5%D1%80%D1%81%D0%B8%D0%B8-%D0%B7%D0%B0%D0%B2%D0%B8%D1%81%D0%B8%D0%BC%D0%BE%D1%81%D1%82%D0%B5%D0%B9-dependency-inversion-principle-dip
Не повторяйся (Don’t repeat yourself, DRY)https://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%9D%D0%B5-%D0%BF%D0%BE%D0%B2%D1%82%D0%BE%D1%80%D1%8F%D0%B9%D1%81%D1%8F-dont-repeat-yourself-dry
Переводыhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%9F%D0%B5%D1%80%D0%B5%D0%B2%D0%BE%D0%B4%D1%8B
https://patch-diff.githubusercontent.com/sidigi/clean-code-php#введение
Clean Codehttps://www.amazon.com/Clean-Code-Handbook-Software-Craftsmanship/dp/0132350882
clean-code-javascripthttps://github.com/ryanmcdermott/clean-code-javascript
https://patch-diff.githubusercontent.com/sidigi/clean-code-php#переменные
https://patch-diff.githubusercontent.com/sidigi/clean-code-php#используйте-значимые-и-произносимые-имена-переменных
⬆ вернуться к началуhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5
https://patch-diff.githubusercontent.com/sidigi/clean-code-php#для-одного-типа-переменных-используйте-единый-словарь
⬆ вернуться к началуhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5
https://patch-diff.githubusercontent.com/sidigi/clean-code-php#используйте-имена-по-которым-удобно-искать-часть-1
https://patch-diff.githubusercontent.com/sidigi/clean-code-php#используйте-имена-по-которым-удобно-искать-часть-2
⬆ вернуться к началуhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5
https://patch-diff.githubusercontent.com/sidigi/clean-code-php#используйте-пояснительные-переменные
⬆ вернуться к началуhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5
https://patch-diff.githubusercontent.com/sidigi/clean-code-php#избегайте-глубоких-вложений-часть-1
⬆ вернуться к началуhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5
https://patch-diff.githubusercontent.com/sidigi/clean-code-php#избегайте-глубоких-вложений-часть-2
⬆ вернуться к началуhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5
https://patch-diff.githubusercontent.com/sidigi/clean-code-php#избегайте-ментального-сопоставления
⬆ вернуться к началуhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5
https://patch-diff.githubusercontent.com/sidigi/clean-code-php#не-добавляйте-ненужный-контекст
⬆ вернуться к началуhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5
https://patch-diff.githubusercontent.com/sidigi/clean-code-php#вместо-сокращённых-или-условных-используйте-аргументы-по-умолчанию
контроль типовhttp://php.net/manual/en/functions.arguments.php#functions.arguments.type-declaration
⬆ вернуться к началуhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5
https://patch-diff.githubusercontent.com/sidigi/clean-code-php#сравнение
идентичное сравнениеhttp://php.net/manual/en/language.operators.comparison.php
https://patch-diff.githubusercontent.com/sidigi/clean-code-php#используйте-идентичное-сравнение
⬆ вернуться к началуhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5
https://patch-diff.githubusercontent.com/sidigi/clean-code-php#функции
https://patch-diff.githubusercontent.com/sidigi/clean-code-php#аргументы-функций-в-идеале-два-или-меньше
⬆ вернуться к началуhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5
https://patch-diff.githubusercontent.com/sidigi/clean-code-php#имена-функций-должны-быть-говорящими
⬆ вернуться к началуhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5
https://patch-diff.githubusercontent.com/sidigi/clean-code-php#функции-должны-быть-лишь-одним-уровнем-абстракции
⬆ вернуться к началуhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5
https://patch-diff.githubusercontent.com/sidigi/clean-code-php#не-используйте-флаги-в-качестве-параметров-функций
⬆ вернуться к началуhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5
https://patch-diff.githubusercontent.com/sidigi/clean-code-php#избегайте-побочных-эффектов
⬆ вернуться к началуhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5
https://patch-diff.githubusercontent.com/sidigi/clean-code-php#не-пишите-в-глобальные-функции
⬆ вернуться к началуhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5
https://patch-diff.githubusercontent.com/sidigi/clean-code-php#не-используйте-шаблон-одиночка-singleton
антипаттерномhttps://ru.wikipedia.org/wiki/%D0%9E%D0%B4%D0%B8%D0%BD%D0%BE%D1%87%D0%BA%D0%B0_(%D1%88%D0%B0%D0%B1%D0%BB%D0%BE%D0%BD_%D0%BF%D1%80%D0%BE%D0%B5%D0%BA%D1%82%D0%B8%D1%80%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D1%8F)
чем-то попахиваетhttps://ru.wikipedia.org/wiki/%D0%9A%D0%BE%D0%B4_%D1%81_%D0%B7%D0%B0%D0%BF%D0%B0%D1%88%D0%BA%D0%BE%D0%BC
единой ответственностиhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%9F%D1%80%D0%B8%D0%BD%D1%86%D0%B8%D0%BF-%D0%B5%D0%B4%D0%B8%D0%BD%D1%81%D1%82%D0%B2%D0%B5%D0%BD%D0%BD%D0%BE%D0%B9-%D0%BE%D1%82%D0%B2%D0%B5%D1%82%D1%81%D1%82%D0%B2%D0%B5%D0%BD%D0%BD%D0%BE%D1%81%D1%82%D0%B8-single-responsibility-principle-srp
связаннымhttps://ru.wikipedia.org/wiki/%D0%97%D0%B0%D1%86%D0%B5%D0%BF%D0%BB%D0%B5%D0%BD%D0%B8%D0%B5
Misko Heveryhttp://misko.hevery.com/about/
корне проблемыhttp://misko.hevery.com/2008/08/25/root-cause-of-singletons/
DSNhttp://php.net/manual/en/pdo.construct.php#refsect1-pdo.construct-parameters
⬆ вернуться к началуhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5
https://patch-diff.githubusercontent.com/sidigi/clean-code-php#инкапсулирование-условных-выражений
⬆ вернуться к началуhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5
https://patch-diff.githubusercontent.com/sidigi/clean-code-php#избегайте-негативных-условных-выражений
⬆ вернуться к началуhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5
https://patch-diff.githubusercontent.com/sidigi/clean-code-php#избегайте-условных-выражений
⬆ вернуться к началуhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5
https://patch-diff.githubusercontent.com/sidigi/clean-code-php#избегайте-проверки-типов-часть-1
⬆ вернуться к началуhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5
https://patch-diff.githubusercontent.com/sidigi/clean-code-php#избегайте-проверки-типов-часть-2
объявление типовhttp://php.net/manual/en/functions.arguments.php#functions.arguments.type-declaration
⬆ вернуться к началуhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5
https://patch-diff.githubusercontent.com/sidigi/clean-code-php#убирайте-мёртвый-код
⬆ вернуться к началуhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5
https://patch-diff.githubusercontent.com/sidigi/clean-code-php#объекты-и-структуры-данных
https://patch-diff.githubusercontent.com/sidigi/clean-code-php#используйте-инкапсуляцию-объектов
Открытости/Закрытостиhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%9F%D1%80%D0%B8%D0%BD%D1%86%D0%B8%D0%BF-%D0%BE%D1%82%D0%BA%D1%80%D1%8B%D1%82%D0%BE%D1%81%D1%82%D0%B8%D0%B7%D0%B0%D0%BA%D1%80%D1%8B%D1%82%D0%BE%D1%81%D1%82%D0%B8-openclosed-principle-ocp
⬆ вернуться к началуhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5
https://patch-diff.githubusercontent.com/sidigi/clean-code-php#у-объектов-должны-быть-privateprotected-компоненты
Jenga эффектаhttp://www.urbandictionary.com/define.php?term=Jengaphobia&defid=2494196
сообщение в блогеhttp://fabien.potencier.org/pragmatism-over-theory-protected-vs-private.html
Fabien Potencierhttps://github.com/fabpot
⬆ вернуться к началуhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5
https://patch-diff.githubusercontent.com/sidigi/clean-code-php#классы
https://patch-diff.githubusercontent.com/sidigi/clean-code-php#композиция-лучше-наследования
Шаблоны проектированияhttps://en.wikipedia.org/wiki/Design_Patterns
⬆ вернуться к началуhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5
https://patch-diff.githubusercontent.com/sidigi/clean-code-php#избегать-текучий-интерфейс-fluent-interface
Текучий интерфейс (Fluent interface)https://ru.wikipedia.org/wiki/Fluent_interface
Цепочки методов (Method chaining)https://en.wikipedia.org/wiki/Method_chaining
PHPUnit Mock Builderhttps://phpunit.de/manual/current/en/test-doubles.html
Doctrine Query Builderhttp://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/query-builder.html
Инкапсуляцииhttps://ru.wikipedia.org/wiki/%D0%98%D0%BD%D0%BA%D0%B0%D0%BF%D1%81%D1%83%D0%BB%D1%8F%D1%86%D0%B8%D1%8F_(%D0%BF%D1%80%D0%BE%D0%B3%D1%80%D0%B0%D0%BC%D0%BC%D0%B8%D1%80%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D0%B5)
Декораторовhttps://ru.wikipedia.org/wiki/%D0%94%D0%B5%D0%BA%D0%BE%D1%80%D0%B0%D1%82%D0%BE%D1%80_(%D1%88%D0%B0%D0%B1%D0%BB%D0%BE%D0%BD_%D0%BF%D1%80%D0%BE%D0%B5%D0%BA%D1%82%D0%B8%D1%80%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D1%8F)
мокинг (mock)https://ru.wikipedia.org/wiki/Mock-%D0%BE%D0%B1%D1%8A%D0%B5%D0%BA%D1%82
сообщение в блогеhttps://ocramius.github.io/blog/fluent-interfaces-are-evil/
Marco Pivettahttps://github.com/Ocramius
⬆ вернуться к началуhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5
https://patch-diff.githubusercontent.com/sidigi/clean-code-php#предпочтительней-final-классы
композициюhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#prefer-composition-over-inheritance
Single Responsibility Patternhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#single-responsibility-principle-srp
пост в блогеhttps://ocramius.github.io/blog/when-to-declare-classes-final/
Marco Pivetta (Ocramius)https://ocramius.github.io/
⬆ вернуться к началуhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5
https://patch-diff.githubusercontent.com/sidigi/clean-code-php#solid
S: Принцип единственной ответственности (Single Responsibility Principle, SRP)https://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%9F%D1%80%D0%B8%D0%BD%D1%86%D0%B8%D0%BF-%D0%B5%D0%B4%D0%B8%D0%BD%D1%81%D1%82%D0%B2%D0%B5%D0%BD%D0%BD%D0%BE%D0%B9-%D0%BE%D1%82%D0%B2%D0%B5%D1%82%D1%81%D1%82%D0%B2%D0%B5%D0%BD%D0%BD%D0%BE%D1%81%D1%82%D0%B8-single-responsibility-principle-srp
O: Принцип открытости/закрытости (Open/Closed Principle, OCP)https://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%9F%D1%80%D0%B8%D0%BD%D1%86%D0%B8%D0%BF-%D0%BE%D1%82%D0%BA%D1%80%D1%8B%D1%82%D0%BE%D1%81%D1%82%D0%B8%D0%B7%D0%B0%D0%BA%D1%80%D1%8B%D1%82%D0%BE%D1%81%D1%82%D0%B8-openclosed-principle-ocp
L: Принцип подстановки Барбары Лисков (Liskov Substitution Principle, LSP)https://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%9F%D1%80%D0%B8%D0%BD%D1%86%D0%B8%D0%BF-%D0%BF%D0%BE%D0%B4%D1%81%D1%82%D0%B0%D0%BD%D0%BE%D0%B2%D0%BA%D0%B8-%D0%91%D0%B0%D1%80%D0%B1%D0%B0%D1%80%D1%8B-%D0%9B%D0%B8%D1%81%D0%BA%D0%BE%D0%B2-liskov-substitution-principle-lsp
I: Принцип разделения интерфейса (Interface Segregation Principle, ISP)https://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%9F%D1%80%D0%B8%D0%BD%D1%86%D0%B8%D0%BF-%D1%80%D0%B0%D0%B7%D0%B4%D0%B5%D0%BB%D0%B5%D0%BD%D0%B8%D1%8F-%D0%B8%D0%BD%D1%82%D0%B5%D1%80%D1%84%D0%B5%D0%B9%D1%81%D0%B0-interface-segregation-principle-isp
D: Принцип инверсии зависимостей (Dependency Inversion Principle, DIP)https://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%9F%D1%80%D0%B8%D0%BD%D1%86%D0%B8%D0%BF-%D0%B8%D0%BD%D0%B2%D0%B5%D1%80%D1%81%D0%B8%D0%B8-%D0%B7%D0%B0%D0%B2%D0%B8%D1%81%D0%B8%D0%BC%D0%BE%D1%81%D1%82%D0%B5%D0%B9-dependency-inversion-principle-dip
https://patch-diff.githubusercontent.com/sidigi/clean-code-php#принцип-единственной-ответственности-single-responsibility-principle-srp
⬆ вернуться к началуhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5
https://patch-diff.githubusercontent.com/sidigi/clean-code-php#принцип-открытостизакрытости-openclosed-principle-ocp
⬆ вернуться к началуhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5
https://patch-diff.githubusercontent.com/sidigi/clean-code-php#принцип-подстановки-барбары-лисков-liskov-substitution-principle-lsp
⬆ вернуться к началуhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5
https://patch-diff.githubusercontent.com/sidigi/clean-code-php#принцип-разделения-интерфейса-interface-segregation-principle-isp
⬆ вернуться к началуhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5
https://patch-diff.githubusercontent.com/sidigi/clean-code-php#принцип-инверсии-зависимостей-dependency-inversion-principle-dip
⬆ вернуться к началуhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5
https://patch-diff.githubusercontent.com/sidigi/clean-code-php#не-повторяйся-dont-repeat-yourself-dry
DRYhttps://en.wikipedia.org/wiki/Don%27t_repeat_yourself
Классыhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%9A%D0%BB%D0%B0%D1%81%D1%81%D1%8B
⬆ вернуться к началуhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5
https://patch-diff.githubusercontent.com/sidigi/clean-code-php#переводы
jupeter/clean-code-phphttps://github.com/jupeter/clean-code-php
php-cpm/clean-code-phphttps://github.com/php-cpm/clean-code-php
peter-gribanov/clean-code-phphttps://github.com/peter-gribanov/clean-code-php
fikoborquez/clean-code-phphttps://github.com/fikoborquez/clean-code-php
fabioars/clean-code-phphttps://github.com/fabioars/clean-code-php
jeanjar/clean-code-phphttps://github.com/jeanjar/clean-code-php/tree/pt-br
panuwizzle/clean-code-phphttps://github.com/panuwizzle/clean-code-php
errorname/clean-code-phphttps://github.com/errorname/clean-code-php
viethuongdev/clean-code-phphttps://github.com/viethuongdev/clean-code-php
yujineeee/clean-code-phphttps://github.com/yujineeee/clean-code-php
anilozmen/clean-code-phphttps://github.com/anilozmen/clean-code-php
⬆ вернуться к началуhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5
Readme https://patch-diff.githubusercontent.com/sidigi/clean-code-php#readme-ov-file
MIT license https://patch-diff.githubusercontent.com/sidigi/clean-code-php#MIT-1-ov-file
Please reload this pagehttps://patch-diff.githubusercontent.com/sidigi/clean-code-php
Activityhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php/activity
5 starshttps://patch-diff.githubusercontent.com/sidigi/clean-code-php/stargazers
0 watchinghttps://patch-diff.githubusercontent.com/sidigi/clean-code-php/watchers
1 forkhttps://patch-diff.githubusercontent.com/sidigi/clean-code-php/forks
Report repository https://patch-diff.githubusercontent.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fsidigi%2Fclean-code-php&report=sidigi+%28user%29
Releaseshttps://patch-diff.githubusercontent.com/sidigi/clean-code-php/releases
Packages 0https://patch-diff.githubusercontent.com/users/sidigi/packages?repo_name=clean-code-php
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.