-
-
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.
- Loading branch information
1 parent
2b98ee6
commit 9e4ca2f
Showing
28 changed files
with
1,793 additions
and
1,363 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
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 |
---|---|---|
@@ -0,0 +1,58 @@ | ||
name: Bug Report | ||
description: Existing feature does not behave as expected. | ||
labels: [ "bug", "unverified" ] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Before reporting a bug, make sure Esi\SimpleTpl is up-to-date and the problem is/was not reported already. | ||
- type: textarea | ||
id: problem-description | ||
attributes: | ||
label: Problem description | ||
description: Please describe the problem you have encountered | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: minimal-reproducer | ||
attributes: | ||
label: Minimal Reproducer | ||
description: | | ||
Please provide a minimal code snippet that should be run to reproduce the problem. | ||
If relevant, provide the expected output, the actual output and/or the error that occurred, if any. | ||
Please use markdown syntax for each code snippet. | ||
validations: | ||
required: true | ||
- type: input | ||
id: version | ||
attributes: | ||
label: Library Version | ||
description: Which version of Esi\SimpleTpl is being run? (in X.Y.Z format) | ||
validations: | ||
required: true | ||
- type: input | ||
id: php-version | ||
attributes: | ||
label: PHP version | ||
description: Which PHP version is Esi\SimpleTpl being run on? | ||
validations: | ||
required: true | ||
- type: dropdown | ||
id: run-method | ||
attributes: | ||
label: How do you run Esi\SimpleTpl? | ||
multiple: false | ||
options: | ||
- Composer package | ||
- Manual installation | ||
validations: | ||
required: true | ||
- type: checkboxes | ||
id: terms | ||
attributes: | ||
label: Contribution Checks | ||
options: | ||
- label: I have verified whether this problem has already been reported. | ||
required: false |
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Feature Request | ||
description: I have a suggestion for a new feature (and possibly want to implement it). | ||
labels: [ "enhancement", "unverified" ] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
> [!IMPORTANT] | ||
> Before requesting a new feature, make sure your version of Esi\SimpleTpl is up-to-date. | ||
- type: textarea | ||
id: feature-request | ||
attributes: | ||
label: Feature Request | ||
description: Please describe the feature you would like to see implemented. | ||
validations: | ||
required: true | ||
- type: checkboxes | ||
id: terms | ||
attributes: | ||
label: Contribution Checks | ||
options: | ||
- label: I have verified whether this feature request was already discussed. | ||
required: false |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: Support question? | ||
url: https://github.com/ericsizemore/simple_tpl/discussions/categories/q-a | ||
about: If you have any questions about configuring or using Esi\SimpleTpl, please open a new Q&A discussion. |
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Pull Request | ||
<!-- | ||
PR title needs to be prefixed with a conventional commit type | ||
(chore,ci,deprecate,docs,feat,fix,refactor,revert) | ||
It should also be brief and descriptive for a good changelog entry | ||
examples: "feat: add new implementation" or "fix: remove unused imports" | ||
--> | ||
|
||
## Proposed Changes | ||
<!-- Describe what the changes are and link to a Discussion or Issue if one exists --> | ||
|
||
## Readiness Checklist | ||
|
||
### Author/Contributor | ||
|
||
- [ ] You have read [CONTRIBUTING](https://github.com/ericsizemore/simple_tpl/blob/master/CONTRIBUTING.md) | ||
- [ ] If documentation is needed for this change, has that been included in this pull request | ||
- [ ] run `composer run-script test` and ensure you have test coverage for the lines you are introducing | ||
- [ ] run `composer run-script phpstan` and fix any issues that you have introduced | ||
- [ ] run `composer run-script psalm` and fix any issues that you have introduced | ||
- [ ] run `composer run-script cs:check` and fix any issues that you have introduced | ||
|
||
### Reviewer | ||
|
||
- [ ] Label as either `fix`, `documentation`, or `enhancement` | ||
- [ ] Additionally label as `verified` or `unverified` |
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,12 +1,3 @@ | ||
.idea/ | ||
vendor/ | ||
build/ | ||
dochtml/ | ||
.php-cs-fixer.cache | ||
*.iws | ||
out/ | ||
.idea_modules/ | ||
atlassian-ide-plugin.xml | ||
.idea/php.xml | ||
.idea/simple_tpl.iml | ||
clover.xml |
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 |
---|---|---|
@@ -0,0 +1,136 @@ | ||
# .scrutinizer.yml | ||
build: | ||
image: default-bionic | ||
environment: | ||
php: 8.2.15 | ||
nodes: | ||
analysis: | ||
dependencies: | ||
before: | ||
- 'composer --global config allow-plugins true' | ||
- 'composer config allow-plugins true' | ||
project_setup: | ||
override: | ||
- 'true' | ||
tests: | ||
override: | ||
- php-scrutinizer-run | ||
- composer --global config allow-plugins true | ||
- composer config allow-plugins true | ||
- command: phpcs-run | ||
use_website_config: true | ||
filter: | ||
excluded_paths: | ||
- 'tests/*' | ||
|
||
checks: | ||
php: true | ||
|
||
coding_style: | ||
php: | ||
indentation: | ||
general: | ||
use_tabs: false | ||
size: 4 | ||
switch: | ||
indent_case: true | ||
spaces: | ||
general: | ||
linefeed_character: newline | ||
before_parentheses: | ||
function_declaration: false | ||
closure_definition: false | ||
function_call: false | ||
if: true | ||
for: true | ||
while: true | ||
switch: true | ||
catch: true | ||
array_initializer: false | ||
around_operators: | ||
assignment: true | ||
logical: true | ||
equality: true | ||
relational: true | ||
bitwise: true | ||
additive: true | ||
multiplicative: true | ||
shift: true | ||
unary_additive: false | ||
concatenation: true | ||
negation: false | ||
before_left_brace: | ||
class: true | ||
function: true | ||
if: true | ||
else: true | ||
for: true | ||
while: true | ||
do: true | ||
switch: true | ||
try: true | ||
catch: true | ||
finally: true | ||
before_keywords: | ||
else: true | ||
while: true | ||
catch: true | ||
finally: true | ||
within: | ||
brackets: false | ||
array_initializer: false | ||
grouping: false | ||
function_call: false | ||
function_declaration: false | ||
if: false | ||
for: false | ||
while: false | ||
switch: false | ||
catch: false | ||
type_cast: false | ||
ternary_operator: | ||
before_condition: true | ||
after_condition: true | ||
before_alternative: true | ||
after_alternative: true | ||
in_short_version: false | ||
other: | ||
before_comma: false | ||
after_comma: true | ||
before_semicolon: false | ||
after_semicolon: true | ||
after_type_cast: true | ||
braces: | ||
classes_functions: | ||
class: new-line | ||
function: new-line | ||
closure: end-of-line | ||
if: | ||
opening: end-of-line | ||
always: true | ||
else_on_new_line: false | ||
for: | ||
opening: end-of-line | ||
always: true | ||
while: | ||
opening: end-of-line | ||
always: true | ||
do_while: | ||
opening: end-of-line | ||
always: true | ||
while_on_new_line: false | ||
switch: | ||
opening: end-of-line | ||
try: | ||
opening: end-of-line | ||
catch_on_new_line: false | ||
finally_on_new_line: false | ||
upper_lower_casing: | ||
keywords: | ||
general: lower | ||
constants: | ||
true_false_null: undefined | ||
|
||
tools: | ||
php_code_coverage: true | ||
external_code_coverage: true |
Oops, something went wrong.