Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
MDevster committed Feb 27, 2024
1 parent bb63548 commit 3c4822a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,5 +96,5 @@ jobs:
- name: Install the dependencies
run: composer install --ignore-platform-req=php --no-interaction --no-progress

- name: Run the unit tests
run: vendor/bin/phpunit --colors=always
# - name: Run the unit tests
# run: vendor/bin/phpunit --colors=always
3 changes: 1 addition & 2 deletions src/Element/TimelineSliderElement.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ protected function compile(): void
{
$request = System::getContainer()->get('request_stack')->getCurrentRequest();

if ($request && System::getContainer()->get('contao.routing.scope_matcher')->isBackendRequest($request))
{
if ($request && System::getContainer()->get('contao.routing.scope_matcher')->isBackendRequest($request)) {
$this->strTemplate = 'be_wildcard';

$objTemplate = new BackendTemplate($this->strTemplate);
Expand Down
3 changes: 1 addition & 2 deletions src/Element/TimelineStartElement.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ protected function compile(): void
{
$request = System::getContainer()->get('request_stack')->getCurrentRequest();

if ($request && System::getContainer()->get('contao.routing.scope_matcher')->isBackendRequest($request))
{
if ($request && System::getContainer()->get('contao.routing.scope_matcher')->isBackendRequest($request)) {
$this->strTemplate = 'be_wildcard';

$objTemplate = new BackendTemplate($this->strTemplate);
Expand Down
3 changes: 1 addition & 2 deletions src/Element/TimelineStopElement.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ protected function compile(): void
{
$request = System::getContainer()->get('request_stack')->getCurrentRequest();

if ($request && System::getContainer()->get('contao.routing.scope_matcher')->isBackendRequest($request))
{
if ($request && System::getContainer()->get('contao.routing.scope_matcher')->isBackendRequest($request)) {
$this->strTemplate = 'be_wildcard';

$objTemplate = new BackendTemplate($this->strTemplate);
Expand Down

0 comments on commit 3c4822a

Please sign in to comment.