Our great sponsors
-
PHP Mess Detector
PHPMD is a spin-off project of PHP Depend and aims to be a PHP equivalent of the well known Java tool PMD. PHPMD can be seen as an user friendly frontend application for the raw metrics stream measured by PHP Depend.
-
PHP Code Sniffer
PHP_CodeSniffer tokenizes PHP files and detects violations of a defined set of coding standards.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
suppose we miss a space at the end of the file, and phpcs fails while running the automated pipelines on pull request merge.
grumphp can be configured to listen to git commit commands and will not allow until all quality checks passed.
PHPCS Fixer 2
You can check out a small task created by me to validate swagger documentation before every commit. https://github.com/milindsingh/grumphp-swagger
#### PHPLint
Create a grumphp.yml file in magento-2-root and copy all content as below code.