---
title: "Discussion on \"Improve PHP code quality with static analysis\" | Hashnode"
description: "Discussion on \"Improve PHP code quality with static analysis\". Learn how to write a custom PHPStan rule to prevent “code smell”"
url: "https://hashnode.com/posts/improve-php-code-quality-with-static-analysis/6299ac632869cf1c237545f6"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Improve PHP code quality with static analysis](https://blog.bielawski.tech/improve-php-code-quality-with-static-analysis?utm_source=hashnode&utm_medium=feed)

Learn how to write a custom PHPStan rule to prevent “code smell”

Jun 3, 2022 · 5 min read · blog.bielawski.tech  
Read the article

-   [#php](https://hashnode.com/tag/php)
-   [#programming-tips](https://hashnode.com/tag/programming-tips)

## Written by

[Joseph Bielawski](https://hashnode.com/@stloyd)

@stloyd · Warsaw, Poland

  
[View profile](https://hashnode.com/@stloyd)

Engineering Manager at Aterian / ex-Staff Software Engineer at TUI Musement / Open Source Maintainer

I'm a software developer with almost 20 years of experience, eager to share knowledge earned during my journey in programming. Lastly worked as Engineering Manager at Aterian, and previously as Staff Software Engineer at TUI Musement, CTO, tech/team leader, and software architect. I'm also an active open-source contributor &amp; maintainer.

## Responses 1

Markdown supported · ⌘↵ to post

[Drew Brown](https://hashnode.com/@CodeCartel)

[Dec 3, 2023](https://hashnode.com/posts/improve-php-code-quality-with-static-analysis/6299ac632869cf1c237545f6/comment/656d025403318819fa427dea)

Thanks for sharing! I'm having a difficult time getting RECTOR implemented, and looking for help getting it implemented, can we collaborate?
