File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
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
...
@@ -48,7 +49,7 @@ git add ruleset.xml phpmd.xml .eslintrc grumphp.yml
48
49
#### 2. Add following to project`s 'Makefile':
49
50
``` makefile
50
51
win :
51
- open ' https://de-app.avaeta .test'
52
+ open ' https://de-app.example .test'
52
53
@echo " You are successful."
53
54
54
55
linters-init : # init linters on local machine
You can’t perform that action at this time.
0 commit comments