CoursesAI WorkshopCompaniesPricingBlogNewsletter
  • Courses
  • AI Workshop
  • Companies
  • Pricing
  • Blog
  • Newsletter
Subscribe
  • Courses
  • Companies
  • Communities
  • Blog
  • Gift card
  • Newsletter
  • Help
  • Shop
  • ConfAiBot
  • Contact
  • Legal notice
  • General conditions
  • Privacy policy
  • Cookies policy

Course of Static Code Analysis in PHP

Standard
Javier FerrerRafa Gómez

By Javier Ferrer y Rafa Gómez – Backend

PHP is not a compiled language, but with static code analysis, we can reap its benefits.

Go to course

🎓 First lesson available without registration 🎓

Static Code Analysis in PHP is an essential tool for maintaining a robust codebase and preventing bugs before they reach production.

These tools help you with:

  • Code Quality: Discover how static analysis can elevate the quality of your code, making it more readable, maintainable, and error-free.
  • Explicit Contracts: Learn to transition from duck typing to explicit contracts, thereby improving the accuracy and predictability of your code.
  • Solid Architecture: Ensure the architecture of your application and visualize its dependencies, allowing for a cleaner and more structured design.

In this course, we explore:

  • 👌 Psalm: The best static code analysis tool. You can even achieve generics in PHP.
  • 🌉 phpat: Test the architecture of your code and ensure you adhere to it.
  • 🗑️ phpmd: Keep your code with low complexity.

Videos of the course

  • 🔝 Improve the quality of your PHP code by adding static analysis
  • 👌 First steps with Psalm
  • 😳 Exhaustiveness in enums and optimal Psalm configuration to start

  • 👥 Add all possible types thanks to Psalm
  • 👤 Generics in PHP: Upgrading to Psalm Level 1

  • 👁️ Visualize the architecture of your application thanks to deptrac
  • 🏗️ Ensure the architecture of your application thanks to phpat

  • 🗑️ Ensure the quality of your code thanks to phpmd
  • ♻️ Detect files to refactor with churn php
  • 🧼 Remove unused dependencies with composer-unused

  • 🤖 Track the quality of your code in your pull requests
  • 💫 Shorten the feedback loop by keeping it local with Git hooks

  • 🤟 Conclusions and Next Steps
Go to course

Related courses

Standard
Clean transactions [Debate]

🤲 Clean transactions [Debate]

Javier FerrerRafa Gómez

Debate where we look at alternatives on how to apply transactions.

See course
Standard
Object-Oriented Programming Best Practices

🪂 Object-Oriented Programming Best Practices

Javier FerrerRafa Gómez

Apply good OOP practices in your code to make it more maintainable.

See course
Standard
Projections in Wallapop

🎦 Projections in Wallapop

Rafa Gómez

Learn how Wallapop manages projections in its systems.

See course
See full catalogue

Pay according to your needs

lite (only monthly)

19 €
per month
  • Essential programming courses to build a solid foundation
Popular

standard

24,92 €
Discount vs monthly of 49 €
Annual payment of 299 €
per month
  • Main catalog to master writing maintainable, scalable, and testable code
  • Receive job offers verified by Codely
  • Company invoice
  • Accumulate renewal discounts

premium

41,58 €
Discount vs monthly of 89 €
Annual payment of 499 €
per month
  • Exclusive AI courses to keep you always up to date
  • Early access to new courses
  • Discount on workshops
  • Receive job offers verified by Codely
  • Company invoice
  • Accumulate renewal discounts

We won't increase the price while your subscription is active

SubscribeSign in