TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Online PHP Coding Standards Fixer

30 pointsby dannie2over 8 years ago

5 comments

docksiderover 8 years ago
Why do these tools always force me to upload my source? The only time I want to use something like this is when I&#x27;m handed a hot pile of legacy code that looks like it came out of a blender. And that code I&#x27;m not allowed to give anyone, often will it contain a ton of SQL injections that can be automatically found.<p>To me this is useful but absolutely unusable
评论 #12884590 未加载
评论 #12885070 未加载
Tharkunover 8 years ago
Surely just about any IDE can do this, without having to upload source code to some random website?
评论 #12884898 未加载
ameliaikedaover 8 years ago
What&#x27;s the benefit of this tool over, say, StyleCI or even php-cs-fixer? It has a hard-to-use UI (in-browser), isn&#x27;t a standalone tool, and can&#x27;t be relied on for dev workflow. You can achieve a similar result just by running php-cs-fixer, and that would even teach a new user more.<p>It also changes class names to arbitrary names (e.g. sc_581ef0bae38b2) when attempting to fix code, which is not at all helpful.
评论 #12884333 未加载
obayessheltonover 8 years ago
why not just install the phpcs package via composer and run it locally?
stiGGGover 8 years ago
It&#x27;s funny that you can choose from four standards.
评论 #12884909 未加载
评论 #12884481 未加载