| 1 | What are assertions in PHPUnit, and how do commonly used assertions like assertEquals and assertTrue let you verify expected behavior within a test? PHP › Unit Testing with PHPUnit | PHP | Unit Testing with PHPUnit | Beginner |
| 2 | What are mock objects in PHPUnit, and why are they useful when testing a piece of code that depends on an external service, such as sending an email or calling a third party API? PHP › Unit Testing with PHPUnit | PHP | Unit Testing with PHPUnit | Intermediate |
| 3 | How do data providers in PHPUnit let you run the exact same test logic repeatedly against many different sets of input data, without duplicating the test method itself? PHP › Unit Testing with PHPUnit | PHP | Unit Testing with PHPUnit | Advanced |
| 4 | What is PHPUnit, and what is a unit test meant to actually verify about a piece of code? PHP › Unit Testing with PHPUnit | PHP | Unit Testing with PHPUnit | Beginner |
| 5 | What is test coverage, and why should achieving a high test coverage percentage not necessarily be treated as the sole ultimate goal of a testing strategy? PHP › Unit Testing with PHPUnit | PHP | Unit Testing with PHPUnit | Intermediate |
| 6 | What is the arrange act assert pattern, and how does structuring a test around these three distinct steps make tests clearer and easier to understand? PHP › Unit Testing with PHPUnit | PHP | Unit Testing with PHPUnit | Intermediate |
| 7 | How does test driven development, commonly abbreviated as TDD, change the typical order in which tests and actual implementation code are written, and what benefits does this workflow claim to offer? PHP › Unit Testing with PHPUnit | PHP | Unit Testing with PHPUnit | Advanced |
| 8 | What testing and continuous integration practices should a well maintained open source PHP package follow to ensure reliability across different PHP versions and dependency combinations? PHP › Package Development & Publishing with Composer | PHP | Package Development & Publishing with Composer | Advanced |
| 9 | What key sections should a well structured composer.json file for a publishable package include, beyond the basic name and dependencies? PHP › Package Development & Publishing with Composer | PHP | Package Development & Publishing with Composer | Intermediate |
| 10 | How does semantic versioning apply specifically to a published package, and why is carefully following it important for not breaking projects that depend on your package? PHP › Package Development & Publishing with Composer | PHP | Package Development & Publishing with Composer | Intermediate |
| 11 | How should a team design their Docker based deployment pipeline for a PHP application to ensure the exact same tested image is what actually reaches production? PHP › PHP with Docker | PHP | PHP with Docker | Advanced |
| 12 | What is the Singleton pattern, and what are its intended use cases along with its commonly cited drawbacks? PHP › Design Patterns in PHP | PHP | Design Patterns in PHP | Beginner |
| 13 | What is a baseline file in PHPStan, and how does it help a team adopt static analysis on an existing project without needing to fix every single issue immediately? PHP › Static Analysis (PHPStan & Psalm) | PHP | Static Analysis (PHPStan & Psalm) | Intermediate |
| 14 | How should a team design a comprehensive PHP application deployment pipeline that incorporates automated testing, security scanning, and staged rollouts across multiple environments? PHP › Deployment & Hosting for PHP Applications | PHP | Deployment & Hosting for PHP Applications | Advanced |
| 15 | What is dependency injection, and how does it improve the design of PHP applications compared to creating dependencies directly inside a class? PHP › Dependency Injection & Service Containers | PHP | Dependency Injection & Service Containers | Beginner |
| 16 | What is static analysis, and how do tools like PHPStan and Psalm help catch bugs in PHP code before it is even run? PHP › Static Analysis (PHPStan & Psalm) | PHP | Static Analysis (PHPStan & Psalm) | Beginner |
| 17 | How does binding a closure to a specific object or class using bindTo or Closure::bind allow it to access private properties and methods it otherwise could not? PHP › Closures & Anonymous Functions | PHP | Closures & Anonymous Functions | Advanced |
| 18 | How can Composer scripts automate common development tasks, such as running tests or clearing a cache, directly as part of the Composer workflow? PHP › Composer | PHP | Composer | Advanced |
| 19 | How can overuse of a service container, sometimes called the service locator anti pattern, actually harm code quality despite the container itself being a useful tool? PHP › Dependency Injection & Service Containers | PHP | Dependency Injection & Service Containers | Advanced |
| 20 | How does the Repository pattern abstract data access logic away from an application's business logic, and what benefits does this separation provide? PHP › Design Patterns in PHP | PHP | Design Patterns in PHP | Advanced |
| 21 | How can integrating a static analysis tool into a continuous integration pipeline help enforce consistent code quality across an entire team, and what are common strategies for managing false positives? PHP › Static Analysis (PHPStan & Psalm) | PHP | Static Analysis (PHPStan & Psalm) | Advanced |
| 22 | How do custom PHPStan or Psalm rules and extensions let a team enforce their own project specific coding standards and catch domain specific mistakes beyond the tool's built in checks? PHP › Static Analysis (PHPStan & Psalm) | PHP | Static Analysis (PHPStan & Psalm) | Advanced |