Download the PHP package mtv/mstyle without Composer
On this page you can find all versions of the php package mtv/mstyle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Package mstyle
Short Description PHP quality assurance for ModernTV projects.
License MIT
Homepage https://github.com/moderntv/mstyle
Informations about the package mstyle
mCODE
📺 PHP quality assurance for ModernTV projects.
🕹 f3l1x.io | 💻 f3l1x | 🐦 @xf3l1x
Usage
To install latest version of mcode/mcode use Composer.
Documentation
Codesniffer
- Install this package.
-
Create
ruleset.xmlfile. - Run codesniffer.
Phpstan
- Install this package.
- Create
phpstan.neonfile.
Development
The shipped ruleset is covered by tests. Fixtures live in tests/Sniffs/<Family>/,
where Good.php must be reported clean and Bad.php must produce exactly the
report stored in its snapshot. tests/sniffs.snapshot.json pins the list of
registered sniffs, so an upgrade of codesniffer or slevomat cannot silently
add or drop a rule.
To cover a new rule, add a fixture (or extend an existing one), run
make snapshots and review the snapshot diff.
This package is currently maintained by these authors.
All versions of mstyle with dependencies
mockery/mockery Version ^1.6.12
php-parallel-lint/php-parallel-lint Version ^1.4.0
phpstan/phpstan Version 2.1.36
phpstan/phpstan-deprecation-rules Version ^2.0.1
phpstan/phpstan-nette Version ^2.0.1
phpstan/phpstan-strict-rules Version ^2.0.0
phpunit/phpunit Version ^12.4.2
slevomat/coding-standard Version ^8.24.0
squizlabs/php_codesniffer Version ^4.0.0