language
stringclasses
1 value
owner
stringlengths
2
15
repo
stringlengths
2
21
sha
stringlengths
45
45
message
stringlengths
7
36.3k
path
stringlengths
1
199
patch
stringlengths
15
102k
is_multipart
bool
2 classes
Other
laravel
framework
fe9711b86f02704869c688ede0a79579db067f12.json
add stringable tests
src/Illuminate/Support/Stringable.php
@@ -23,7 +23,7 @@ class Stringable * @param string $value * @return void */ - public function __construct($value) + public function __construct($value = '') { $this->value = (string) $value; } @@ -100,6 +100,17 @@ public function ascii($language = 'en') return new s...
true
Other
laravel
framework
fe9711b86f02704869c688ede0a79579db067f12.json
add stringable tests
tests/Support/SupportStringableTest.php
@@ -0,0 +1,27 @@ +<?php + +namespace Illuminate\Tests\Support; + +use Illuminate\Support\Stringable; +use PHPUnit\Framework\TestCase; + +class SupportStrTest extends TestCase +{ + public function testMatch() + { + $string = new Stringable('foo bar'); + + $this->assertEquals('bar', $string->match('/b...
true
Other
laravel
framework
acbbf272214e65f176a2b6a407201ff51729f787.json
add stringable class
src/Illuminate/Support/Str.php
@@ -41,6 +41,17 @@ class Str */ protected static $uuidFactory; + /** + * Get a new stringable object from the given string. + * + * @param string $string + * @return \Illuminate\Support\Stringable + */ + public static function of($string) + { + return new Stringable($s...
true
Other
laravel
framework
acbbf272214e65f176a2b6a407201ff51729f787.json
add stringable class
src/Illuminate/Support/Stringable.php
@@ -0,0 +1,523 @@ +<?php + +namespace Illuminate\Support; + +use Closure; +use Illuminate\Support\Str; +use Illuminate\Support\Traits\Macroable; + +class Stringable +{ + use Macroable; + + /** + * The underlying string value. + * + * @var string + */ + protected $value; + + /** + * Creat...
true
Other
laravel
framework
d06cc79d92c18b0ff423466554eeed0aea09ae51.json
Update branch aliases
src/Illuminate/Auth/composer.json
@@ -27,7 +27,7 @@ }, "extra": { "branch-alias": { - "dev-master": "6.0-dev" + "dev-master": "6.x-dev" } }, "suggest": {
true
Other
laravel
framework
d06cc79d92c18b0ff423466554eeed0aea09ae51.json
Update branch aliases
src/Illuminate/Broadcasting/composer.json
@@ -29,7 +29,7 @@ }, "extra": { "branch-alias": { - "dev-master": "6.0-dev" + "dev-master": "6.x-dev" } }, "suggest": {
true
Other
laravel
framework
d06cc79d92c18b0ff423466554eeed0aea09ae51.json
Update branch aliases
src/Illuminate/Bus/composer.json
@@ -26,7 +26,7 @@ }, "extra": { "branch-alias": { - "dev-master": "6.0-dev" + "dev-master": "6.x-dev" } }, "config": {
true
Other
laravel
framework
d06cc79d92c18b0ff423466554eeed0aea09ae51.json
Update branch aliases
src/Illuminate/Cache/composer.json
@@ -25,7 +25,7 @@ }, "extra": { "branch-alias": { - "dev-master": "6.0-dev" + "dev-master": "6.x-dev" } }, "suggest": {
true
Other
laravel
framework
d06cc79d92c18b0ff423466554eeed0aea09ae51.json
Update branch aliases
src/Illuminate/Config/composer.json
@@ -25,7 +25,7 @@ }, "extra": { "branch-alias": { - "dev-master": "6.0-dev" + "dev-master": "6.x-dev" } }, "config": {
true
Other
laravel
framework
d06cc79d92c18b0ff423466554eeed0aea09ae51.json
Update branch aliases
src/Illuminate/Console/composer.json
@@ -27,7 +27,7 @@ }, "extra": { "branch-alias": { - "dev-master": "6.0-dev" + "dev-master": "6.x-dev" } }, "suggest": {
true
Other
laravel
framework
d06cc79d92c18b0ff423466554eeed0aea09ae51.json
Update branch aliases
src/Illuminate/Container/composer.json
@@ -25,7 +25,7 @@ }, "extra": { "branch-alias": { - "dev-master": "6.0-dev" + "dev-master": "6.x-dev" } }, "config": {
true
Other
laravel
framework
d06cc79d92c18b0ff423466554eeed0aea09ae51.json
Update branch aliases
src/Illuminate/Contracts/composer.json
@@ -25,7 +25,7 @@ }, "extra": { "branch-alias": { - "dev-master": "6.0-dev" + "dev-master": "6.x-dev" } }, "config": {
true
Other
laravel
framework
d06cc79d92c18b0ff423466554eeed0aea09ae51.json
Update branch aliases
src/Illuminate/Cookie/composer.json
@@ -27,7 +27,7 @@ }, "extra": { "branch-alias": { - "dev-master": "6.0-dev" + "dev-master": "6.x-dev" } }, "config": {
true
Other
laravel
framework
d06cc79d92c18b0ff423466554eeed0aea09ae51.json
Update branch aliases
src/Illuminate/Database/composer.json
@@ -28,7 +28,7 @@ }, "extra": { "branch-alias": { - "dev-master": "6.0-dev" + "dev-master": "6.x-dev" } }, "suggest": {
true
Other
laravel
framework
d06cc79d92c18b0ff423466554eeed0aea09ae51.json
Update branch aliases
src/Illuminate/Encryption/composer.json
@@ -28,7 +28,7 @@ }, "extra": { "branch-alias": { - "dev-master": "6.0-dev" + "dev-master": "6.x-dev" } }, "config": {
true
Other
laravel
framework
d06cc79d92c18b0ff423466554eeed0aea09ae51.json
Update branch aliases
src/Illuminate/Events/composer.json
@@ -26,7 +26,7 @@ }, "extra": { "branch-alias": { - "dev-master": "6.0-dev" + "dev-master": "6.x-dev" } }, "config": {
true
Other
laravel
framework
d06cc79d92c18b0ff423466554eeed0aea09ae51.json
Update branch aliases
src/Illuminate/Filesystem/composer.json
@@ -26,7 +26,7 @@ }, "extra": { "branch-alias": { - "dev-master": "6.0-dev" + "dev-master": "6.x-dev" } }, "suggest": {
true
Other
laravel
framework
d06cc79d92c18b0ff423466554eeed0aea09ae51.json
Update branch aliases
src/Illuminate/Hashing/composer.json
@@ -25,7 +25,7 @@ }, "extra": { "branch-alias": { - "dev-master": "6.0-dev" + "dev-master": "6.x-dev" } }, "config": {
true
Other
laravel
framework
d06cc79d92c18b0ff423466554eeed0aea09ae51.json
Update branch aliases
src/Illuminate/Http/composer.json
@@ -31,7 +31,7 @@ }, "extra": { "branch-alias": { - "dev-master": "6.0-dev" + "dev-master": "6.x-dev" } }, "config": {
true
Other
laravel
framework
d06cc79d92c18b0ff423466554eeed0aea09ae51.json
Update branch aliases
src/Illuminate/Log/composer.json
@@ -26,7 +26,7 @@ }, "extra": { "branch-alias": { - "dev-master": "6.0-dev" + "dev-master": "6.x-dev" } }, "config": {
true
Other
laravel
framework
d06cc79d92c18b0ff423466554eeed0aea09ae51.json
Update branch aliases
src/Illuminate/Mail/composer.json
@@ -32,7 +32,7 @@ }, "extra": { "branch-alias": { - "dev-master": "6.0-dev" + "dev-master": "6.x-dev" } }, "suggest": {
true
Other
laravel
framework
d06cc79d92c18b0ff423466554eeed0aea09ae51.json
Update branch aliases
src/Illuminate/Notifications/composer.json
@@ -31,7 +31,7 @@ }, "extra": { "branch-alias": { - "dev-master": "6.0-dev" + "dev-master": "6.x-dev" } }, "suggest": {
true
Other
laravel
framework
d06cc79d92c18b0ff423466554eeed0aea09ae51.json
Update branch aliases
src/Illuminate/Pagination/composer.json
@@ -26,7 +26,7 @@ }, "extra": { "branch-alias": { - "dev-master": "6.0-dev" + "dev-master": "6.x-dev" } }, "config": {
true
Other
laravel
framework
d06cc79d92c18b0ff423466554eeed0aea09ae51.json
Update branch aliases
src/Illuminate/Pipeline/composer.json
@@ -26,7 +26,7 @@ }, "extra": { "branch-alias": { - "dev-master": "6.0-dev" + "dev-master": "6.x-dev" } }, "config": {
true
Other
laravel
framework
d06cc79d92c18b0ff423466554eeed0aea09ae51.json
Update branch aliases
src/Illuminate/Queue/composer.json
@@ -34,7 +34,7 @@ }, "extra": { "branch-alias": { - "dev-master": "6.0-dev" + "dev-master": "6.x-dev" } }, "suggest": {
true
Other
laravel
framework
d06cc79d92c18b0ff423466554eeed0aea09ae51.json
Update branch aliases
src/Illuminate/Redis/composer.json
@@ -29,7 +29,7 @@ }, "extra": { "branch-alias": { - "dev-master": "6.0-dev" + "dev-master": "6.x-dev" } }, "config": {
true
Other
laravel
framework
d06cc79d92c18b0ff423466554eeed0aea09ae51.json
Update branch aliases
src/Illuminate/Routing/composer.json
@@ -34,7 +34,7 @@ }, "extra": { "branch-alias": { - "dev-master": "6.0-dev" + "dev-master": "6.x-dev" } }, "suggest": {
true
Other
laravel
framework
d06cc79d92c18b0ff423466554eeed0aea09ae51.json
Update branch aliases
src/Illuminate/Session/composer.json
@@ -29,7 +29,7 @@ }, "extra": { "branch-alias": { - "dev-master": "6.0-dev" + "dev-master": "6.x-dev" } }, "suggest": {
true
Other
laravel
framework
d06cc79d92c18b0ff423466554eeed0aea09ae51.json
Update branch aliases
src/Illuminate/Support/composer.json
@@ -34,7 +34,7 @@ }, "extra": { "branch-alias": { - "dev-master": "6.0-dev" + "dev-master": "6.x-dev" } }, "suggest": {
true
Other
laravel
framework
d06cc79d92c18b0ff423466554eeed0aea09ae51.json
Update branch aliases
src/Illuminate/Translation/composer.json
@@ -27,7 +27,7 @@ }, "extra": { "branch-alias": { - "dev-master": "6.0-dev" + "dev-master": "6.x-dev" } }, "config": {
true
Other
laravel
framework
d06cc79d92c18b0ff423466554eeed0aea09ae51.json
Update branch aliases
src/Illuminate/Validation/composer.json
@@ -30,7 +30,7 @@ }, "extra": { "branch-alias": { - "dev-master": "6.0-dev" + "dev-master": "6.x-dev" } }, "suggest": {
true
Other
laravel
framework
d06cc79d92c18b0ff423466554eeed0aea09ae51.json
Update branch aliases
src/Illuminate/View/composer.json
@@ -30,7 +30,7 @@ }, "extra": { "branch-alias": { - "dev-master": "6.0-dev" + "dev-master": "6.x-dev" } }, "config": {
true
Other
laravel
framework
aefefaf8dc2bb8f190b03f8ccbc04c730643c87b.json
Update branch aliases
src/Illuminate/Auth/composer.json
@@ -27,7 +27,7 @@ }, "extra": { "branch-alias": { - "dev-master": "7.0-dev" + "dev-master": "7.x-dev" } }, "suggest": {
true
Other
laravel
framework
aefefaf8dc2bb8f190b03f8ccbc04c730643c87b.json
Update branch aliases
src/Illuminate/Broadcasting/composer.json
@@ -29,7 +29,7 @@ }, "extra": { "branch-alias": { - "dev-master": "7.0-dev" + "dev-master": "7.x-dev" } }, "suggest": {
true
Other
laravel
framework
aefefaf8dc2bb8f190b03f8ccbc04c730643c87b.json
Update branch aliases
src/Illuminate/Bus/composer.json
@@ -26,7 +26,7 @@ }, "extra": { "branch-alias": { - "dev-master": "7.0-dev" + "dev-master": "7.x-dev" } }, "config": {
true
Other
laravel
framework
aefefaf8dc2bb8f190b03f8ccbc04c730643c87b.json
Update branch aliases
src/Illuminate/Cache/composer.json
@@ -25,7 +25,7 @@ }, "extra": { "branch-alias": { - "dev-master": "7.0-dev" + "dev-master": "7.x-dev" } }, "suggest": {
true
Other
laravel
framework
aefefaf8dc2bb8f190b03f8ccbc04c730643c87b.json
Update branch aliases
src/Illuminate/Config/composer.json
@@ -25,7 +25,7 @@ }, "extra": { "branch-alias": { - "dev-master": "7.0-dev" + "dev-master": "7.x-dev" } }, "config": {
true
Other
laravel
framework
aefefaf8dc2bb8f190b03f8ccbc04c730643c87b.json
Update branch aliases
src/Illuminate/Console/composer.json
@@ -27,7 +27,7 @@ }, "extra": { "branch-alias": { - "dev-master": "7.0-dev" + "dev-master": "7.x-dev" } }, "suggest": {
true
Other
laravel
framework
aefefaf8dc2bb8f190b03f8ccbc04c730643c87b.json
Update branch aliases
src/Illuminate/Container/composer.json
@@ -25,7 +25,7 @@ }, "extra": { "branch-alias": { - "dev-master": "7.0-dev" + "dev-master": "7.x-dev" } }, "config": {
true
Other
laravel
framework
aefefaf8dc2bb8f190b03f8ccbc04c730643c87b.json
Update branch aliases
src/Illuminate/Contracts/composer.json
@@ -25,7 +25,7 @@ }, "extra": { "branch-alias": { - "dev-master": "7.0-dev" + "dev-master": "7.x-dev" } }, "config": {
true
Other
laravel
framework
aefefaf8dc2bb8f190b03f8ccbc04c730643c87b.json
Update branch aliases
src/Illuminate/Cookie/composer.json
@@ -27,7 +27,7 @@ }, "extra": { "branch-alias": { - "dev-master": "7.0-dev" + "dev-master": "7.x-dev" } }, "config": {
true
Other
laravel
framework
aefefaf8dc2bb8f190b03f8ccbc04c730643c87b.json
Update branch aliases
src/Illuminate/Database/composer.json
@@ -29,7 +29,7 @@ }, "extra": { "branch-alias": { - "dev-master": "7.0-dev" + "dev-master": "7.x-dev" } }, "suggest": {
true
Other
laravel
framework
aefefaf8dc2bb8f190b03f8ccbc04c730643c87b.json
Update branch aliases
src/Illuminate/Encryption/composer.json
@@ -28,7 +28,7 @@ }, "extra": { "branch-alias": { - "dev-master": "7.0-dev" + "dev-master": "7.x-dev" } }, "config": {
true
Other
laravel
framework
aefefaf8dc2bb8f190b03f8ccbc04c730643c87b.json
Update branch aliases
src/Illuminate/Events/composer.json
@@ -26,7 +26,7 @@ }, "extra": { "branch-alias": { - "dev-master": "7.0-dev" + "dev-master": "7.x-dev" } }, "config": {
true
Other
laravel
framework
aefefaf8dc2bb8f190b03f8ccbc04c730643c87b.json
Update branch aliases
src/Illuminate/Filesystem/composer.json
@@ -26,7 +26,7 @@ }, "extra": { "branch-alias": { - "dev-master": "7.0-dev" + "dev-master": "7.x-dev" } }, "suggest": {
true
Other
laravel
framework
aefefaf8dc2bb8f190b03f8ccbc04c730643c87b.json
Update branch aliases
src/Illuminate/Foundation/Application.php
@@ -33,7 +33,7 @@ class Application extends Container implements ApplicationContract, CachesConfig * * @var string */ - const VERSION = '7.0-dev'; + const VERSION = '7.x-dev'; /** * The base path for the Laravel installation.
true
Other
laravel
framework
aefefaf8dc2bb8f190b03f8ccbc04c730643c87b.json
Update branch aliases
src/Illuminate/Hashing/composer.json
@@ -25,7 +25,7 @@ }, "extra": { "branch-alias": { - "dev-master": "7.0-dev" + "dev-master": "7.x-dev" } }, "config": {
true
Other
laravel
framework
aefefaf8dc2bb8f190b03f8ccbc04c730643c87b.json
Update branch aliases
src/Illuminate/Http/composer.json
@@ -31,7 +31,7 @@ }, "extra": { "branch-alias": { - "dev-master": "7.0-dev" + "dev-master": "7.x-dev" } }, "config": {
true
Other
laravel
framework
aefefaf8dc2bb8f190b03f8ccbc04c730643c87b.json
Update branch aliases
src/Illuminate/Log/composer.json
@@ -26,7 +26,7 @@ }, "extra": { "branch-alias": { - "dev-master": "7.0-dev" + "dev-master": "7.x-dev" } }, "config": {
true
Other
laravel
framework
aefefaf8dc2bb8f190b03f8ccbc04c730643c87b.json
Update branch aliases
src/Illuminate/Mail/composer.json
@@ -32,7 +32,7 @@ }, "extra": { "branch-alias": { - "dev-master": "7.0-dev" + "dev-master": "7.x-dev" } }, "suggest": {
true
Other
laravel
framework
aefefaf8dc2bb8f190b03f8ccbc04c730643c87b.json
Update branch aliases
src/Illuminate/Notifications/composer.json
@@ -31,7 +31,7 @@ }, "extra": { "branch-alias": { - "dev-master": "7.0-dev" + "dev-master": "7.x-dev" } }, "suggest": {
true
Other
laravel
framework
aefefaf8dc2bb8f190b03f8ccbc04c730643c87b.json
Update branch aliases
src/Illuminate/Pagination/composer.json
@@ -26,7 +26,7 @@ }, "extra": { "branch-alias": { - "dev-master": "7.0-dev" + "dev-master": "7.x-dev" } }, "config": {
true
Other
laravel
framework
aefefaf8dc2bb8f190b03f8ccbc04c730643c87b.json
Update branch aliases
src/Illuminate/Pipeline/composer.json
@@ -25,7 +25,7 @@ }, "extra": { "branch-alias": { - "dev-master": "7.0-dev" + "dev-master": "7.x-dev" } }, "config": {
true
Other
laravel
framework
aefefaf8dc2bb8f190b03f8ccbc04c730643c87b.json
Update branch aliases
src/Illuminate/Queue/composer.json
@@ -33,7 +33,7 @@ }, "extra": { "branch-alias": { - "dev-master": "7.0-dev" + "dev-master": "7.x-dev" } }, "suggest": {
true
Other
laravel
framework
aefefaf8dc2bb8f190b03f8ccbc04c730643c87b.json
Update branch aliases
src/Illuminate/Redis/composer.json
@@ -29,7 +29,7 @@ }, "extra": { "branch-alias": { - "dev-master": "7.0-dev" + "dev-master": "7.x-dev" } }, "config": {
true
Other
laravel
framework
aefefaf8dc2bb8f190b03f8ccbc04c730643c87b.json
Update branch aliases
src/Illuminate/Routing/composer.json
@@ -33,7 +33,7 @@ }, "extra": { "branch-alias": { - "dev-master": "7.0-dev" + "dev-master": "7.x-dev" } }, "suggest": {
true
Other
laravel
framework
aefefaf8dc2bb8f190b03f8ccbc04c730643c87b.json
Update branch aliases
src/Illuminate/Session/composer.json
@@ -29,7 +29,7 @@ }, "extra": { "branch-alias": { - "dev-master": "7.0-dev" + "dev-master": "7.x-dev" } }, "suggest": {
true
Other
laravel
framework
aefefaf8dc2bb8f190b03f8ccbc04c730643c87b.json
Update branch aliases
src/Illuminate/Support/composer.json
@@ -35,7 +35,7 @@ }, "extra": { "branch-alias": { - "dev-master": "7.0-dev" + "dev-master": "7.x-dev" } }, "suggest": {
true
Other
laravel
framework
aefefaf8dc2bb8f190b03f8ccbc04c730643c87b.json
Update branch aliases
src/Illuminate/Translation/composer.json
@@ -27,7 +27,7 @@ }, "extra": { "branch-alias": { - "dev-master": "7.0-dev" + "dev-master": "7.x-dev" } }, "config": {
true
Other
laravel
framework
aefefaf8dc2bb8f190b03f8ccbc04c730643c87b.json
Update branch aliases
src/Illuminate/Validation/composer.json
@@ -30,7 +30,7 @@ }, "extra": { "branch-alias": { - "dev-master": "7.0-dev" + "dev-master": "7.x-dev" } }, "suggest": {
true
Other
laravel
framework
aefefaf8dc2bb8f190b03f8ccbc04c730643c87b.json
Update branch aliases
src/Illuminate/View/composer.json
@@ -29,7 +29,7 @@ }, "extra": { "branch-alias": { - "dev-master": "7.0-dev" + "dev-master": "7.x-dev" } }, "config": {
true
Other
laravel
framework
fb9446f27855e6fb330cf4a65f717f32bd20a4c1.json
Add redis.connection aliases in container (#31034)
src/Illuminate/Foundation/Application.php
@@ -1185,6 +1185,7 @@ public function registerCoreContainerAliases() 'queue.failer' => [\Illuminate\Queue\Failed\FailedJobProviderInterface::class], 'redirect' => [\Illuminate\Routing\Redirector::class], 'redis' => [\Illuminate\Redis\RedisManager...
false
Other
laravel
framework
3c18d9581d75868910d047d2d135dca983660a98.json
adjust doc blocks
src/Illuminate/View/ComponentAttributeBag.php
@@ -59,7 +59,7 @@ public function only($keys) } /** - * Implode the given attributes into a single HTML ready string. + * Merge additional attributes / values into the attribute bag. * * @param array $attributes * @return static @@ -92,10 +92,10 @@ public function setAttributes(a...
false
Other
laravel
framework
1242c57e64b1ab37096cca4d3b57e621d662ecf2.json
Apply fixes from StyleCI (#31025)
tests/View/Blade/BladeComponentTagCompilerTest.php
@@ -10,7 +10,7 @@ class BladeComponentTagCompilerTest extends AbstractBladeTestCase { - public function tearDown() : void + public function tearDown(): void { Mockery::close(); }
false
Other
laravel
framework
85c804dfb025e998e7f2e9e2f5c2ba091e60a906.json
Apply fixes from StyleCI (#31024)
src/Illuminate/View/Component.php
@@ -3,7 +3,6 @@ namespace Illuminate\View; use Closure; -use Illuminate\Support\HtmlString; use Illuminate\Support\Str; use ReflectionClass; use ReflectionMethod;
true
Other
laravel
framework
85c804dfb025e998e7f2e9e2f5c2ba091e60a906.json
Apply fixes from StyleCI (#31024)
tests/View/ViewComponentAttributeBagTest.php
@@ -2,7 +2,6 @@ namespace Illuminate\Tests\View; -use Illuminate\View\Component; use Illuminate\View\ComponentAttributeBag; use PHPUnit\Framework\TestCase;
true
Other
laravel
framework
e9d3e71d529fcb5764c7d13eaab26deca0ffe4e1.json
adjust behavior of attribute bag
src/Illuminate/View/ComponentAttributeBag.php
@@ -3,6 +3,7 @@ namespace Illuminate\View; use ArrayAccess; +use Illuminate\Support\Arr; use Illuminate\Support\HtmlString; class ComponentAttributeBag implements ArrayAccess @@ -32,11 +33,31 @@ public function __construct(array $attributes = []) * @param mixed $default * @return mixed */ - ...
true
Other
laravel
framework
e9d3e71d529fcb5764c7d13eaab26deca0ffe4e1.json
adjust behavior of attribute bag
tests/View/ViewComponentTest.php
@@ -7,14 +7,6 @@ class ViewComponentTest extends TestCase { - public function testAttributeRetrieval() - { - $component = new TestViewComponent; - $component->withAttributes(['class' => 'font-bold', 'name' => 'test']); - - $this->assertEquals('class="mt-4 font-bold" name="test"', (string)...
true
Other
laravel
framework
4902c74f609b31835fcdf729f85d3f3e8254ae51.json
Apply fixes from StyleCI (#31022)
src/Illuminate/Foundation/Console/ComponentMakeCommand.php
@@ -65,9 +65,9 @@ protected function writeView() file_put_contents( $path.'.blade.php', - "<div> - <!-- ".Inspiring::quote()." --> -</div>" + '<div> + <!-- '.Inspiring::quote().' --> +</div>' ); }
true
Other
laravel
framework
4902c74f609b31835fcdf729f85d3f3e8254ae51.json
Apply fixes from StyleCI (#31022)
src/Illuminate/Foundation/Providers/ArtisanServiceProvider.php
@@ -57,8 +57,8 @@ use Illuminate\Queue\Console\FailedTableCommand; use Illuminate\Queue\Console\FlushFailedCommand as FlushFailedQueueCommand; use Illuminate\Queue\Console\ForgetFailedCommand as ForgetFailedQueueCommand; -use Illuminate\Queue\Console\ListFailedCommand as ListFailedQueueCommand; use Illuminate\Queue...
true
Other
laravel
framework
4902c74f609b31835fcdf729f85d3f3e8254ae51.json
Apply fixes from StyleCI (#31022)
src/Illuminate/View/Compilers/ComponentTagCompiler.php
@@ -2,11 +2,10 @@ namespace Illuminate\View\Compilers; +use Illuminate\Support\Str; use InvalidArgumentException; use ReflectionClass; -use Illuminate\Support\Str; - /** * @author Spatie bvba <info@spatie.be> * @author Taylor Otwell <taylor@laravel.com> @@ -152,8 +151,8 @@ protected function componentStri...
true
Other
laravel
framework
4902c74f609b31835fcdf729f85d3f3e8254ae51.json
Apply fixes from StyleCI (#31022)
src/Illuminate/View/Compilers/Concerns/CompilesComponents.php
@@ -90,7 +90,7 @@ public function compileClassComponentClosing() '<?php $component = $__componentOriginal'.$hash.'; ?>', '<?php unset($__componentOriginal'.$hash.'); ?>', '<?php endif; ?>', - '<?php echo $__env->renderComponent(); ?>' + '<?php echo $__env->re...
true
Other
laravel
framework
4902c74f609b31835fcdf729f85d3f3e8254ae51.json
Apply fixes from StyleCI (#31022)
src/Illuminate/View/Component.php
@@ -145,5 +145,4 @@ protected function ignoredMethods() 'withAttributes', ], $this->except); } - }
true
Other
laravel
framework
4902c74f609b31835fcdf729f85d3f3e8254ae51.json
Apply fixes from StyleCI (#31022)
tests/View/Blade/BladeComponentTagCompilerTest.php
@@ -4,7 +4,6 @@ use Illuminate\View\Compilers\ComponentTagCompiler; use Illuminate\View\Component; -use InvalidArgumentException; class BladeComponentTagCompilerTest extends AbstractBladeTestCase {
true
Other
laravel
framework
a9f74f7e7f495f34418c1158d6c1ae3e80d3cd6d.json
make view from command
src/Illuminate/Foundation/Console/ComponentMakeCommand.php
@@ -3,6 +3,7 @@ namespace Illuminate\Foundation\Console; use Illuminate\Console\GeneratorCommand; +use Illuminate\Foundation\Inspiring; use Illuminate\Support\Str; use Symfony\Component\Console\Input\InputOption; @@ -29,6 +30,47 @@ class ComponentMakeCommand extends GeneratorCommand */ protected $typ...
false
Other
laravel
framework
1639f12de6dcea56681ea4fbcf4e72820f345a78.json
add component tests
tests/View/ViewComponentTest.php
@@ -0,0 +1,25 @@ +<?php + +namespace Illuminate\Tests\View; + +use Illuminate\View\Component; +use PHPUnit\Framework\TestCase; + +class ViewFactoryTest extends TestCase +{ + public function testAttributeRetrieval() + { + $component = new TestViewComponent; + $component->withAttributes(['class' => 'f...
false
Other
laravel
framework
4c1bad1a5f2d41a9cc3765ecd90dd74e8cd7b150.json
change behavior of attributes method
src/Illuminate/View/Compilers/ComponentTagCompiler.php
@@ -74,7 +74,7 @@ protected function compileOpeningTags(string $value) (?<attributes> (?: \s+ - [\w\-:]+ + [\w\-:\.]+ ( = (?: @@...
true
Other
laravel
framework
4c1bad1a5f2d41a9cc3765ecd90dd74e8cd7b150.json
change behavior of attributes method
src/Illuminate/View/Component.php
@@ -94,20 +94,16 @@ public function attribute($key, $default = null) * @param array $attributes * @return string */ - public function attributes(array $attributes) + public function attributes(array $attributeDefaults = []) { - return new HtmlString(collect($attributes)->map(functi...
true
Other
laravel
framework
98936eecd8c79ff6f31afe3b4596b69a878e6f92.json
Add new line per StyleCI
src/Illuminate/Routing/RoutingServiceProvider.php
@@ -130,6 +130,7 @@ protected function registerPsrRequest() { $this->app->bind(ServerRequestInterface::class, function ($app) { $psr17Factory = new Psr17Factory; + return (new PsrHttpFactory($psr17Factory, $psr17Factory, $psr17Factory, $psr17Factory)) ->createReq...
false
Other
laravel
framework
7ff132507aa480fc53505dcee54ed341e7a35585.json
Fix use order per StyleCI
src/Illuminate/Routing/RoutingServiceProvider.php
@@ -8,10 +8,10 @@ use Illuminate\Routing\Contracts\ControllerDispatcher as ControllerDispatcherContract; use Illuminate\Support\ServiceProvider; use Nyholm\Psr7\Factory\Psr17Factory; +use Nyholm\Psr7\Response as PsrResponse; use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\ServerRequestInterface; use ...
false
Other
laravel
framework
3d432b4d3eba328ab80c9c180042385b519228c7.json
Apply fixes from StyleCI (#31014)
src/Illuminate/Foundation/Testing/Constraints/SeeInOrder.php
@@ -38,7 +38,7 @@ public function __construct($content) * @param array $values * @return bool */ - public function matches($values) : bool + public function matches($values): bool { $position = 0; @@ -67,7 +67,7 @@ public function matches($values) : bool * @param array ...
true
Other
laravel
framework
3d432b4d3eba328ab80c9c180042385b519228c7.json
Apply fixes from StyleCI (#31014)
tests/Foundation/Http/Middleware/TrimStringsTest.php
@@ -9,7 +9,7 @@ class TrimStringsTest extends TestCase { - public function testTrimStringsIgnoringExceptAttribute() : void + public function testTrimStringsIgnoringExceptAttribute(): void { $middleware = new TrimStringsWithExceptAttribute(); $symfonyRequest = new SymfonyRequest([
true
Other
laravel
framework
b09b12c07c7553afcccf43982c8bd242e8d89e8d.json
add cli command for blade components
src/Illuminate/Foundation/Console/ComponentMakeCommand.php
@@ -0,0 +1,78 @@ +<?php + +namespace Illuminate\Foundation\Console; + +use Illuminate\Console\GeneratorCommand; +use Symfony\Component\Console\Input\InputOption; + +class ComponentMakeCommand extends GeneratorCommand +{ + /** + * The console command name. + * + * @var string + */ + protected $name...
true
Other
laravel
framework
b09b12c07c7553afcccf43982c8bd242e8d89e8d.json
add cli command for blade components
src/Illuminate/Foundation/Console/stubs/view-component.stub
@@ -0,0 +1,28 @@ +<?php + +namespace DummyNamespace; + +use Illuminate\View\Component; + +class DummyClass extends Component +{ + /** + * Create a new component instance. + * + * @return void + */ + public function __construct() + { + // + } + + /** + * Get the view that repres...
true
Other
laravel
framework
b09b12c07c7553afcccf43982c8bd242e8d89e8d.json
add cli command for blade components
src/Illuminate/Foundation/Providers/ArtisanServiceProvider.php
@@ -15,6 +15,7 @@ use Illuminate\Database\Console\WipeCommand; use Illuminate\Foundation\Console\ChannelMakeCommand; use Illuminate\Foundation\Console\ClearCompiledCommand; +use Illuminate\Foundation\Console\ComponentMakeCommand; use Illuminate\Foundation\Console\ConfigCacheCommand; use Illuminate\Foundation\Conso...
true
Other
laravel
framework
7fc934449119483ae62263cc5cbd0900360812eb.json
add method to register multiple components'
src/Illuminate/View/Compilers/BladeCompiler.php
@@ -485,11 +485,13 @@ public function check($name, ...$parameters) * Register a class-based component alias directive. * * @param string $class - * @param string $alias + * @param string|null $alias * @return void */ - public function component($class, $alias) + public ...
false
Other
laravel
framework
7d9c4feec50429dd3151065dbfdd45317805681d.json
use single line
src/Illuminate/View/Compilers/BladeCompiler.php
@@ -119,9 +119,7 @@ public function compile($path = null) } if (! is_null($this->cachePath)) { - $contents = $this->compileString( - $this->files->get($this->getPath()) - ); + $contents = $this->compileString($this->files->get($this->getPath())); ...
false
Other
laravel
framework
2d09053c86e4fd4f3718115dff263c26fb730aa0.json
Apply fixes from StyleCI (#31003)
src/Illuminate/Database/Eloquent/Builder.php
@@ -1398,17 +1398,17 @@ public static function __callStatic($method, $parameters) */ protected static function registerMixin($mixin, $replace) { - $methods = (new ReflectionClass($mixin))->getMethods( + $methods = (new ReflectionClass($mixin))->getMethods( ReflectionMe...
false
Other
laravel
framework
cd2a15005648d7ae15b2a457a6a71106bd4cc95f.json
Apply fixes from StyleCI (#30988)
src/Illuminate/Foundation/Testing/Assert.php
@@ -25,15 +25,15 @@ abstract class Assert extends PHPUnit */ public static function assertArraySubset($subset, $array, bool $checkForIdentity = false, string $msg = ''): void { - if (!(is_array($subset) || $subset instanceof ArrayAccess)) { + if (! (is_array($subset) || $subset instanceof ...
true
Other
laravel
framework
cd2a15005648d7ae15b2a457a6a71106bd4cc95f.json
Apply fixes from StyleCI (#30988)
src/Illuminate/Foundation/Testing/Constraints/ArraySubset.php
@@ -74,7 +74,7 @@ public function evaluate($other, string $description = '', bool $returnResult = return $result; } - if (!$result) { + if (! $result) { $f = new ComparisonFailure( $patched, $other, @@ -209,...
true
Other
laravel
framework
a1f2ef4b46347a5d35d7395997453cdcd0a1c62d.json
Apply fixes from StyleCI (#30981)
src/Illuminate/Mail/Markdown.php
@@ -8,7 +8,6 @@ use League\CommonMark\CommonMarkConverter; use League\CommonMark\Environment; use League\CommonMark\Ext\Table\TableExtension; -use Parsedown; use TijsVerkoyen\CssToInlineStyles\CssToInlineStyles; class Markdown
false
Other
laravel
framework
83dfd84b3868a8eec375fb7550508b5b1b68ded3.json
use common mark for safety features
composer.json
@@ -23,6 +23,8 @@ "dragonmantank/cron-expression": "^2.0", "egulias/email-validator": "^2.1.10", "erusev/parsedown": "^1.7", + "league/commonmark": "^1.1", + "league/commonmark-ext-table": "^2.1", "league/flysystem": "^1.0.8", "monolog/monolog": "^1.12|^2.0", ...
true
Other
laravel
framework
83dfd84b3868a8eec375fb7550508b5b1b68ded3.json
use common mark for safety features
src/Illuminate/Mail/Markdown.php
@@ -5,6 +5,9 @@ use Illuminate\Contracts\View\Factory as ViewFactory; use Illuminate\Support\HtmlString; use Illuminate\Support\Str; +use League\CommonMark\CommonMarkConverter; +use League\CommonMark\Environment; +use League\CommonMark\Ext\Table\TableExtension; use Parsedown; use TijsVerkoyen\CssToInlineStyles\Css...
true
Other
laravel
framework
7cb1ff67b7cba591394760e6743710abe8959377.json
Add mixin support to Eloquent Builder
src/Illuminate/Database/Eloquent/Builder.php
@@ -13,6 +13,8 @@ use Illuminate\Support\Arr; use Illuminate\Support\Str; use Illuminate\Support\Traits\ForwardsCalls; +use ReflectionClass; +use ReflectionMethod; /** * @property-read HigherOrderBuilderProxy $orWhere @@ -1372,6 +1374,24 @@ public static function __callStatic($method, $parameters) ...
false
Other
laravel
framework
66eb5d01609f1021baed99a3f5d9d16bec6dcfcb.json
Add phpdoc hints for Request class (#30975)
src/Illuminate/Http/Request.php
@@ -12,6 +12,11 @@ use Symfony\Component\HttpFoundation\ParameterBag; use Symfony\Component\HttpFoundation\Request as SymfonyRequest; +/** + * @method array validate(array $rules, ...$params) + * @method array validateWithBag(array $rules, ...$params) + * @method string hasValidSignature(\Illuminate\Http\Request $r...
false
Other
laravel
framework
ba39f805f506a8fddbe36e957849de623e73fafb.json
Apply fixes from StyleCI (#30955)
src/Illuminate/Validation/Concerns/ValidatesAttributes.php
@@ -442,7 +442,7 @@ public function validateDifferent($attribute, $value, $parameters) foreach ($parameters as $parameter) { if (Arr::has($this->data, $parameter)) { $other = Arr::get($this->data, $parameter); - + if ($value === $other) { ...
false
Other
laravel
framework
e1b8fef59f436902c34f235841303fce055dddab.json
get view data via array access
src/Illuminate/Foundation/Testing/TestResponse.php
@@ -916,13 +916,23 @@ public function assertViewMissing($key) */ protected function ensureResponseHasView() { - if (! isset($this->original) || ! $this->original instanceof View) { + if (! $this->responseHasView()) { return PHPUnit::fail('The response is not a view.'); ...
false
Other
laravel
framework
fdeb204e1cd3374a71d669fd2ff08323d88c1eef.json
Add new validateWithBag macro to Request (#30896)
src/Illuminate/Foundation/Providers/FoundationServiceProvider.php
@@ -5,6 +5,7 @@ use Illuminate\Http\Request; use Illuminate\Support\AggregateServiceProvider; use Illuminate\Support\Facades\URL; +use Illuminate\Validation\ValidationException; class FoundationServiceProvider extends AggregateServiceProvider { @@ -54,6 +55,16 @@ public function registerRequestValidation() ...
true
Other
laravel
framework
fdeb204e1cd3374a71d669fd2ff08323d88c1eef.json
Add new validateWithBag macro to Request (#30896)
tests/Integration/Validation/RequestValidationTest.php
@@ -28,4 +28,24 @@ public function testValidateMacroWhenItFails() $request->validate(['name' => 'string']); } + + public function testValidateWithBagMacro() + { + $request = Request::create('/', 'GET', ['name' => 'Taylor']); + + $validated = $request->validateWithBag('some_bag', ['na...
true
Other
laravel
framework
0dd1a50f041f227e21c42f0bd92f91af9121eab8.json
add missing docblocks (#30898)
src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php
@@ -102,6 +102,8 @@ protected function decodePusherResponse($request, $response) * @param string $event * @param array $payload * @return void + * + * @throws \Illuminate\Broadcasting\BroadcastException */ public function broadcast(array $channels, $event, array $payload = []) ...
true