PrimeIntellect/SWE-rebench-V2 huggingface dataset:
Repository: joke2k/faker (python)

Issue:
image_url provider lorempixel is down 
* Faker version: all
* OS: all

Provider image_url lorempixel is down

### Steps to reproduce

Enter in lorempixel.com

### Expected behavior

The provider should be online

### Actual behavior

lorempixel.com is down

### Proposal change

I propose changed by http://picsum.photos


Pull request:
Allow custom placeholder string for `image_url`. Close #1319

Patch:
diff --git a/faker/providers/internet/__init__.py b/faker/providers/internet/__init__.py
index f9a038fb..d6f4607c 100644
--- a/faker/providers/internet/__init__.py
+++ b/faker/providers/internet/__init__.py
@@ -155,7 +155,7 @@ class Provider(BaseProvider):
         "{{url}}{{uri_path}}/{{uri_page}}{{uri_extension}}",
     )
     image_placeholder_services: ElementsType = (
-        "https://www.lorempixel.com/{width}/{height}",
+        "https://picsum.photos/{width}/{height}",
         "https://dummyimage.com/{width}x{height}",
         "https://placekitten.com/{width}/{height}",
         "https://placeimg.com/{width}/{height}/any",
@@ -637,14 +637,27 @@ class Provider(BaseProvider):
             value = self.generator.text(20)
         return value
 
-    def image_url(self, width: Optional[int] = None, height: Optional[int] = None) -> str:
+    def image_url(
+        self,
+        width: Optional[int] = None,
+        height: Optional[int] = None,
+        placeholder_url: Optional[str] = None,
+    ) -> str:
         """
         Returns URL to placeholder image
         Example: http://placehold.it/640x480
+
+        :param width: Optional image width
+        :param height: Optional image height
+        :param placeholder_url: Optional template string of image URLs from custom
+            placeholder service. String must contain ``{width}`` and ``{height}``
+            placeholders, eg: ``https:/example.com/{width}/{height}``.
+        :rtype: str
         """
         width_ = width or self.random_int(max=1024)
         height_ = height or self.random_int(max=1024)
-        placeholder_url: str = self.random_element(self.image_placeholder_services)
+        if placeholder_url is None:
+            placeholder_url = self.random_element(self.image_placeholder_services)
         return placeholder_url.format(width=width_, height=height_)
 
     def iana_id(self) -> str:


Test patch:
diff --git a/tests/providers/test_internet.py b/tests/providers/test_internet.py
index a4fd00a6..428af381 100644
--- a/tests/providers/test_internet.py
+++ b/tests/providers/test_internet.py
@@ -80,6 +80,8 @@ class TestInternetProvider:
         assert f"https://dummyimage.com/{my_width}x{my_height}" == url
         url = faker.image_url()
         assert "https://dummyimage.com/" in url
+        url = faker.image_url(placeholder_url="https://example.com/{width}/height")
+        assert url.startswith("https://example.com/")
 
     def test_hostname(self, faker):
         hostname_1_level = faker.hostname(levels=1)
Repository: phpactor/phpactor (php)

Issue:
Private constructors should not be completed
Twice in a row I got confused there is a public constructor there:
![image](https://user-images.githubusercontent.com/12109622/104836687-58161100-58b8-11eb-9725-9612e46193f4.png)


Pull request:
Gh 1181 deconstruct
Fixes #1181 

Patch:
diff --git a/doc/other/developing.rst b/doc/other/developing.rst
index 1b224569..cd137cff 100644
--- a/doc/other/developing.rst
+++ b/doc/other/developing.rst
@@ -28,8 +28,8 @@ Enable it as follows:
 
    {
        "logging.enabled": true,
-       "logging.level: "debug",
-       "logging.path: "phpactor.log",
+       "logging.level": "debug",
+       "logging.path": "phpactor.log",
    }
 
 Var Dump Server
diff --git a/lib/WorseReflection/Core/Inference/Resolver/AssignmentExpressionResolver.php b/lib/WorseReflection/Core/Inference/Resolver/AssignmentExpressionResolver.php
index eeea73f7..2f959aa8 100644
--- a/lib/WorseReflection/Core/Inference/Resolver/AssignmentExpressionResolver.php
+++ b/lib/WorseReflection/Core/Inference/Resolver/AssignmentExpressionResolver.php
@@ -232,6 +232,15 @@ class AssignmentExpressionResolver implements Resolver
 
             $index++;
             $elementValue = $element->elementValue;
+            if ($elementValue instanceof ArrayCreationExpression) {
+                $list = $elementValue->arrayElements;
+                if (!$list instanceof ArrayElementList) {
+                    return;
+                }
+                $accessType = $this->offsetType($type, $index);
+                $this->walkArrayElements($list->children, $leftOperand, $accessType, $frame);
+                continue;
+            }
             if (!$elementValue instanceof Variable) {
                 continue;
             }


Test patch:
diff --git a/lib/WorseReflection/Tests/Inference/assignment/list_desconstruct_nested.test b/lib/WorseReflection/Tests/Inference/assignment/list_desconstruct_nested.test
new file mode 100644
index 00000000..6aa86e89
--- /dev/null
+++ b/lib/WorseReflection/Tests/Inference/assignment/list_desconstruct_nested.test
@@ -0,0 +1,10 @@
+<?php
+
+function yesOrNo(): bool
+{
+}
+
+[[$one, $two]] = yesOrNo() ? [['one', 'two']] : [['three', 'four']];
+
+wrAssertType('"one"|"three"', $one);
+wrAssertType('"two"|"four"', $two);