modul-is / coding-standard
Installs: 12 046
Dependents: 5
Suggesters: 0
Security: 0
Stars: 4
Watchers: 3
Forks: 0
Open Issues: 0
Requires
- php: ^7.4 || ^8.0
- friendsofphp/php-cs-fixer: ^3.57 <=3.59.2
- kubawerlos/php-cs-fixer-custom-fixers: ^3.5
- slevomat/coding-standard: ^8.6
- squizlabs/php_codesniffer: ^3.6
Requires (Dev)
- tracy/tracy: ^2.5
- dev-master
- v4.3.0.x-dev
- v4.3.0
- v4.2.7
- v4.2.6
- v4.2.5
- v4.2.4
- v4.2.3
- v4.2.2
- v4.2.1
- v4.2.0
- v4.1.2
- v4.1.1
- v4.1.0
- v4.0.5
- v4.0.4
- v4.0.3
- v4.0.2
- v4.0.1
- v4.0.0
- v3.0.6
- v3.0.5
- v3.0.4
- v3.0.3
- v3.0.2
- v3.0.1
- v3.0.0
- v2.0.4
- v2.0.3
- v2.0.2
- v2.0.1
- v2.0.0
- v1.0.7
- v1.0.6
- v1.0.5
- v1.0.4
- v1.0.3
- v1.0.2
- v1.0.1
- v1.0.0
- v0.0.1
- dev-php-path-support
This package is auto-updated.
Last update: 2024-12-18 14:56:38 UTC
README
Based on Nette Coding Standard
This is a set of sniffs and fixers that checks and fixes code of Nette Framework against Coding Standard in Documentation with some extra Modul IS fixers and tweaks.
How to use
Check PHP files
Check coding standard for PHP 7.1 in directory src
:
php ecs check src --preset php71
And fix it:
php ecs check src --preset php71 --fix
If no PHP version is specified, it will try to detect it automatically from the composer.json
file.
Check SQL settings
php sqltest [server] [username] [password]