Skip to content

Commit 1edf459

Browse files
chore(master): release 4.1.0 (#55)
* chore(master): release 4.1.0 * build: Update versions in mod files * Update composer.json * ocular * rev --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: John Rayes <[email protected]>
1 parent cdef697 commit 1edf459

35 files changed

+1031
-150
lines changed

.scrutinizer.yml

+6-104
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
filter:
2+
excluded_paths:
3+
- tests/
14
checks:
25
php:
36
variable_existence: true
@@ -67,110 +70,9 @@ checks:
6770
avoid_superglobals: false
6871
security_vulnerabilities: false
6972
no_exit: false
70-
coding_style:
71-
php:
72-
indentation:
73-
general:
74-
use_tabs: true
75-
size: 4
76-
switch:
77-
indent_case: true
78-
spaces:
79-
general:
80-
linefeed_character: newline
81-
before_parentheses:
82-
function_declaration: false
83-
closure_definition: false
84-
function_call: false
85-
if: true
86-
for: true
87-
while: true
88-
switch: true
89-
catch: true
90-
array_initializer: false
91-
around_operators:
92-
assignment: true
93-
logical: true
94-
equality: true
95-
relational: true
96-
bitwise: true
97-
additive: true
98-
multiplicative: true
99-
shift: true
100-
unary_additive: false
101-
concatenation: true
102-
negation: false
103-
before_left_brace:
104-
class: true
105-
function: true
106-
if: true
107-
else: true
108-
for: true
109-
while: true
110-
do: true
111-
switch: true
112-
try: true
113-
catch: true
114-
finally: true
115-
before_keywords:
116-
else: true
117-
while: true
118-
catch: true
119-
finally: true
120-
within:
121-
brackets: false
122-
array_initializer: false
123-
grouping: false
124-
function_call: false
125-
function_declaration: false
126-
if: false
127-
for: false
128-
while: false
129-
switch: false
130-
catch: false
131-
type_cast: false
132-
ternary_operator:
133-
before_condition: true
134-
after_condition: true
135-
before_alternative: true
136-
after_alternative: true
137-
in_short_version: false
138-
other:
139-
before_comma: false
140-
after_comma: true
141-
before_semicolon: false
142-
after_semicolon: true
143-
after_type_cast: true
144-
braces:
145-
classes_functions:
146-
class: new-line
147-
function: new-line
148-
closure: new-line
149-
if:
150-
opening: new-line
151-
always: false
152-
else_on_new_line: true
153-
for:
154-
opening: new-line
155-
always: false
156-
while:
157-
opening: new-line
158-
always: false
159-
do_while:
160-
opening: new-line
161-
always: false
162-
while_on_new_line: true
163-
switch:
164-
opening: new-line
165-
try:
166-
opening: new-line
167-
catch_on_new_line: true
168-
finally_on_new_line: true
169-
upper_lower_casing:
170-
keywords:
171-
general: lower
172-
constants:
173-
true_false_null: lower
73+
tools:
74+
external_code_coverage:
75+
timeout: 300
17476
build:
17577
image: default-bionic
17678
nodes:

CHANGELOG.md

+12
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,18 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
This project adheres to [Semantic Versioning](http://semver.org/) as of v1.8.0.
66

7+
## [4.1.0](https://github.com/live627/smf-custom-forms/compare/v4.0.7...v4.1.0) (2025-02-05)
8+
9+
10+
### Features
11+
12+
* Add both Spanish and German translations ([e6518aa](https://github.com/live627/smf-custom-forms/commit/e6518aa68e6c5386e1b6a5f95f7c572c7936cc9e))
13+
14+
15+
### Bug Fixes
16+
17+
* Ensure that custom template functions actually load ([93fe3e2](https://github.com/live627/smf-custom-forms/commit/93fe3e2ea0f3fb2ebc8f2f27f61ecb64353947a0))
18+
719
## [4.0.7](https://github.com/live627/smf-custom-forms/compare/v4.0.6...v4.0.7) (2024-11-24)
820

921

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
Package name | SMF version | Minimmum PHP version
99
--- | --- | ---
10-
[Custom Form Mod 4.0.6](https://github.com/live627/smf-custom-forms/releases/download/v4.0.6/custom-forms_4-0-6.tgz) | SMF 2.1.x | PHP 8
10+
[Custom Form Mod 4.1.0](https://github.com/live627/smf-custom-forms/releases/download/v4.1.0/custom-forms_4-1-0.tgz) | SMF 2.1.x | PHP 8
1111
[Custom Form Mod 2.2.4](https://github.com/live627/smf-custom-forms/releases/download/v2.2.4/custom-forms_2-2-4.tgz) | SMF 2.0.x, SMF 2.1.x | PHP 7.4
1212
Custom Form Mod 1.7 | SMF 1.1.x, 2.0.x | PHP 4.3 – PHP 7.4
1313

composer.json

+12-4
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,20 @@
55
}
66
},
77
"require": {
8-
"php": ">=8.1"
8+
"php": ">=8.0"
99
},
10+
"repositories": [
11+
{
12+
"url": "https://github.com/SimpleMachines/SMF.git",
13+
"type": "vcs"
14+
}
15+
],
1016
"require-dev": {
17+
"simplemachines/smf": "^2.1",
1118
"phpunit/phpunit": "^9.5",
1219
"friendsofphp/php-cs-fixer": "^3.0",
13-
"squizlabs/php_codesniffer": "^3.6"
20+
"squizlabs/php_codesniffer": "^3.6",
21+
"scrutinizer/ocular": "^1.9"
1422
},
1523
"scripts": {
1624
"phpunit": "phpunit --testdox",
@@ -19,5 +27,5 @@
1927
"phpcs": "phpcs --standard=./ ./src",
2028
"phpcbf": "phpcbf --standard=./ ./src"
2129
},
22-
"version": "4.0.7"
23-
}
30+
"version": "4.1.0"
31+
}

0 commit comments

Comments
 (0)