conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Fix for Firefox JS/DOM error.\n"
},
{
"from": "human",
"value": "<fieldset <?php if (!empty($attr)) print drupal_attributes($attr) ?>>\n <?php if (!empty($title)): ?>\n <legend><h2 class='<?php print $hook ?>-title'><?php print $title ?></h2></legend>\n <?php e... | php | chosen |
[
{
"from": "system",
"value": "Move that block to see if that is what is causing the issue\n"
},
{
"from": "human",
"value": "<h3>Change Access</h3>\n<form class=\"form-horizontal\">\n\n <!-- Select Basic -->\n <div class=\"form-group\">\n <label class=\"col-md-8 control-label\" for=\"access... | php | chosen |
[
{
"from": "system",
"value": "Use inline-routing to kick off controller\n"
},
{
"from": "human",
"value": "<?php\n\n$namespace = 'site';\nrequire_once __DIR__ . '/../index.php';\n\n// route\n$container['console']->logMemory(null, 'Bootstrapping is done');\nLoader::loadInstance('router', 'Router'... | php | chosen |
[
{
"from": "system",
"value": "Add tests to verify the Captcha request\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace Anam\\Captcha\\Tests;\n\nuse Anam\\Captcha\\Captcha;\nuse Illuminate\\Http\\Request;\n\nclass CaptchaTest extends TestCase\n{\n /**\n * @expectedException \\Anam\\Ca... | php | chosen |
[
{
"from": "system",
"value": "Simplify test for controller_map key within $config['view_manager'].\n"
},
{
"from": "human",
"value": "<?php\n/**\n * Zend Framework (http://framework.zend.com/)\n *\n * @link http://github.com/zendframework/zf2 for the canonical source repository\n * @copyrig... | php | chosen |
[
{
"from": "system",
"value": "Use handler Users/external/response/data to get users wallet address to use it in setSeriesInfo method as author.\n"
},
{
"from": "human",
"value": "<?php\nfunction Assets_NFTseries_response_newItem ($params) {\n\t$req = array_merge($_REQUEST, $params);\n\t$stream =... | php | chosen |
[
{
"from": "system",
"value": "Add default value to intro\n"
},
{
"from": "human",
"value": "<?php\n\nuse Illuminate\\Support\\Facades\\Schema;\nuse Illuminate\\Database\\Schema\\Blueprint;\nuse Illuminate\\Database\\Migrations\\Migration;\n\nclass AddProfileToUsersTable extends Migration\n{\n ... | php | chosen |
[
{
"from": "system",
"value": "Add response for OPTIONS requests.\n"
},
{
"from": "human",
"value": "<?php\n\n$app->get('users/login', ['as' => 'users.login', 'uses' => 'UserController@login']);\nresource('users', 'UserController');\nresource('devices', 'DeviceController');\nresource('templates',... | php | chosen |
[
{
"from": "system",
"value": "Define Timezone for Call Flow"
},
{
"from": "human",
"value": "<?php\n\n/* Access db of homer */\ndefine(HOST, \"localhost\");\ndefine(USER, \"root\");\ndefine(PW, \"root\");\ndefine(DB, \"homer_users\");\n\n/* Homer connection \n* this user must have the same pass... | php | chosen |
[
{
"from": "system",
"value": "Fix link to font in layout view\n"
},
{
"from": "human",
"value": "<!DOCTYPE html>\n<html>\n <head>\n <title>Budget</title>\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />\n <link rel=\"stylesheet\" href=\"https:/... | php | chosen |
[
{
"from": "system",
"value": "Disable cache on contact page to avoid CSRF issues\n"
},
{
"from": "human",
"value": "<?php\n\nrequire_once(dm::getDir().'/dmFrontPlugin/lib/config/dmFrontApplicationConfiguration.php');\n\nclass frontConfiguration extends dmFrontApplicationConfiguration\n{\n\n pub... | php | chosen |
[
{
"from": "system",
"value": "Improve hover text for milestone status display\n"
},
{
"from": "human",
"value": "<?php if ($milestone instanceof TBGMilestone): ?>\n <span class=\"milestonename\"><?php echo $milestone->getName(); ?></span>\n <div class=\"statusblocks\">\n <?php foreach (... | php | chosen |
[
{
"from": "system",
"value": "Clean up type info interfaces\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace Maghead\\TableParser;\n\nclass TypeInfo\n{\n public $type;\n\n public $length;\n\n public $precision;\n\n public $isa;\n\n public $fullQualifiedTypeName;\n\n public... | php | chosen |
[
{
"from": "system",
"value": "Change log priority to 'debug' when no items are available in a queue\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace Phive\\TaskQueue;\n\nuse Phive\\Queue\\Exception\\ExceptionInterface;\n\nabstract class AbstractExecutor\n{\n protected $context;\n\n pu... | php | chosen |
[
{
"from": "system",
"value": "Add ID of scheduled maintenance to list group item\n\nThis allows us to use a static URL to a scheduled maintenance.\n"
},
{
"from": "human",
"value": "<div class=\"timeline schedule\">\n <div class=\"panel panel-default\">\n <div class=\"panel-heading\">\... | php | chosen |
[
{
"from": "system",
"value": "Add cancel button to note\n"
},
{
"from": "human",
"value": "<div class='note-form-wrapper'>\n <textarea class=\"flight-note\" name=\"flight[flight_note]\"><?php echo $flight->getFlightNote() ? $flight->getFlightNote() : '' ?></textarea>\n <button type=\"submi... | php | chosen |
[
{
"from": "system",
"value": "Allow to use own Repositories like UserRepository\n"
},
{
"from": "human",
"value": "<?php\n/**\n * @author: Patsura Dmitry http://github.com/ovr <talk@dmtry.me>\n */\n\nnamespace Lynx;\n\nuse Doctrine\\DBAL\\Connection;\n\nclass EntityManager\n{\n /**\n * @v... | php | chosen |
[
{
"from": "system",
"value": "Throw an exception when extends tag is not in the main scope.\n"
},
{
"from": "human",
"value": "<?php\n\n/**\n * This file is part of the Minty templating library.\n * (c) Dániel Buga <daniel@bugadani.hu>\n *\n * For licensing information see the LICENSE file.\n */... | php | chosen |
[
{
"from": "system",
"value": "Fix incorrect member visibility on event\n"
},
{
"from": "human",
"value": "<?php namespace Flarum\\Events;\n\nuse Flarum\\Api\\Actions\\SerializeAction;\n\nclass BuildApiAction\n{\n protected $action;\n\n /**\n * @param SerializeAction $action\n */\n ... | php | chosen |
[
{
"from": "system",
"value": "Rename method and param to better describe what is happening"
},
{
"from": "human",
"value": "<?php\n\nnamespace Lily\\Test\\Usage;\n\nuse Symfony\\Component\\DomCrawler\\Crawler;\n\nuse Lily\\Application\\MiddlewareApplication;\nuse Lily\\Application\\RoutedApplica... | php | chosen |
[
{
"from": "system",
"value": "Enable translations for Contact fields\n\nCloses #387\n"
},
{
"from": "human",
"value": "<?php\n/**\n * Configuration\n *\n */\nConfigure::write('Translate.models', array(\n\t'Node' => array(\n\t\t'fields' => array(\n\t\t\t'title' => 'titleTranslation',\n\t\t\t'exce... | php | chosen |
[
{
"from": "system",
"value": "Add query path capabilities to /itemsource\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace Friendica\\Module;\n\nuse Friendica\\Core\\L10n;\nuse Friendica\\Core\\Renderer;\nuse Friendica\\Model;\n\n/**\n * @author Hypolite Petovan <mrpetovan@gmail.com>\n */\nc... | php | chosen |
[
{
"from": "system",
"value": "Make sure blackhole implmenents its interface\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace Happyr\\TranslationBundle\\Service;\n\nuse Happyr\\TranslationBundle\\Model\\Message;\n\nclass Blackhole implements TranslationServiceInterface\n{\n /**\n * @i... | php | chosen |
[
{
"from": "system",
"value": "Add protected $log access to logger\n\nAllows to: Avoid using static access to class '\\Log' in method '...'\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace App\\Http\\Controllers;\n\nuse Illuminate\\Routing\\Controller as BaseController;\nuse Illuminate\\Foun... | php | chosen |
[
{
"from": "system",
"value": "Clear current bit in reader while read string field\nJust for avoiding unwonted behaviour when read part of byte then string and again part of byte\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace Zerg\\Field;\n\nuse Zerg\\Stream\\AbstractStream;\n\n/**\n * Str... | php | chosen |
[
{
"from": "system",
"value": "Revert \"Java.inc now included from a cache so that it is debuggable\"\n\nThis reverts commit ad4c67b356187883ba050056aab430a4f83cd14c.\n"
},
{
"from": "human",
"value": "<?php\n\n/*\n * This file is part of the Eulogix\\Lib package.\n *\n * (c) Eulogix <http://www.... | php | chosen |
[
{
"from": "system",
"value": "Change to LF end of line\n"
},
{
"from": "human",
"value": "<?php\nnamespace pshopws;\n\n/**\n * @author Marcos Redondo <kusflo at gmail.com>\n */\nclass ServiceSimpleXmlToArray\n{\n public static function take($xmlObject)\n {\n $service = new self($xml... | php | chosen |
[
{
"from": "system",
"value": "Allow grammer classes to be overridden via config"
},
{
"from": "human",
"value": "<?php namespace TCK\\Odbc;\n\nuse Illuminate\\Database\\Connection;\n\nclass ODBCConnection extends Connection {\n\n\t/**\n\t * Get the default query grammar instance.\n\t *\n\t * @re... | php | chosen |
[
{
"from": "system",
"value": "Add construct and portId to Interface\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace IPay;\n\ninterface IPayInterface\n{\n /**\n * This method use for set price in Rial.\n *\n * @param int $amount in Rial\n *\n * @return $this\n */\... | php | chosen |
[
{
"from": "system",
"value": "Add empty args for select to prevent notice\n"
},
{
"from": "human",
"value": "<?php\nnamespace elasticsearch;\n\n$sections['integration'] = array(\n\t'icon' => NHP_OPTIONS_URL.'img/glyphicons/glyphicons_083_random.png',\n\t'title' => 'Wordpress Integration',\n\t'fi... | php | chosen |
[
{
"from": "system",
"value": "Fix placeholders on storage location paths\n\n\nFormer-commit-id: a30af224940900603ce5c648b6dddfb77bddf278\nFormer-commit-id: 3ef7882fdd778d09c921eb931582610c87c5d06d"
},
{
"from": "human",
"value": "<?php\ndefined('C5_EXECUTE') or die('Access Denied');\nif (is_obje... | php | chosen |
[
{
"from": "system",
"value": "[Maintenance] Adjust variable names to interfaces\n"
},
{
"from": "human",
"value": "<?php\n\n/*\n * This file is part of the Sylius package.\n *\n * (c) Paweł Jędrzejewski\n *\n * For the full copyright and license information, please view the LICENSE\n * file that... | php | chosen |
[
{
"from": "system",
"value": "Mark set() test as incomplete"
},
{
"from": "human",
"value": "<?php\n\nuse Dash\\_;\n\nclass setTest extends PHPUnit_Framework_TestCase\n{\n\t/**\n\t * @dataProvider cases\n\t */\n\tpublic function test($input, $field, $value, $expected)\n\t{\n\t\t$this->assertEqua... | php | chosen |
[
{
"from": "system",
"value": "Add script, style, meta and link filters.\n"
},
{
"from": "human",
"value": "<?php\n/**\n * @version $Id$\n * @package Nooku_Server\n * @subpackage Articles\n * @copyright Copyright (C) 2011 - 2012 Timble CVBA and Contributors. (http://www.timble.net).\n ... | php | chosen |
[
{
"from": "system",
"value": "Set getLevel() public, fix type-casting bug."
},
{
"from": "human",
"value": "<?php\n\nnamespace MinePlus\\VoterBundle;\n\nclass VoteDispatcher\n{\n \n protected $voters;\n \n public function hasVoters()\n {\n // An empty array cast's into fals... | php | chosen |
[
{
"from": "system",
"value": "Add test for numeric strings\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace League\\JsonGuard\\Test\\Constraint;\n\nuse League\\JsonGuard\\Constraint\\DraftFour\\Type;\nuse League\\JsonGuard\\ValidationError;\nuse League\\JsonGuard\\Validator;\n\nclass TypeTe... | php | chosen |
[
{
"from": "system",
"value": "Fix ini_set('error_log', ...) with HHVM\n\nhttps://github.com/facebook/hhvm/issues/3558"
},
{
"from": "human",
"value": "<?php\n\n/**\n *\n * This file is part of the Apix Project.\n *\n * (c) Franck Cassedanne <franck at ouarz.net>\n *\n * @license http://opens... | php | chosen |
[
{
"from": "system",
"value": "Replace short array syntax to compatible with PHP 5.3\n"
},
{
"from": "human",
"value": "<?php\n\nclass BodyTest extends PHPUnit_Framework_TestCase\n{\n /**\n * @var \\HieuLe\\BodyClasses\\Body\n */\n private $_obj;\n\n public function setUp()\n ... | php | chosen |
[
{
"from": "system",
"value": "FIX: Test for SiteMap class and sitemap links (was menu)\n"
},
{
"from": "human",
"value": "<?php\n\nclass SiteMapTest extends FunctionalTest\n{\n protected static $fixture_file = 'SiteMapTest.yml';\n\n public function testSiteMap()\n {\n $this->logI... | php | chosen |
[
{
"from": "system",
"value": "Update require_once to use PATH_THIRD, even though it's way more verbose that way.\n"
},
{
"from": "human",
"value": "<?php\n\n/**\n * Mock CreateSend 'general' class.\n *\n * @author\t\t\t: Stephen Lewis <addons@experienceinternet.co.uk>\n * @copyright\t\t: Experie... | php | chosen |
[
{
"from": "system",
"value": "Add missing parameter in PhpDoc\n"
},
{
"from": "human",
"value": "<?php\n\ndeclare(strict_types=1);\n\nnamespace InvertColor\\Exceptions;\n\nuse UnexpectedValueException;\n\nclass InvalidRGBException extends UnexpectedValueException implements ColorException\n{\n ... | php | chosen |
[
{
"from": "system",
"value": "Fix displaying of category description.\n"
},
{
"from": "human",
"value": "@extends('layouts.master')\n\n@section('body', '')\n\n@push('styles')\n@endpush\n\n@section('title')\n {{ $category->title }} | @parent\n@stop\n\n@section('keywords', $category->param('met... | php | chosen |
[
{
"from": "system",
"value": "Allow PHP 8.2 in CheckSystemEnvironment\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace wcf\\http\\middleware;\n\nuse Psr\\Http\\Message\\ResponseInterface;\nuse Psr\\Http\\Message\\ServerRequestInterface;\nuse Psr\\Http\\Server\\MiddlewareInterface;\nuse Psr\... | php | chosen |
[
{
"from": "system",
"value": "Fix redirection to home on invalid token\n"
},
{
"from": "human",
"value": "<?php namespace Watson\\Autologin;\n\nuse Auth, Redirect;\nuse Illuminate\\Routing\\Controller;\nuse Watson\\Autologin\\Interfaces\\AuthenticationInterface;\nuse Watson\\Autologin\\Interface... | php | chosen |
[
{
"from": "system",
"value": "Fix undefined index notice bug\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace JoeTannenbaum\\PHPushbullet;\n\nclass Device {\n\n\t/**\n\t * The fields that we want to retrieve for the device\n\t *\n\t * @var array $fields\n\t */\n\n\tprotected $fields = [\n\t... | php | chosen |
[
{
"from": "system",
"value": "Fix dequeuing of default gutenberg block styles\n"
},
{
"from": "human",
"value": "<?php\n\nadd_action('enqueue_block_assets', function () {\n // Dequeue default block styles. Must be included in the asset build.\n wp_dequeue_style('wp-core-blocks');\n});\n"
... | php | chosen |
[
{
"from": "system",
"value": "Check that the company is valid in select ajax\n"
},
{
"from": "human",
"value": "<!-- Company -->\n<div id=\"{{ $fieldname }}\" class=\"form-group{{ $errors->has($fieldname) ? ' has-error' : '' }}\">\n {{ Form::label($fieldname, $translated_name, array('class' =... | php | chosen |
[
{
"from": "system",
"value": "Update Nooku Framework, using the row object to get params data\n"
},
{
"from": "human",
"value": "<?php\n/**\n * Belgian Police Web Platform - Districts Component\n *\n * @copyright\tCopyright (C) 2012 - 2013 Timble CVBA. (http://www.timble.net)\n * @license\t\tGNU... | php | chosen |
[
{
"from": "system",
"value": "Add font family in finals HTML documents\n"
},
{
"from": "human",
"value": "<?php\nrequire_once 'MdCompile.php';\ndefine ('ACTION', $_POST['_action']);\nswitch (ACTION) {\n\tcase 'get':\n\t\techo json_encode(\n\t\t\tarray (\n\t\t\t\t'markdown' => file_get_contents('... | php | chosen |
[
{
"from": "system",
"value": "Fix crash when post's user has been deleted\n"
},
{
"from": "human",
"value": "<?php\n$discussion = $document->data;\n$postsCount = count($discussion->relationships->posts->data);\n?>\n<div class=\"container\">\n <h2>{{ $discussion->attributes->title }}</h2>\n\n ... | php | chosen |
[
{
"from": "system",
"value": "Migrate script now also updates CropTemplate\n"
},
{
"from": "human",
"value": "<?php\nclass Garp_Cli_Command_Models extends Garp_Cli_Command {\n\n\t/**\n \t * Garp models have moved from the G_Model namespace to the Garp_Model_Db_ namespace.\n \t * This command mig... | php | chosen |
[
{
"from": "system",
"value": "Apply a default timer name\n"
},
{
"from": "human",
"value": "<?php\n namespace SamBenne\\Execute;\n\n /**\n * Class Timer\n * @package Execute\n */\n class Timer\n {\n /**\n * @var \\SamBenne\\Execute\\Timer|null\n */\... | php | chosen |
[
{
"from": "system",
"value": "Clear reauthentication in ACP logout\n\nThis will kill access to the ACP without invalidating the frontend session. By\nredirecting to the frontend the user can easily perform a full logout.\n"
},
{
"from": "human",
"value": "<?php\nnamespace wcf\\acp\\action;\nuse ... | php | chosen |
[
{
"from": "system",
"value": "Remove closing PHP tag at end of file"
},
{
"from": "human",
"value": "<?php\n\tpuff_hook('post-content');\n\tpuff_hook('sidebar');\n\tpuff_hook('footer');\n?>\n</body>\n</html><?php puff_hook('endload'); ?>\n"
},
{
"from": "gpt",
"value": "<?php\n\tpuff... | php | chosen |
[
{
"from": "system",
"value": "Test de la sous génération\n"
},
{
"from": "human",
"value": "<?php\n\nrequire_once(dirname(__FILE__).'/../bootstrap/common.php');\nsfContext::createInstance($configuration);\n\n$t = new lime_test(0);\n\n$t->comment(\"Création d'une génération\");\n"
},
{
"f... | php | chosen |
[
{
"from": "system",
"value": "Add PR merge hook handling.\n"
},
{
"from": "human",
"value": "<?php namespace App\\Http\\Controllers;\n\nuse App\\Jobs\\UpdateLiveCopy;\nuse App\\Jobs\\UpdateVersionHashes;\nuse Illuminate\\Foundation\\Bus\\DispatchesJobs;\nuse Illuminate\\Foundation\\Inspiring;\nu... | php | chosen |
[
{
"from": "system",
"value": "Add logging whenever someone triggers the IP blacklist\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace App\\Http\\Middleware;\n\nuse Closure;\nuse App\\IpBlacklist;\n\nclass IPBasedBlacklist\n{\n /**\n * Handle an incoming request.\n *\n * @para... | php | chosen |
[
{
"from": "system",
"value": "Test if endpoint production is valid\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace Moip\\Tests;\n\nuse Moip\\Tests\\MoipTestCase;\n\n/**\n* class MoipTest\n*/\nclass MoipTest extends MoipTestCase\n{\n\t\n}"
},
{
"from": "gpt",
"value": "<?php\n\n... | php | chosen |
[
{
"from": "system",
"value": "Remove tag completed for now\n"
},
{
"from": "human",
"value": "<?php if ($manga->completed === '1'): ?>\n <span class=\"tag black\">completed</span>\n<?php endif; ?>\n<?php if ((int)$manga->rankings < 100 && $manga->rankings != '0'): ?>\n <span class=\"tag re... | php | chosen |
[
{
"from": "system",
"value": "Simplify back down to simply getting a single random element.\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace mcordingley\\Regression\\Algorithm\\GradientDescent;\n\nuse mcordingley\\Regression\\Observation;\nuse mcordingley\\Regression\\Observations;\n\nfinal... | php | chosen |
[
{
"from": "system",
"value": "Change default naming strating to use fixture name with underscore\n"
},
{
"from": "human",
"value": "<?php\n\n/*\n * This file is part of the FixtureDumper library.\n *\n * (c) Martin Parsiegla <martin.parsiegla@gmail.com>\n *\n * For the full copyright and license... | php | chosen |
[
{
"from": "system",
"value": "Use WebserviceTestCase as parent for details organism test\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace Tests\\AppBundle\\API\\Details;\n\nuse Symfony\\Bundle\\FrameworkBundle\\Test\\WebTestCase;\nuse Symfony\\Component\\HttpFoundation\\ParameterBag;\n\ncla... | php | chosen |
[
{
"from": "system",
"value": "Update traits overview test and add counts of numerical traits\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace Tests\\AppBundle\\API\\Listing;\n\nuse AppBundle\\User\\FennecUser;\nuse Symfony\\Component\\HttpFoundation\\ParameterBag;\nuse Tests\\AppBundle\\API... | php | chosen |
[
{
"from": "system",
"value": "Read the https env var as well\n"
},
{
"from": "human",
"value": "<?php\n\nuse Symfony\\Component\\HttpFoundation\\Request;\nuse Symfony\\Component\\HttpFoundation\\Response;\nuse Symfony\\Component\\HttpFoundation\\RedirectResponse;\n\nif (!isset($env) || $env !== ... | php | chosen |
[
{
"from": "system",
"value": "Add ttr to product interface\n"
},
{
"from": "human",
"value": "<?php\n/**\n * This file is part of PMG\\Queue\n *\n * Copyright (c) 2013 PMG Worldwide\n *\n * @package PMGQueue\n * @copyright 2013 PMG Worldwide\n * @license http://opensource.org/licenses/... | php | chosen |
[
{
"from": "system",
"value": "BAP-4343: Refactor Contact AddOrReplace strategy to support new strategy logic\n- remove excess implementation\n- refactor contact normalizer\n- update social url formatter\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace Oro\\Bundle\\ImportExportBundle\\Tests\... | php | chosen |
[
{
"from": "system",
"value": "Fix job retry bug with attempts.\n"
},
{
"from": "human",
"value": "<?php namespace Illuminate\\Queue\\Console;\n\nuse Illuminate\\Console\\Command;\nuse Symfony\\Component\\Console\\Input\\InputArgument;\n\nclass RetryCommand extends Command {\n\n\t/**\n\t * The co... | php | chosen |
[
{
"from": "system",
"value": "Store node name for workflow\n"
},
{
"from": "human",
"value": "<?php\n/*\n * This file is part of prooph/link.\n * (c) 2014-2015 prooph software GmbH <contact@prooph.de>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that w... | php | chosen |
[
{
"from": "system",
"value": "Move $locale closer to usage"
},
{
"from": "human",
"value": "<?php\n\nnamespace App\\Handlers\\Events;\n\nuse Illuminate\\Queue\\InteractsWithQueue;\nuse Illuminate\\Contracts\\Queue\\ShouldQueue;\nuse App\\Events\\NewBooking;\nuse Notifynder;\nuse Log;\nuse Mail;\... | php | chosen |
[
{
"from": "system",
"value": "Remove updating the schema when it already exists\n\nIn some cases (I can't really pinpoint it) it removed all the tables except for those we tried to install\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace Common\\Doctrine\\Entity;\n\nuse Doctrine\\DBAL\\Exce... | php | chosen |
[
{
"from": "system",
"value": "Load new commands from service provider\n"
},
{
"from": "human",
"value": "<?php\nnamespace Imtigger\\LaravelCRUD;\n\nuse Illuminate\\Support\\ServiceProvider;\n\nclass LaravelCRUDGeneratorServiceProvider extends ServiceProvider\n{\n /**\n * Register the serv... | php | chosen |
[
{
"from": "system",
"value": "Clean up middleware aware code docs\n"
},
{
"from": "human",
"value": "<?php declare(strict_types=1);\n\nnamespace League\\Route\\Middleware;\n\nuse Psr\\Http\\Server\\MiddlewareInterface;\n\ninterface MiddlewareAwareInterface\n{\n /**\n * Add a middleware to... | php | chosen |
[
{
"from": "system",
"value": "Add ability to get response message from exception\n"
},
{
"from": "human",
"value": "<?php\nclass Json_Api_Wp_Exception extends Exception {\n public $response, $headers;\n\n public function __construct ( $response ) {\n $this->response = $response[\"re... | php | chosen |
[
{
"from": "system",
"value": ":bug: Fix bug on CanBuildBaseString trait test.\n"
},
{
"from": "human",
"value": "<?php\n\nuse PHPUnit\\Framework\\TestCase;\nuse Risan\\OAuth1\\Signature\\CanBuildBaseString;\nuse Risan\\OAuth1\\Signature\\BaseStringBuilderInterface;\n\nclass CanBuildBaseStringTes... | php | chosen |
[
{
"from": "system",
"value": "Fix router service provider registration\n\n\nFormer-commit-id: 6a27337fce9a24fa084ae85af3e0503a74ac7652\nFormer-commit-id: d4243ae568bd0efb622f5b0bc3ed196ecbe769ce"
},
{
"from": "human",
"value": "<?php\nnamespace Concrete\\Core\\Routing;\n\nuse Concrete\\Core\\Fou... | php | chosen |
[
{
"from": "system",
"value": "Fix queue not found error"
},
{
"from": "human",
"value": "<?php\n\nnamespace Dusterio\\PlainSqs\\Integrations;\n\nuse Dusterio\\PlainSqs\\Sqs\\Connector;\nuse Illuminate\\Support\\ServiceProvider;\nuse Illuminate\\Support\\Facades\\Queue;\nuse Illuminate\\Queue\\Ev... | php | chosen |
[
{
"from": "system",
"value": "FIX Remove automatically scaffolded GridField for Site Tree Content Review in Member fields\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace SilverStripe\\ContentReview\\Extensions;\n\nuse SilverStripe\\CMS\\Model\\SiteTree;\nuse SilverStripe\\ORM\\DataExtensio... | php | chosen |
[
{
"from": "system",
"value": "Allow Context subclasses in acceptance tests to access parent actor\n\nAlthough uncommon, in some cases a Context may need to be extended (for\nexample, to override a step defined in the server with a specific\nbehaviour in the acceptance tests of an app); in those cases the\ns... | php | chosen |
[
{
"from": "system",
"value": "Enable strict types in security config interface.\n"
},
{
"from": "human",
"value": "<?php\n/**\n * @author Igor Nikolaev <igor.sv.n@gmail.com>\n * @copyright Copyright (c) 2015, Darvin Studio\n * @link https://www.darvin-studio.ru\n *\n * For the full copyr... | php | chosen |
[
{
"from": "system",
"value": "Test command's output using php://memory.\n"
},
{
"from": "human",
"value": "<?php namespace Adviser\\Commands;\n\nclass GiveAdviceCommandTest extends \\PHPUnit_Framework_TestCase {\n\n /** @test */ function it_has_proper_name_and_description() {\n $comman... | php | chosen |
[
{
"from": "system",
"value": "Make testcase work like expected\n"
},
{
"from": "human",
"value": "<?php\n/**\n * This file is part of phpDocumentor.\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n *\n * @co... | php | chosen |
[
{
"from": "system",
"value": "Move renweal reminders after releases\n"
},
{
"from": "human",
"value": "<?php\n/**\n * Load the admin tabs code.\n *\n * @author Iron Bound Designs\n * @since 1.0\n */\n\nnamespace ITELIC\\Admin\\Tab;\n\nuse ITELIC\\Admin\\Tab\\Controller\\Licenses;\nuse ITELIC\\A... | php | chosen |
[
{
"from": "system",
"value": "Revert to previous way of calculating load avg %\n"
},
{
"from": "human",
"value": "<?php\n function seconds_to_time($seconds) {\n $dtF = new DateTime(\"@0\");\n $dtT = new DateTime(\"@$seconds\");\n return $dtF->diff($dtT)->format('%ad %hh %im');\n ... | php | chosen |
[
{
"from": "system",
"value": "Add Doctrine and EM access methods\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace Knp\\RadBundle\\Controller;\n\nuse Symfony\\Bundle\\FrameworkBundle\\Controller\\Controller as BaseController;\nuse Symfony\\Component\\Security\\Core\\Exception\\AccessDeniedEx... | php | chosen |
[
{
"from": "system",
"value": "Fix trl controller fuer directories\n"
},
{
"from": "human",
"value": "<?php\nclass Vpc_Directories_Item_Directory_Trl_Controller extends Vps_Controller_Action_Auto_Vpc_Grid\n{\n protected $_buttons = array(\n 'save',\n 'reload',\n );\n\n prot... | php | chosen |
[
{
"from": "system",
"value": "feat(shopimage): Create relationship for shopimages table\n\nCreate relationship for shopimages table\n\nsee #135\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace App;\n\nuse Illuminate\\Database\\Eloquent\\Model;\n\nclass ShopImage extends Model\n{\n //\n}\... | php | chosen |
[
{
"from": "system",
"value": "Add `set` and `has` methods.\n"
},
{
"from": "human",
"value": "<?php namespace Limoncello\\Contracts\\Http;\n\n/**\n * Copyright 2015-2017 info@neomerx.com\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file excep... | php | chosen |
[
{
"from": "system",
"value": "Add preventDefault call to final setup page\n"
},
{
"from": "human",
"value": "<?php\n?>\n\n<form action=\"#\" role=\"form\" id=\"finishSettingsForm\">\n <h3 class=\"form-title\">Setup Complete!</h3>\n <span id=\"helpBlock\" class=\"help-block help-message\"><... | php | chosen |
[
{
"from": "system",
"value": "Allow non-admins to reset their password\n\nThe EditUser command requires the actor to have the \"edit\" permission,\nwhich is only granted to admins. We don't want to allow users to change\ntheir own password via the API, though. So instead of dispatching the\ncommand, we'll j... | php | chosen |
[
{
"from": "system",
"value": "Split customer registration form and create generic customer guest form type\n"
},
{
"from": "human",
"value": "<?php\n\n/*\n * This file is part of the Sylius package.\n *\n * (c) Paweł Jędrzejewski\n *\n * For the full copyright and license information, please vie... | php | chosen |
[
{
"from": "system",
"value": "Fix Laravel Scheduled Task monitoring\n"
},
{
"from": "human",
"value": "<?php\n\n/*\n * This file is part of the Blackfire SDK package.\n *\n * (c) Blackfire <support@blackfire.io>\n *\n * For the full copyright and license information, please view the LICENSE\n * ... | php | chosen |
[
{
"from": "system",
"value": "BAP-9940: Create controller DELETE list action\n\nFix cs"
},
{
"from": "human",
"value": "<?php\n\nnamespace Oro\\Bundle\\ApiBundle\\Processor;\n\nuse Oro\\Bundle\\ApiBundle\\Provider\\ConfigProvider;\nuse Oro\\Bundle\\ApiBundle\\Processor\\DeleteList\\DeleteListCon... | php | chosen |
[
{
"from": "system",
"value": "Allow for null message bags in exception logic\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace SRLabs\\Validator\\Exceptions;\n\nuse Exception;\n\nclass FormValidationFailedException extends Exception\n{\n\n protected $errors;\n\n /**\n * @param stri... | php | chosen |
[
{
"from": "system",
"value": "Implement ShuweeAdmin help extension example\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace AppBundle\\Form;\n\nuse Symfony\\Component\\Form\\AbstractType;\nuse Symfony\\Component\\Form\\FormBuilderInterface;\nuse Symfony\\Component\\OptionsResolver\\OptionsR... | php | chosen |
[
{
"from": "system",
"value": "Return json-formatted 404 for json requests on invalid routes\n"
},
{
"from": "human",
"value": "<?php\n\n// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.\n// See the LICENCE file in the repository root for fu... | php | chosen |
[
{
"from": "system",
"value": "Update with the latest Router simplification\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace Stratify\\Framework\\Config;\n\nuse Interop\\Container\\ContainerInterface;\nuse Stratify\\Http\\Middleware\\MiddlewareStack;\nuse Stratify\\Router\\Route\\RouteArray;... | php | chosen |
[
{
"from": "system",
"value": "Add getInvoiceNumber for merchant's reference of a particular transaction.\n"
},
{
"from": "human",
"value": "<?php\n/**\n * eWAY Rapid Response\n */\n\nnamespace Omnipay\\Eway\\Message;\n\nuse Omnipay\\Common\\Message\\RedirectResponseInterface;\n\n/**\n * eWAY Rap... | php | chosen |
[
{
"from": "system",
"value": "Add null as possible return type for RepositoryInterface::findByUid\n"
},
{
"from": "human",
"value": "<?php declare(strict_types = 1);\n\nnamespace SaschaEgerer\\PhpstanTypo3\\Type;\n\nuse PhpParser\\Node\\Expr\\MethodCall;\nuse PHPStan\\Analyser\\Scope;\nuse PHPSt... | php | chosen |
[
{
"from": "system",
"value": "Fix posts como conteúdo restrito para usuários não logados\n"
},
{
"from": "human",
"value": "<?php get_header(); ?>\n <div class=\"row\">\n <?php while (have_posts()): the_post(); ?>\n <article id=\"post-<?php the_ID(); ?>\" class=\"pos... | php | chosen |
[
{
"from": "system",
"value": "Fix: Add missing $ to docblock\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace TomPHP\\ConfigServiceProvider\\Exception;\n\nuse DomainException;\n\nfinal class EntryDoesNotExistException extends DomainException implements Exception\n{\n use ExceptionFactory... | php | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.