Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

EWPP-3898: Avoid error_trigger in remote stream wrapper unlink. #92

Merged
merged 2 commits into from
Apr 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion media_avportal.install
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Contains installation hooks.
*/

declare(strict_types = 1);
declare(strict_types=1);

/**
* Implements hook_update_N().
Expand Down
2 changes: 1 addition & 1 deletion media_avportal.module
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
* Main module file.
*/

declare(strict_types = 1);
declare(strict_types=1);
2 changes: 1 addition & 1 deletion media_avportal.post_update.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Post updates functions for Media AV Portal.
*/

declare(strict_types = 1);
declare(strict_types=1);

/**
* Sets caching of AV Portal responses to one hour.
Expand Down
2 changes: 1 addition & 1 deletion src/AvPortalClient.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\media_avportal;

Expand Down
2 changes: 1 addition & 1 deletion src/AvPortalClientFactory.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\media_avportal;

Expand Down
2 changes: 1 addition & 1 deletion src/AvPortalClientFactoryInterface.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\media_avportal;

Expand Down
2 changes: 1 addition & 1 deletion src/AvPortalClientInterface.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\media_avportal;

Expand Down
2 changes: 1 addition & 1 deletion src/AvPortalMediaUpdater.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\media_avportal;

Expand Down
2 changes: 1 addition & 1 deletion src/AvPortalResource.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\media_avportal;

Expand Down
2 changes: 1 addition & 1 deletion src/Commands/AvPortalCommands.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\media_avportal\Commands;

Expand Down
2 changes: 1 addition & 1 deletion src/Plugin/Field/FieldFormatter/AvPortalPhotoFormatter.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\media_avportal\Plugin\Field\FieldFormatter;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\media_avportal\Plugin\Field\FieldFormatter;

Expand Down
2 changes: 1 addition & 1 deletion src/Plugin/Field/FieldFormatter/AvPortalVideoFormatter.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\media_avportal\Plugin\Field\FieldFormatter;

Expand Down
2 changes: 1 addition & 1 deletion src/Plugin/Field/FieldWidget/AvPortalWidget.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\media_avportal\Plugin\Field\FieldWidget;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\media_avportal\Plugin\Validation\Constraint;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\media_avportal\Plugin\Validation\Constraint;

Expand Down
2 changes: 1 addition & 1 deletion src/Plugin/media/Source/MediaAvPortalPhotoSource.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\media_avportal\Plugin\media\Source;

Expand Down
2 changes: 1 addition & 1 deletion src/Plugin/media/Source/MediaAvPortalSourceBase.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\media_avportal\Plugin\media\Source;

Expand Down
2 changes: 1 addition & 1 deletion src/Plugin/media/Source/MediaAvPortalSourceInterface.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\media_avportal\Plugin\media\Source;

Expand Down
2 changes: 1 addition & 1 deletion src/Plugin/media/Source/MediaAvPortalVideoSource.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\media_avportal\Plugin\media\Source;

Expand Down
9 changes: 8 additions & 1 deletion src/StreamWrapper/AvPortalPhotoStreamWrapper.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\media_avportal\StreamWrapper;

Expand Down Expand Up @@ -200,4 +200,11 @@ public function preventUnmanagedFileImageStyleGeneration() {
return FALSE;
}

/**
* {@inheritdoc}
*/
public function unlink($path) {
return TRUE;
}

}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\media_avportal_mock;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\media_avportal_mock;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\media_avportal_mock\EventSubscriber;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\media_avportal_mock;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\Tests\media_avportal\FunctionalJavascript;

Expand Down
2 changes: 1 addition & 1 deletion tests/src/Kernel/AvPortalClientTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\Tests\media_avportal\src\Kernel;

Expand Down
2 changes: 1 addition & 1 deletion tests/src/Kernel/AvPortalPullMediaTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\Tests\media_avportal\src\Kernel;

Expand Down
2 changes: 1 addition & 1 deletion tests/src/Kernel/AvPortalStreamWrapperTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\Tests\media_avportal\src\Kernel;

Expand Down
2 changes: 1 addition & 1 deletion tests/src/Unit/AvPortalClientTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\Tests\media_avportal\src\Unit;

Expand Down
2 changes: 1 addition & 1 deletion tests/src/Unit/AvPortalResourceTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Drupal\Tests\media_avportal\src\Unit;

Expand Down