Skip to content

Commit 7936241

Browse files
bryannielsengithub-actions[bot]
authored andcommitted
Prepare Release 1.2.0
1 parent 24b2ef6 commit 7936241

File tree

9 files changed

+13
-5
lines changed

9 files changed

+13
-5
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## [Unreleased]
44

5+
## [1.2.0] - 2023-11-20
6+
57
### Added
68

79
- The ability for ExpressionEngine to utilize Laravel cache adapters
@@ -189,7 +191,9 @@
189191

190192
- Initial Beta Release
191193

192-
[Unreleased]: https://github.com/ExpressionEngine/Coilpack/compare/1.1.2...HEAD
194+
[Unreleased]: https://github.com/ExpressionEngine/Coilpack/compare/1.2.0...HEAD
195+
196+
[1.2.0]: https://github.com/ExpressionEngine/Coilpack/compare/1.1.2...1.2.0
193197

194198
[1.1.2]: https://github.com/ExpressionEngine/Coilpack/compare/1.1.1...1.1.2
195199

src/Controllers/AssetController.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ public function __invoke()
6060
return $this->fileResponse($file, $headers);
6161
}
6262
}
63+
6364
// return $this->fileResponse($file);
6465
return $disk->get($file);
6566
}

src/Fieldtypes/Generic.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ public function apply(FieldContent $content, array $parameters = [])
6767

6868
$output = \Expressionengine\Coilpack\Facades\Coilpack::isolateTemplateLibrary(function ($template) use ($handler, $data, $parameters) {
6969
$output = $handler->replace_tag($data, $parameters);
70+
7071
// If the Fieldtype stored data for us in the template library that is preferable to the generated output
7172
return $template->get_data() ?: $output;
7273
});

src/Models/FieldContent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
use Illuminate\Contracts\Support\Jsonable;
66

7-
class FieldContent implements Jsonable, \IteratorAggregate, \ArrayAccess, \Countable
7+
class FieldContent implements \ArrayAccess, \Countable, \IteratorAggregate, Jsonable
88
{
99
/**
1010
* The model's attributes.

src/Models/FieldGroupContent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use Expressionengine\Coilpack\Models\Channel\ChannelFieldGroup;
66
use Illuminate\Contracts\Support\Jsonable;
77

8-
class FieldGroupContent implements Jsonable, \IteratorAggregate, \ArrayAccess, \Countable
8+
class FieldGroupContent implements \ArrayAccess, \Countable, \IteratorAggregate, Jsonable
99
{
1010
/**
1111
* The model's attributes.

src/TemplateOutput.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
use Illuminate\Contracts\Support\Arrayable;
66

7-
class TemplateOutput implements \IteratorAggregate, \ArrayAccess, \Countable
7+
class TemplateOutput implements \ArrayAccess, \Countable, \IteratorAggregate
88
{
99
protected $array = [];
1010

src/View/LegacyTag.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ public function run()
2727
{
2828
$output = Coilpack::isolateTemplateLibrary(function ($template) {
2929
$output = $this->getInstanceClass()->{$this->method}();
30+
3031
// If the Tag stored data for us in the template library that is preferable to the generated output
3132
return $template->get_data() ?: $output;
3233
}, $this->getArguments());

src/View/TagProxy.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ protected function getTag($tag)
3737
if (! $this->hasTag($tag)) {
3838
return null;
3939
}
40+
4041
// Check that the class extends \Expressionengine\Coilpack\View\Tag
4142
return $this->hasNestedTag($tag) ? new static($this->tags[$tag]) : new $this->tags[$tag];
4243
}

src/View/Tags/Structure/Nav.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ public function run()
184184
// Next is deeper start new parent
185185
if ($node['depth'] < @$tree[$i + 1]['depth']) {
186186
$parent = &$node;
187-
// Next is shallower reset parent
187+
// Next is shallower reset parent
188188
} elseif ($node['depth'] > @$tree[$i + 1]['depth']) {
189189
$diff = (array_key_exists($i + 1, $tree)) ? $tree[$i]['depth'] - $tree[$i + 1]['depth'] : $tree[$i]['depth'] - 1;
190190

0 commit comments

Comments
 (0)