-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
standardize various files, change namespace
- Loading branch information
Showing
6 changed files
with
48 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,30 @@ | ||
# acalvino4/craft-twigruleset Changelog | ||
# Changelog | ||
|
||
## Unreleased | ||
|
||
## [1.0.3] - 2023-04-06 | ||
|
||
- Nitpick some files | ||
- Fix composer.json formatting | ||
- Change namespace name to `acalvino4\crafttwigruleset` | ||
- Fix changelog formatting | ||
- Add README.md contents | ||
|
||
## 1.0.2 - 2023-04-06 | ||
## [1.0.2] - 2023-04-06 | ||
|
||
- Fix incorrect class name | ||
|
||
## 1.0.1 - 2023-04-06 | ||
## [1.0.1] - 2023-04-06 | ||
|
||
- Fix namespacing | ||
|
||
## 1.0.0 - 2023-04-06 | ||
## [1.0.0] - 2023-04-06 | ||
|
||
- Added ruleset that extends from the official twigcs ruleset | ||
- Added customization to the RegEngine to allow the ??? operator | ||
- Removed the rule that enforces snake_case variable names, since the convention in the craft community is camelCase | ||
|
||
[1.0.3]: (https://github.com/acalvino4/craft-twigruleset/releases/tag/0.1.1) | ||
[1.0.2]: (https://github.com/acalvino4/craft-twigruleset/releases/tag/0.1.1) | ||
[1.0.1]: (https://github.com/acalvino4/craft-twigruleset/releases/tag/0.1.1) | ||
[1.0.0]: (https://github.com/acalvino4/craft-twigruleset/releases/tag/0.1.0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# MIT License | ||
# The MIT License (MIT) | ||
|
||
Copyright (c) 2023-present, Augustine Calvino | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,31 @@ | ||
{ | ||
"name": "acalvino4/craft-twig-ruleset", | ||
"description": "A twig coding style ruleset for the Craft community", | ||
"version": "1.0.3", | ||
"homepage": "https://github.com/acalvino4/craft-twigruleset", | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "acalvino4" | ||
} | ||
], | ||
"require": { | ||
"friendsoftwig/twigcs": "^6.2" | ||
}, | ||
"require-dev": { | ||
"craftcms/ecs": "dev-main", | ||
"craftcms/phpstan": "dev-main" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"acalvino4\\crafttwigruleset\\": "src/" | ||
} | ||
}, | ||
"scripts": { | ||
"test": "ecs check --ansi && phpstan --memory-limit=1G", | ||
"fix": "ecs check --ansi --fix" | ||
}, | ||
"minimum-stability": "dev", | ||
"prefer-stable": true | ||
"name": "acalvino4/craft-twig-ruleset", | ||
"description": "A twig coding style ruleset for the Craft community", | ||
"version": "1.0.3", | ||
"homepage": "https://github.com/acalvino4/craft-twigruleset", | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "acalvino4", | ||
"homepage": "https://github.com/acalvino4" | ||
} | ||
], | ||
"require": { | ||
"friendsoftwig/twigcs": "^6.2" | ||
}, | ||
"require-dev": { | ||
"craftcms/ecs": "dev-main", | ||
"craftcms/phpstan": "dev-main" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"acalvino4\\crafttwigruleset\\": "src/" | ||
} | ||
}, | ||
"scripts": { | ||
"test": "ecs check --ansi && phpstan --memory-limit=1G", | ||
"fix": "ecs check --ansi --fix" | ||
}, | ||
"minimum-stability": "dev", | ||
"prefer-stable": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
parameters: | ||
level: 8 | ||
paths: | ||
- ecs.php | ||
- src | ||
- ecs.php |