ZFCS
Zend Framework 2 Coding Standard
Install / Use
/learn @DASPRiD/ZFCSREADME
This is the PHPCS sniff for the Zend Framework 2 coding standard.
It is currently not complete yet, as a few sniffs are still missing.
DONE:
- Check for proper function call argument style
- Check for function braces being on a line by themself
- Check for invalid usage for short open tags
- Check for valid indentation
- Check for character limit (80 soft, 120 hard)
- Check for valid unix line-endings
- Check for valid variable names
- Check for invalid usage of closing PHP tag
- Check for invalid usage of perl-style hash comments
TODO:
- Check for proper abstract class naming
- Check for valid interface naming
- Check for valid class/method naming
- Check for valid constant naming
- Check for proper user of string literals
- Check for proper array styles
- Check for proper class/method documentation blocks
- Check for invalid use of 'var' keyword
- Check for proper argument style in method declarations
- Check for proper if statement usage
- Check for proper switch usage
Related Skills
node-connect
349.7kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.7kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.7kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
