moderntv / mstyle
PHP quality assurance for ModernTV projects.
Installs: 2 928
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 5
Forks: 3
Open Issues: 0
Language:Makefile
Requires
- php: >=7.4
- mockery/mockery: ^1.5.0
- php-parallel-lint/php-parallel-lint: ^1.3.2
- phpstan/phpstan: ^1.10.15
- phpstan/phpstan-deprecation-rules: ^1.1.4
- phpstan/phpstan-nette: ^1.2.9
- phpstan/phpstan-strict-rules: ^1.5.0
- phpunit/phpunit: ^9.6.8 || ^10.1.3 || ^11.0.0
- slevomat/coding-standard: ^8.12
- squizlabs/php_codesniffer: ^3.7
This package is auto-updated.
Last update: 2024-11-18 09:38:19 UTC
README
📺 PHP quality assurance for ModernTV projects.
🕹 f3l1x.io | 💻 f3l1x | 🐦 @xf3l1x
Usage
To install latest version of mcode/mcode
use Composer.
composer require mcode/mcode
Documentation
Codesniffer
- 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
Phpstan
-
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
Development
This package is currently maintained by these authors.