File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
1
# Space48 Code Quality tool
2
2
3
- A module that helps to easily apply static code analysers to the project` s code.
4
- It uses [ grumphp] ( https://github.com/phpro/grumphp ) under the hood and has predefined set of rules
5
- based on Magento 2 coding standards and tuned to be less annoying.
3
+ A module that helps to easily apply static code analysers to the project' s code.
4
+ It uses [ grumphp] ( https://github.com/phpro/grumphp ) under the hood with a predefined set of rules
5
+ based on Magento 2 coding standards but tuned to be less annoying!
6
6
7
7
## Usage
8
+
8
9
After pulling and installing a project locally just run following command to update local git hooks
9
10
and install npm packages inside Docker container:
10
11
``` shell
@@ -26,8 +27,8 @@ make analyse
26
27
Add Code Quality tool to the Magento Project:
27
28
28
29
### Installation on a regular _ Space48 Warden based Magento 2_ project:
29
- ####NOTE!
30
- On Megento versions ** earlier than 2.4** add following to 'require' section of project's ` composer.json ` :
30
+
31
+ On Magento versions ** earlier than 2.4** add following to 'require' section of project's ` composer.json ` :
31
32
```
32
33
"require": {
33
34
...
Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " space48/code-quality" ,
3
- "version" : " 1.0" ,
2
+ "name" : " space48/magento2-code-quality" ,
4
3
"type" : " codesniffer-standard" ,
5
4
"description" : " Provides rulesets for phpmd, phpcs and eslint that overrides some Magento sniffs and provides some new ones as well" ,
6
5
"license" : " proprietary" ,
You can’t perform that action at this time.
0 commit comments