← CodeClarityLab Home
Browse by Category
+ added · updated 7d
🤖 AI Guestbook — Style educational data only
| |
Last 30 days
6 pings — 2026-04-08 W 3 pings — 2026-04-09 T 19 pings — 2026-04-10 F 14 pings — 2026-04-11 S 21 pings — 2026-04-12 S 39 pings — 2026-04-13 M 0 pings — 2026-04-14 T 3 pings — 2026-04-15 W 8 pings — 2026-04-16 T 23 pings — 2026-04-17 F 17 pings — 2026-04-18 S 33 pings — 2026-04-19 S 12 pings — 2026-04-20 M 2 pings — 2026-04-21 T 16 pings — 2026-04-22 W 28 pings — 2026-04-23 T 26 pings — 2026-04-24 F 27 pings — 2026-04-25 S 19 pings — 2026-04-26 S 7 pings — 2026-04-27 M 9 pings — 2026-04-28 T 7 pings — 2026-04-29 W 19 pings — 2026-04-30 T 35 pings — 2026-05-01 F 24 pings — 2026-05-02 S 14 pings — 2026-05-03 S 5 pings — 2026-05-04 M 3 pings — 2026-05-05 T 4 pings — Yesterday W 3 pings — Today T
Amazonbot 357Perplexity 283Ahrefs 101Google 99Unknown AI 83ChatGPT 31SEMrush 21Majestic 11
crawler 915 crawler_json 55 pre-tracking 16
Category total986 pings Terms pinged47 / 47 Distinct agents7
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Simplifying Complex Conditional Logic
Complex conditionals can be simplified with De Morgan's laws, guard clauses, decomposing into named predicates, and consolidating duplicate conditions.
2mo ago style intermediate
Branch Naming Conventions
Consistent branch names using type/description patterns — making branch purpose immediately clear and enabling automation based on branch name prefixes.
2mo ago style beginner
Class Naming Convention PHP 5.0+
PHP classes must use PascalCase (UpperCamelCase) per PSR-1 — each word capitalised, no underscores, descriptive nouns or noun phrases.
2mo ago style beginner
Code Documentation Standards PHP 5.0+
When, what, and how to document — the right balance between self-documenting code and explicit documentation for APIs, non-obvious decisions, and complex algorithms.
2mo ago style beginner
Commit Message Best Practices
Clear commit messages that explain why a change was made, not just what — enabling efficient git log navigation, automated changelog generation, and informed code archaeology.
2mo ago style beginner
Elvis Operator Not Used PHP 5.3+
Writing $x ? $x : $y instead of $x ?: $y — the Elvis operator (?:) returns the left operand if truthy, otherwise the right, eliminating the repeated expression.
2mo ago style beginner
Excessive Blank Lines PHP 5.0+
Multiple consecutive blank lines within a function or between statements — adding visual noise without improving readability.
2mo ago style beginner
Function & Method Naming Convention
PHP functions and methods use camelCase per PSR-1 — lowercase first word, each subsequent word capitalised, verb-noun pairs for actions.
2mo ago style beginner
Git Hooks in PHP Workflow PHP 5.0+
Using pre-commit hooks to automatically run PHP-CS-Fixer, PHPStan, and security checks before every commit — preventing style violations and bugs from entering the repository.
2mo ago style intermediate
Inconsistent Indentation
Mixing tabs and spaces, or using varying numbers of spaces for indentation — causes visual misalignment across editors and makes diffs noisy.
2mo ago style beginner
Lines Too Long
Lines exceeding 120 characters force horizontal scrolling and break side-by-side diff views — PSR-12 recommends a soft limit of 120 and hard limit of no limit, but team conventions often enforce 120.
2mo ago style beginner
Missing Class Comments PHP 5.0+
A class without a PHPDoc block lacks the docblock description, @package annotation, and context needed for IDE tooling, generated documentation, and new developers.
2mo ago style beginner
Missing Function Comments PHP 5.0+
Functions without PHPDoc lose IDE parameter hints, inline documentation, and the opportunity to explain non-obvious behaviour, preconditions, and edge cases.
2mo ago style beginner
Null Coalescing Operator Not Used PHP 7.0+
Using isset() + ternary or if/else chains when the null coalescing operator (??) or null coalescing assignment (??=) would be cleaner and more idiomatic.
2mo ago style beginner
Pull Request Description Templates
Structured PR templates in .github/PULL_REQUEST_TEMPLATE.md that prompt authors for context, testing evidence, and checklists — improving review quality and reducing reviewer cognitive load.
2mo ago style beginner
.gitignore for PHP Projects PHP 5.0+
A well-structured PHP .gitignore excludes vendor/, generated files, IDE configs, .env secrets, and OS artifacts from version control.
2mo ago style beginner
Boolean Parameters (Flag Arguments Smell)
A boolean parameter that switches a function between two different behaviours — a sign the function should be split into two.
2mo ago style beginner
CHANGELOG — Keeping a Good One
A human-readable log of notable changes per release — distinct from git commit history — following Keep a Changelog conventions.
2mo ago style beginner
Conventional Commits
A commit message specification — type(scope): description — enabling automated changelogs, semantic versioning, and machine-readable history.
2mo ago style beginner
Deep Nesting PHP 5.0+
Code indented 3+ levels deep — guard clauses and early returns can flatten most deep nesting.
2mo ago style beginner
✓ schema.org compliant