| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository |
| route-controller | files |
| route-action | disambiguate |
| fetch-nonce | v2:f29c5440-10f3-f8d1-ac51-60a185fd9abc |
| current-catalog-service-hash | f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb |
| request-id | 8518:106764:A95437:EE86CB:6B06E3DA |
| html-safe-nonce | 9b0098725ff724e0bb19e95523c29158b07d915e36a48cf3a78371af7b638212 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NTE4OjEwNjc2NDpBOTU0Mzc6RUU4NkNCOjZCMDZFM0RBIiwidmlzaXRvcl9pZCI6IjM4Mjc2NjgxNzMwMjE3MDEwODIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 831d65cfe3c3a9ac9160fa877e6367f30fa1440606cb6dab32466ec8031fec65 |
| hovercard-subject-tag | repository:838593013 |
| github-keyboard-shortcuts | repository,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | // |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/gerlovsky/clean-code-php |
| twitter:image | https://opengraph.githubassets.com/d9cab504c26d3cf8fde24a38c4372048decf63066ffb2608755d2f17dd2b40d6/gerlovsky/clean-code-php |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d9cab504c26d3cf8fde24a38c4372048decf63066ffb2608755d2f17dd2b40d6/gerlovsky/clean-code-php |
| og:image:alt | :bathtub: :ru: Концепции Чистого Кода, адаптированные для PHP - gerlovsky/clean-code-php |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 351ea5ca38a5758919d44ee52c70fe9003c0c2dfa20f04effd7fac0c5330c16b |
| turbo-cache-control | no-cache |
| go-import | github.com/gerlovsky/clean-code-php git https://github.com/gerlovsky/clean-code-php.git |
| octolytics-dimension-user_id | 3325830 |
| octolytics-dimension-user_login | gerlovsky |
| octolytics-dimension-repository_id | 838593013 |
| octolytics-dimension-repository_nwo | gerlovsky/clean-code-php |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 101744213 |
| octolytics-dimension-repository_parent_nwo | peter-gribanov/clean-code-php |
| octolytics-dimension-repository_network_root_id | 79111500 |
| octolytics-dimension-repository_network_root_nwo | piotrplenik/clean-code-php |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | af8913cd0f2f77c41796be449ac66a9108825abc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/gerlovsky/clean-code-php#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgerlovsky%2Fclean-code-php |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgerlovsky%2Fclean-code-php |
| Sign up | https://github.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=gerlovsky%2Fclean-code-php |
| Reload | https://github.com/gerlovsky/clean-code-php |
| Reload | https://github.com/gerlovsky/clean-code-php |
| Reload | https://github.com/gerlovsky/clean-code-php |
| gerlovsky | https://github.com/gerlovsky |
| clean-code-php | https://github.com/gerlovsky/clean-code-php |
| Code | https://github.com/gerlovsky/clean-code-php |
| Pull requests | https://github.com/gerlovsky/clean-code-php/pulls |
| Actions | https://github.com/gerlovsky/clean-code-php/actions |
| Projects | https://github.com/gerlovsky/clean-code-php/projects |
| Security and quality | https://github.com/gerlovsky/clean-code-php/security |
| Insights | https://github.com/gerlovsky/clean-code-php/pulse |
| https://github.com/gerlovsky/clean-code-php |
| clean-code-php | https://github.com/gerlovsky/clean-code-php |
| peter-gribanov/clean-code-php | https://github.com/peter-gribanov/clean-code-php |
| Notifications | https://github.com/login?return_to=%2Fgerlovsky%2Fclean-code-php |
| Fork0 (0) | https://github.com/login?return_to=%2Fgerlovsky%2Fclean-code-php |
| Star0 (0) | https://github.com/login?return_to=%2Fgerlovsky%2Fclean-code-php |
| Readme | https://github.com/gerlovsky/clean-code-php#readme-ov-file |
| License | https://github.com/gerlovsky/clean-code-php#License-1-ov-file |
| Activity | https://github.com/gerlovsky/clean-code-php/activity |
| 0 forks | https://github.com/gerlovsky/clean-code-php/forks |
| Report repository | https://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fgerlovsky%2Fclean-code-php&report=gerlovsky+%28user%29 |
| Branches | https://github.com/gerlovsky/clean-code-php/branches |
| Tags | https://github.com/gerlovsky/clean-code-php/tags |
| https://github.com/gerlovsky/clean-code-php/branches |
| https://github.com/gerlovsky/clean-code-php/tags |
| 410 Commits | https://github.com/gerlovsky/clean-code-php/commits/ru/ |
| https://github.com/gerlovsky/clean-code-php/commits/ru/ |
| .gitattributes | https://github.com/gerlovsky/clean-code-php/blob/ru/.gitattributes |
| .gitattributes | https://github.com/gerlovsky/clean-code-php/blob/ru/.gitattributes |
| .travis-build.php | https://github.com/gerlovsky/clean-code-php/blob/ru/.travis-build.php |
| .travis-build.php | https://github.com/gerlovsky/clean-code-php/blob/ru/.travis-build.php |
| .travis.yml | https://github.com/gerlovsky/clean-code-php/blob/ru/.travis.yml |
| .travis.yml | https://github.com/gerlovsky/clean-code-php/blob/ru/.travis.yml |
| LICENSE | https://github.com/gerlovsky/clean-code-php/blob/ru/LICENSE |
| LICENSE | https://github.com/gerlovsky/clean-code-php/blob/ru/LICENSE |
| README.md | https://github.com/gerlovsky/clean-code-php/blob/ru/README.md |
| README.md | https://github.com/gerlovsky/clean-code-php/blob/ru/README.md |
| README | https://github.com/gerlovsky/clean-code-php |
| License | https://github.com/gerlovsky/clean-code-php |
| https://github.com/gerlovsky/clean-code-php#чистый-код-на-php |
| https://github.com/gerlovsky/clean-code-php#содержание |
| Введение | https://github.com/gerlovsky/clean-code-php#%D0%92%D0%B2%D0%B5%D0%B4%D0%B5%D0%BD%D0%B8%D0%B5 |
| Переменные | https://github.com/gerlovsky/clean-code-php#%D0%9F%D0%B5%D1%80%D0%B5%D0%BC%D0%B5%D0%BD%D0%BD%D1%8B%D0%B5 |
| Используйте значимые и произносимые имена переменных | https://github.com/gerlovsky/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://github.com/gerlovsky/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%BE%D0%B4%D0%BD%D0%BE-%D0%B8-%D1%82%D0%BE%D0%B6%D0%B5-%D0%BD%D0%B0%D0%B7%D0%B2%D0%B0%D0%BD%D0%B8%D0%B5-%D0%B4%D0%BB%D1%8F-%D0%BF%D0%B5%D1%80%D0%B5%D0%BC%D0%B5%D0%BD%D0%BD%D1%8B%D1%85-%D1%81-%D0%BE%D0%B4%D0%B8%D0%BD%D0%B0%D0%BA%D0%BE%D0%B2%D1%8B%D0%BC-%D0%BD%D0%B0%D0%B7%D0%BD%D0%B0%D1%87%D0%B5%D0%BD%D0%B8%D0%B5%D0%BC |
| Используйте имена, по которым удобно искать (часть 1) | https://github.com/gerlovsky/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://github.com/gerlovsky/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://github.com/gerlovsky/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://github.com/gerlovsky/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://github.com/gerlovsky/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://github.com/gerlovsky/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://github.com/gerlovsky/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://github.com/gerlovsky/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://github.com/gerlovsky/clean-code-php#%D0%A1%D1%80%D0%B0%D0%B2%D0%BD%D0%B5%D0%BD%D0%B8%D0%B5 |
| Используйте идентичное сравнение | https://github.com/gerlovsky/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 |
| Оператор объединения с null | https://github.com/gerlovsky/clean-code-php#%D0%9E%D0%BF%D0%B5%D1%80%D0%B0%D1%82%D0%BE%D1%80-%D0%BE%D0%B1%D1%8A%D0%B5%D0%B4%D0%B8%D0%BD%D0%B5%D0%BD%D0%B8%D1%8F-%D1%81-null |
| Функции | https://github.com/gerlovsky/clean-code-php#%D0%A4%D1%83%D0%BD%D0%BA%D1%86%D0%B8%D0%B8 |
| Аргументы функций (в идеале два или меньше) | https://github.com/gerlovsky/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://github.com/gerlovsky/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://github.com/gerlovsky/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://github.com/gerlovsky/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://github.com/gerlovsky/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://github.com/gerlovsky/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://github.com/gerlovsky/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://github.com/gerlovsky/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://github.com/gerlovsky/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://github.com/gerlovsky/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://github.com/gerlovsky/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://github.com/gerlovsky/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://github.com/gerlovsky/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://github.com/gerlovsky/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://github.com/gerlovsky/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://github.com/gerlovsky/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://github.com/gerlovsky/clean-code-php#%D0%9A%D0%BB%D0%B0%D1%81%D1%81%D1%8B |
| Композиция лучше наследования | https://github.com/gerlovsky/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://github.com/gerlovsky/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://github.com/gerlovsky/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 |
| SOLID | https://github.com/gerlovsky/clean-code-php#solid |
| Принцип единственной ответственности (Single Responsibility Principle, SRP) | https://github.com/gerlovsky/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://github.com/gerlovsky/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://github.com/gerlovsky/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://github.com/gerlovsky/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://github.com/gerlovsky/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://github.com/gerlovsky/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://github.com/gerlovsky/clean-code-php#%D0%9F%D0%B5%D1%80%D0%B5%D0%B2%D0%BE%D0%B4%D1%8B |
| https://github.com/gerlovsky/clean-code-php#введение |
| Чистый код | https://www.labirint.ru/books/642466/ |
| clean-code-javascript | https://github.com/ryanmcdermott/clean-code-javascript |
| https://github.com/gerlovsky/clean-code-php#переменные |
| https://github.com/gerlovsky/clean-code-php#используйте-значимые-и-произносимые-имена-переменных |
| ⬆ вернуться к началу | https://github.com/gerlovsky/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5 |
| https://github.com/gerlovsky/clean-code-php#используйте-одно-и-тоже-название-для-переменных-с-одинаковым-назначением |
| ⬆ вернуться к началу | https://github.com/gerlovsky/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5 |
| https://github.com/gerlovsky/clean-code-php#используйте-имена-по-которым-удобно-искать-часть-1 |
| https://github.com/gerlovsky/clean-code-php#используйте-имена-по-которым-удобно-искать-часть-2 |
| ⬆ вернуться к началу | https://github.com/gerlovsky/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5 |
| https://github.com/gerlovsky/clean-code-php#используйте-пояснительные-переменные |
| ⬆ вернуться к началу | https://github.com/gerlovsky/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5 |
| https://github.com/gerlovsky/clean-code-php#избегайте-глубоких-вложений-часть-1 |
| ⬆ вернуться к началу | https://github.com/gerlovsky/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5 |
| https://github.com/gerlovsky/clean-code-php#избегайте-глубоких-вложений-часть-2 |
| ⬆ вернуться к началу | https://github.com/gerlovsky/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5 |
| https://github.com/gerlovsky/clean-code-php#избегайте-ментального-сопоставления |
| ⬆ вернуться к началу | https://github.com/gerlovsky/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5 |
| https://github.com/gerlovsky/clean-code-php#не-добавляйте-ненужный-контекст |
| ⬆ вернуться к началу | https://github.com/gerlovsky/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5 |
| https://github.com/gerlovsky/clean-code-php#вместо-сокращённых-или-условных-используйте-аргументы-по-умолчанию |
| контроль типов | https://www.php.net/manual/ru/language.types.declarations.php |
| ⬆ вернуться к началу | https://github.com/gerlovsky/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5 |
| https://github.com/gerlovsky/clean-code-php#сравнение |
| идентичное сравнение | https://www.php.net/manual/ru/language.operators.comparison.php |
| https://github.com/gerlovsky/clean-code-php#используйте-идентичное-сравнение |
| ⬆ вернуться к началу | https://github.com/gerlovsky/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5 |
| https://github.com/gerlovsky/clean-code-php#оператор-объединения-с-null |
| введенный в PHP 7 | https://www.php.net/manual/ru/migration70.new-features.php#migration70.new-features.null-coalesce-op |
| ⬆ вернуться к началу | https://github.com/gerlovsky/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5 |
| https://github.com/gerlovsky/clean-code-php#функции |
| https://github.com/gerlovsky/clean-code-php#аргументы-функций-в-идеале-два-или-меньше |
| ⬆ вернуться к началу | https://github.com/gerlovsky/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5 |
| https://github.com/gerlovsky/clean-code-php#имена-функций-должны-быть-говорящими |
| ⬆ вернуться к началу | https://github.com/gerlovsky/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5 |
| https://github.com/gerlovsky/clean-code-php#функции-должны-быть-лишь-одним-уровнем-абстракции |
| ⬆ вернуться к началу | https://github.com/gerlovsky/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5 |
| https://github.com/gerlovsky/clean-code-php#не-используйте-флаги-в-качестве-параметров-функций |
| ⬆ вернуться к началу | https://github.com/gerlovsky/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5 |
| https://github.com/gerlovsky/clean-code-php#избегайте-побочных-эффектов |
| ⬆ вернуться к началу | https://github.com/gerlovsky/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5 |
| https://github.com/gerlovsky/clean-code-php#не-пишите-в-глобальные-функции |
| ⬆ вернуться к началу | https://github.com/gerlovsky/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5 |
| https://github.com/gerlovsky/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://github.com/gerlovsky/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_(%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) |
| Misko Hevery | http://misko.hevery.com/about/ |
| корне проблемы | http://misko.hevery.com/2008/08/25/root-cause-of-singletons/ |
| DSN | https://www.php.net/manual/ru/pdo.construct.php#refsect1-pdo.construct-parameters |
| ⬆ вернуться к началу | https://github.com/gerlovsky/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5 |
| https://github.com/gerlovsky/clean-code-php#инкапсулирование-условных-выражений |
| ⬆ вернуться к началу | https://github.com/gerlovsky/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5 |
| https://github.com/gerlovsky/clean-code-php#избегайте-негативных-условных-выражений |
| ⬆ вернуться к началу | https://github.com/gerlovsky/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5 |
| https://github.com/gerlovsky/clean-code-php#избегайте-условных-выражений |
| ⬆ вернуться к началу | https://github.com/gerlovsky/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5 |
| https://github.com/gerlovsky/clean-code-php#избегайте-проверки-типов-часть-1 |
| ⬆ вернуться к началу | https://github.com/gerlovsky/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5 |
| https://github.com/gerlovsky/clean-code-php#избегайте-проверки-типов-часть-2 |
| объявление типов | https://www.php.net/manual/ru/language.types.declarations.php |
| ⬆ вернуться к началу | https://github.com/gerlovsky/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5 |
| https://github.com/gerlovsky/clean-code-php#убирайте-мёртвый-код |
| ⬆ вернуться к началу | https://github.com/gerlovsky/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5 |
| https://github.com/gerlovsky/clean-code-php#объекты-и-структуры-данных |
| https://github.com/gerlovsky/clean-code-php#используйте-инкапсуляцию-объектов |
| Открытости/Закрытости | https://github.com/gerlovsky/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://github.com/gerlovsky/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5 |
| https://github.com/gerlovsky/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 Potencier | https://github.com/fabpot |
| ⬆ вернуться к началу | https://github.com/gerlovsky/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5 |
| https://github.com/gerlovsky/clean-code-php#классы |
| https://github.com/gerlovsky/clean-code-php#композиция-лучше-наследования |
| Шаблоны проектирования | https://ru.wikipedia.org/wiki/Design_Patterns |
| ⬆ вернуться к началу | https://github.com/gerlovsky/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5 |
| https://github.com/gerlovsky/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 Builder | https://phpunit.de/manual/current/en/test-doubles.html |
| Doctrine Query Builder | http://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 Pivetta | https://github.com/Ocramius |
| ⬆ вернуться к началу | https://github.com/gerlovsky/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5 |
| https://github.com/gerlovsky/clean-code-php#предпочтительней-final-классы |
| композицию | https://github.com/gerlovsky/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 |
| Single Responsibility Principle | https://github.com/gerlovsky/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://ocramius.github.io/blog/when-to-declare-classes-final/ |
| Marco Pivetta (Ocramius) | https://ocramius.github.io/ |
| ⬆ вернуться к началу | https://github.com/gerlovsky/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5 |
| https://github.com/gerlovsky/clean-code-php#solid |
| S: Принцип единственной ответственности (Single Responsibility Principle, SRP) | https://github.com/gerlovsky/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://github.com/gerlovsky/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://github.com/gerlovsky/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://github.com/gerlovsky/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://github.com/gerlovsky/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://github.com/gerlovsky/clean-code-php#принцип-единственной-ответственности-single-responsibility-principle-srp |
| ⬆ вернуться к началу | https://github.com/gerlovsky/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5 |
| https://github.com/gerlovsky/clean-code-php#принцип-открытостизакрытости-openclosed-principle-ocp |
| ⬆ вернуться к началу | https://github.com/gerlovsky/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5 |
| https://github.com/gerlovsky/clean-code-php#принцип-подстановки-барбары-лисков-liskov-substitution-principle-lsp |
| ⬆ вернуться к началу | https://github.com/gerlovsky/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5 |
| https://github.com/gerlovsky/clean-code-php#принцип-разделения-интерфейса-interface-segregation-principle-isp |
| ⬆ вернуться к началу | https://github.com/gerlovsky/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5 |
| https://github.com/gerlovsky/clean-code-php#принцип-инверсии-зависимостей-dependency-inversion-principle-dip |
| ⬆ вернуться к началу | https://github.com/gerlovsky/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5 |
| https://github.com/gerlovsky/clean-code-php#не-повторяйся-dont-repeat-yourself-dry |
| DRY | https://ru.wikipedia.org/wiki/Don%27t_repeat_yourself |
| Классы | https://github.com/gerlovsky/clean-code-php#%D0%9A%D0%BB%D0%B0%D1%81%D1%81%D1%8B |
| ⬆ вернуться к началу | https://github.com/gerlovsky/clean-code-php#%D0%A1%D0%BE%D0%B4%D0%B5%D1%80%D0%B6%D0%B0%D0%BD%D0%B8%D0%B5 |
| https://github.com/gerlovsky/clean-code-php#переводы |
| jupeter/clean-code-php | https://github.com/jupeter/clean-code-php |
| php-cpm/clean-code-php | https://github.com/php-cpm/clean-code-php |
| peter-gribanov/clean-code-php | https://github.com/peter-gribanov/clean-code-php |
| fikoborquez/clean-code-php | https://github.com/fikoborquez/clean-code-php |
| fabioars/clean-code-php | https://github.com/fabioars/clean-code-php |
| jeanjar/clean-code-php | https://github.com/jeanjar/clean-code-php/tree/pt-br |
| panuwizzle/clean-code-php | https://github.com/panuwizzle/clean-code-php |
| errorname/clean-code-php | https://github.com/errorname/clean-code-php |
| viethuongdev/clean-code-php | https://github.com/viethuongdev/clean-code-php |
| yujineeee/clean-code-php | https://github.com/yujineeee/clean-code-php |
| anilozmen/clean-code-php | https://github.com/anilozmen/clean-code-php |
| amirshnll/clean-code-php | https://github.com/amirshnll/clean-code-php |
| nayeemdev/clean-code-php | https://github.com/nayeemdev/clean-code-php |
| ahmedalmory/clean-code-php | https://github.com/ahmedalmory/clean-code-php |
| hayato07/clean-code-php | https://github.com/hayato07/clean-code-php |
| ⬆ вернуться к началу | https://github.com/gerlovsky/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://github.com/gerlovsky/clean-code-php#readme-ov-file |
| License | https://github.com/gerlovsky/clean-code-php#License-1-ov-file |
| Activity | https://github.com/gerlovsky/clean-code-php/activity |
| 0 forks | https://github.com/gerlovsky/clean-code-php/forks |
| Report repository | https://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fgerlovsky%2Fclean-code-php&report=gerlovsky+%28user%29 |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |