📺 PHP quality assurance for ModernTV projects.
🕹 f3l1x.io | 💻 f3l1x | 🐦 @xf3l1x
To install latest version of mcode/mcode
use Composer.
composer require mcode/mcode
- Install this package.
- Create
ruleset.xml
file.
<?xml version="1.0" encoding="UTF-8"?>
<ruleset>
<rule ref="./vendor/mcode/mcode/src/codesniffer.xml"/>
</ruleset>
- Run codesniffer.
vendor/bin/phpcs --cache=var/codesniffer.dat --standard=ruleset.xml app
-
Install this package.
-
Create
phpstan.neon
file.includes: - vendor/mcode/mcode/src/phpstan.neon - phpstan-baseline.neon parameters: level: 9 phpVersion: 80200 tmpDir: %currentWorkingDirectory%/temp/phpstan fileExtensions: - php - phpt paths: - app
This package is currently maintained by these authors.