Skip to content

Commit 7af452b

Browse files
committed
Merge branch '4.4' into 5.2
* 4.4: [Security/Core] fix checking for bcrypt [HttpFoundation] Fixes for PHP 8.1 deprecations [Mime] DataPart: remove confusing fix-me comment expose references detected in inline notation structures
2 parents 0f140e5 + 36f2e59 commit 7af452b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Part/DataPart.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ public function __construct($body, string $filename = null, string $contentType
4646

4747
public static function fromPath(string $path, string $name = null, string $contentType = null): self
4848
{
49-
// FIXME: if file is not readable, exception?
50-
5149
if (null === $contentType) {
5250
$ext = strtolower(substr($path, strrpos($path, '.') + 1));
5351
if (null === self::$mimeTypes) {

0 commit comments

Comments
 (0)