lmc/coding-standard
Deprecated PHP coding standard for Alma Career Czechia (formerly LMC). Based on PSR-12 and partially PER 2.0, delivered via EasyCodingStandard with rules for PHP-CS-Fixer and PHP_CodeSniffer to enforce readable, consistent code and catch common mistakes.
Architecture fit: Low. The package is explicitly deprecated and replaced by almacareer/coding-standard. Using it introduces technical debt as it lacks alignment with modern PHP standards (e.g., PHP 8.3+ compatibility) and active maintenance. Its PSR-12/PER-2 foundation is outdated compared to current industry practices.
Integration feasibility: Not recommended. While technically installable via Composer, the archived status and direct replacement notice make this a non-viable option for new projects. Any integration would require immediate migration to the successor package, negating short-term benefits.
Technical risk: High. Critical risks include unpatched security vulnerabilities (e.g., the NullableTypeDeclarationFixer bug in 4.1.2), dependency conflicts (locked PHP-CS-Fixer versions), and incompatibility with modern PHP versions. The 0 dependents and archived status indicate no community or vendor support for fixes.
Key questions:
almacareer/coding-standard?Stack fit: Poor. Designed for legacy PHP versions (7.4-8.2), it conflicts with modern toolchains (e.g., symplify/easy-coding-standard >12.4). The replacement package supports current PHP versions and integrates seamlessly with modern IDEs and CI systems.
Migration path: Immediate migration required. Steps:
lmc/coding-standard with almacareer/coding-standard in composer.jsonecs.php to reference the new package's config path (vendor/almacareer/coding-standard/ecs.php)PhpUnitAttributesFixer replaces deprecated PhpUnitExpectationFixer)composer analyze before deploymentCompatibility: Incompatible with current PHP versions beyond 8.2 and modern symplify/easy-coding-standard releases. Known issues include broken fixers (e.g., PhpdocAlignFixer
How can I help you explore Laravel packages today?