conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Remove Latin so Chrome stops trying to translate\n"
},
{
"from": "human",
"value": "@extends('admin.layouts.master')\n\n@section('main_content')\n {{-- @TODO: likely a better way to split this out in Blade! --}}\n @include('admin.layouts.partials.subnav-settings')... | php | chosen |
[
{
"from": "system",
"value": "[OrderSequence][ProductVariant] Add getter for version property\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... | php | chosen |
[
{
"from": "system",
"value": "Add index to oai_id column\n"
},
{
"from": "human",
"value": "<?php\n\nuse Illuminate\\Support\\Facades\\Schema;\nuse Illuminate\\Database\\Schema\\Blueprint;\nuse Illuminate\\Database\\Migrations\\Migration;\n\nclass AddOaiId extends Migration\n{\n /**\n * R... | php | chosen |
[
{
"from": "system",
"value": "Add new ViewRepository method to get all Widgets for a given Wiew\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace Victoire\\Bundle\\WidgetBundle\\Repository;\n\nuse Doctrine\\ORM\\EntityRepository;\n\n/**\n * The widget Repository.\n */\nclass WidgetRepository... | php | chosen |
[
{
"from": "system",
"value": "Add title for reset page\n"
},
{
"from": "human",
"value": "<?php\n/**\n * Copyright (c) 2016 Ruben Schmidmeister <ruben.schmidmeister@icloud.com>\n *\n * This program is free software. It comes without any warranty, to\n * the extent permitted by applicable law. Yo... | php | chosen |
[
{
"from": "system",
"value": "Create stubs for testing uuid_* methods for environments without pecl/uuid\n"
},
{
"from": "human",
"value": "<?php\ninclude __DIR__ . '/../vendor/autoload.php'; // composer autoload\n\n$kernel = \\AspectMock\\Kernel::getInstance();\n$kernel->init([\n 'debug' => ... | php | chosen |
[
{
"from": "system",
"value": "Revert previous fix for Pimple.\n\nNow Pimple's composer.json uses the autoloading directive.\n"
},
{
"from": "human",
"value": "<?php\n\n/*\n * This file is part of the PredisServiceProvider package.\n *\n * (c) Daniele Alessandri <suppakilla@gmail.com>\n *\n * For... | php | chosen |
[
{
"from": "system",
"value": "Clean up main context class\n"
},
{
"from": "human",
"value": "<?php\n\nuse Behat\\Behat\\Context\\Context;\nuse Behat\\Behat\\Hook\\Scope\\BeforeScenarioScope;\nuse Illuminate\\Foundation\\Testing\\DatabaseMigrations;\nuse Tests\\TestCase;\nuse Zeropingheroes\\Lana... | php | chosen |
[
{
"from": "system",
"value": "Exclude menu boxes in box search\n"
},
{
"from": "human",
"value": "<?php\nnamespace wcf\\system\\search\\acp;\nuse wcf\\data\\box\\BoxList;\nuse wcf\\system\\request\\LinkHandler;\nuse wcf\\system\\WCF;\n\n/**\n * ACP search result provider implementation for cms b... | php | chosen |
[
{
"from": "system",
"value": "Update Single Post View with Meta Data\n"
},
{
"from": "human",
"value": "<div class=\"\">\n <div class=\"box\">\n <?php while (have_posts()) : the_post(); ?>\n <article <?php post_class(); ?>>\n <div class=\"row\">\n <div class=\"col col-md... | php | chosen |
[
{
"from": "system",
"value": "Add date range filter to short url service interface\n"
},
{
"from": "human",
"value": "<?php\n\ndeclare(strict_types=1);\n\nnamespace Shlinkio\\Shlink\\Core\\Service;\n\nuse Shlinkio\\Shlink\\Core\\Entity\\ShortUrl;\nuse Shlinkio\\Shlink\\Core\\Exception\\ShortUrlN... | php | chosen |
[
{
"from": "system",
"value": "Change camel-cased local variable to snake-cased\n"
},
{
"from": "human",
"value": "<?php\ndeclare (strict_types = 1);\n\nnamespace GrottoPress\\Jentil\\Utilities\\ThemeMods;\n\nuse GrottoPress\\Jentil\\IdentityTrait;\n\nclass AbstractThemeMod\n{\n use IdentityTr... | php | chosen |
[
{
"from": "system",
"value": "Fix voor issue geintroduceerd door mij\n"
},
{
"from": "human",
"value": "<?php\nclass NzbHandler_Factory\n{\n\tpublic static function build($settings)\n\t{\n\t\t# automatically determine classname based on configured action\n\t\t$nzbhandling = $settings->get('nzbha... | php | chosen |
[
{
"from": "system",
"value": "Add missing method in `RadioButtonFormField`\n\nSee 89f146f98c612e7924de77816920cf9553ef626a\nSee #2509\n"
},
{
"from": "human",
"value": "<?php\nnamespace wcf\\system\\form\\builder\\field;\n\n/**\n * Implementation of a radio buttons form field for selecting a sin... | php | chosen |
[
{
"from": "system",
"value": "Make sure we're not using duplicate hashes.\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace App;\n\nuse Illuminate\\Database\\Eloquent\\Model;\n\nclass File extends Model\n{\n /**\n * The database table used by the model.\n *\n * @var string\n ... | php | chosen |
[
{
"from": "system",
"value": "Allow database settings to have null values\n"
},
{
"from": "human",
"value": "<?php\n\nuse Illuminate\\Database\\Schema\\Blueprint;\nuse Illuminate\\Database\\Migrations\\Migration;\nuse Illuminate\\Support\\Facades\\Schema;\n\nclass CreateSettingsTable extends Mig... | php | chosen |
[
{
"from": "system",
"value": "Update requirement for address_in_subnet function in moodlelib.php\n"
},
{
"from": "human",
"value": "<?PHP // $Id$\n\n////////////////////////////////////////////////////////////////////////////////\n// Code fragment to define the version of quiz\n// This fragmen... | php | chosen |
[
{
"from": "system",
"value": "Remove empty values when fetching credentials from session\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace App\\Services;\n\nuse Illuminate\\Http\\Request;\n\nabstract class Authentication\n{\n /**\n * Retrieves array of currently configured clients.\n ... | php | chosen |
[
{
"from": "system",
"value": "Swap positions of \"contact us\" and partner text in Info Bar.\n"
},
{
"from": "human",
"value": "<?php\n\n/**\n * Generates info bar footer.\n **/\n?>\n\n<?php if (isset($zendesk_form) || isset($formatted_partners)): ?>\n<footer class=\"info-bar\">\n <div class=\"... | php | chosen |
[
{
"from": "system",
"value": "Remove duplicated attribute test class\n"
},
{
"from": "human",
"value": "<?php\n\nrequire_once 'test_helper.php';\n\nclass AttributesTest extends PHPUnit_Framework_TestCase\n{\n protected $compiler = null;\n\n public function __construct()\n {\n $this->compil... | php | chosen |
[
{
"from": "system",
"value": "Add more info about active page\n"
},
{
"from": "human",
"value": "<?php\nnamespace Rudolf\\Modules\\Pages;\n\nuse Rudolf\\Modules\\A_front\\FController;\nuse Rudolf\\Component\\Http\\HttpErrorException;\n\nclass Controller extends FController\n{\n public functio... | php | chosen |
[
{
"from": "system",
"value": "Fix service provider test names.\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace Vinkla\\Tests\\Pusher;\n\nuse GrahamCampbell\\TestBench\\Traits\\ServiceProviderTestCaseTrait;\n\nclass ServiceProviderTest extends AbstractTestCase\n{\n\n use ServiceProviderT... | php | chosen |
[
{
"from": "system",
"value": "Modify script sourcePath to match bower.json\n"
},
{
"from": "human",
"value": "<?php\n/**\n* @copyright Copyright © Saranga Abeykoon, nterms.com, 2014\n*\n* @version 1.0.0\n*/\nnamespace nterms\\mediaelement;\n\nuse yii\\web\\AssetBundle;\n\n/**\n * @author Sa... | php | chosen |
[
{
"from": "system",
"value": "Add correct clases to factory\n"
},
{
"from": "human",
"value": "<?php\n\nabstract class Dao_Factory {\n\tabstract public function setConnection($conn);\n\tabstract public function getConnection();\n\n\tabstract public function getSpotDao();\n\tabstract public funct... | php | chosen |
[
{
"from": "system",
"value": "Set to null instead of unsetting\n"
},
{
"from": "human",
"value": "<?php\n/**\n * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)\n * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)\n *\n * Licensed under The MIT License\n * ... | php | chosen |
[
{
"from": "system",
"value": "Fix syntax error in PHP 5.3\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace Concise\\Matcher;\n\nclass UrlHasPart extends AbstractMatcher\n{\n public function supportedSyntaxes()\n {\n return array(\n 'url ?:string has scheme ?:string' ... | php | chosen |
[
{
"from": "system",
"value": ":sparkles: Add token credentials related method to RequestConfig interface.\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace Risan\\OAuth1\\Request;\n\nuse Risan\\OAuth1\\Credentials\\TemporaryCredentials;\n\ninterface RequestConfigInterface\n{\n /**\n *... | php | chosen |
[
{
"from": "system",
"value": "Fix transformer collection contract class name in service provider\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace EGALL\\Transformer;\n\nuse Illuminate\\Support\\ServiceProvider;\nuse EGALL\\Transformer\\Contracts\\Transformer as TransformerContract;\nuse EGA... | php | chosen |
[
{
"from": "system",
"value": "Fix error on new Whoops version\n"
},
{
"from": "human",
"value": "<?php\n/**\n * Whoops - php errors for cool kids\n * @author Filipe Dobreira <http://github.com/filp>\n */\n\nnamespace ByJG\\RestServer\\Whoops;\n\nuse Whoops\\Exception\\Formatter;\nuse Whoops\\Han... | php | chosen |
[
{
"from": "system",
"value": "Load factory form >= 2.1 versions\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace SLLH\\HybridAuthBundle;\n\nuse Symfony\\Component\\HttpKernel\\Bundle\\Bundle;\n\nuse SLLH\\HybridAuthBundle\\DependencyInjection\\SLLHHybridAuthExtension;\n\nclass SLLHHybridAut... | php | chosen |
[
{
"from": "system",
"value": "Add a column for archive link\n"
},
{
"from": "human",
"value": "<?php\n\nuse Illuminate\\Support\\Facades\\Schema;\nuse Illuminate\\Database\\Schema\\Blueprint;\nuse Illuminate\\Database\\Migrations\\Migration;\n\nclass CreateBookmarksTable extends Migration\n{\n ... | php | chosen |
[
{
"from": "system",
"value": "Format support time like `hh:mm`, HP-575\n"
},
{
"from": "human",
"value": "<?php\n/**\n * Finance module for HiPanel\n *\n * @link https://github.com/hiqdev/hipanel-module-finance\n * @package hipanel-module-finance\n * @license BSD-3-Clause\n * @copyright... | php | chosen |
[
{
"from": "system",
"value": "Add a missing docblock.\nTry a @todo tag.\n\n\nsvn commit r54\n"
},
{
"from": "human",
"value": "<?php\n/**\n * @package Swat\n * @license http://opensource.org/licenses/gpl-license.php GNU Public License\n * @copyright silverorange 2004\n */\nrequire_once('Swat/Swa... | php | chosen |
[
{
"from": "system",
"value": "Set for master while branch auto-updating is down."
},
{
"from": "human",
"value": "<?php\nrequire_once('./lib/Stripe.php');\n// for MASTER\n// require_once('./config.php');\n// for Branches\nrequire_once('../../../backend/config.php');\n\nStripe::setApiKey($config[... | php | chosen |
[
{
"from": "system",
"value": "Rename class of new webservice\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace ajax\\details;\n\nuse \\PDO as PDO;\n\n/**\n * Web Service.\n * Returns Organisms with given ids\n */\nclass Organisms extends \\WebService {\n\n /**\n * @param $querydata[ty... | php | chosen |
[
{
"from": "system",
"value": "Return exit code in example command\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace Sven\\FlexEnv\\Commands;\n\nuse Illuminate\\Filesystem\\Filesystem;\nuse Illuminate\\Support\\Collection;\nuse Sven\\FileConfig\\Drivers\\Env;\nuse Symfony\\Component\\Console\... | php | chosen |
[
{
"from": "system",
"value": "Add a few missing docblocks\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace RulerZ\\Compiler;\n\nuse RulerZ\\Model\\Rule;\n\ninterface CompilationTarget\n{\n const MODE_FILTER = 'filter';\n const MODE_APPLY_FILTER = 'apply_filter';\n const MODE_... | php | chosen |
[
{
"from": "system",
"value": "Stop setting routing param in sfRequest\n"
},
{
"from": "human",
"value": "<?php\n\n/*\n * This file is part of the Access to Memory (AtoM) software.\n *\n * Access to Memory (AtoM) is free software: you can redistribute it and/or modify\n * it under the terms of th... | php | chosen |
[
{
"from": "system",
"value": "API: Add more locale registration APIs\n"
},
{
"from": "human",
"value": "<?php\n/*\n * This file is part of Flarum.\n *\n * (c) Toby Zerner <toby.zerner@gmail.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was dis... | php | chosen |
[
{
"from": "system",
"value": "Introduce variable for plan id. formatting.\n"
},
{
"from": "human",
"value": "<?php\n require_once('./config.php');\n \n var_dump($_POST);\n \n $token = $_POST['stripeToken'];\n $email = $_POST['stripeEmail'];\n $amount = $_POST['amount'];\n $recurring =... | php | chosen |
[
{
"from": "system",
"value": "Add provides method to service provider\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace Frozzare\\Tank;\n\nuse BadMethodCallException;\n\nabstract class Service_Provider {\n\n\t/**\n\t * The container.\n\t *\n\t * @var \\Frozzare\\Tank\\Container\n\t */\n\tpro... | php | chosen |
[
{
"from": "system",
"value": "Make sure the connection exists before setting it\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace adLDAP\\Classes;\n\nuse adLDAP\\adLDAP;\n\n/**\n * The base adLDAP class\n *\n * Class adLDAPBase\n * @package adLDAP\\classes\n */\nclass adLDAPBase\n{\n /**\... | php | chosen |
[
{
"from": "system",
"value": "Reset params and next api call\n"
},
{
"from": "human",
"value": "<?php namespace Picqer\\Financials\\Exact\\Query;\n\nclass Resultset\n{\n protected $connection;\n\n protected $url;\n\n protected $class;\n\n protected $params;\n\n public function __c... | php | chosen |
[
{
"from": "system",
"value": "Return type of extract() function added\n"
},
{
"from": "human",
"value": "<?php\n\n/**\n * @author Shiplu Mokaddim <shiplu@mokadd.im>\n * @copyright 2012 Shiplu Mokaddim\n * @package Biriani\n */\n\n/**\n * class IExtractableBiriani\n */\ninterface IExtractable {\n... | php | chosen |
[
{
"from": "system",
"value": "Make the \"offsetExists\" method compatible with Lumen.\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace Laravel\\Lumen\\Http;\n\nuse Illuminate\\Support\\Arr;\nuse Illuminate\\Http\\Request as BaseRequest;\n\nclass Request extends BaseRequest\n{\n /**\n ... | php | chosen |
[
{
"from": "system",
"value": "Add user agent to Blizzard visit log\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace BNETDocs\\Libraries;\n\nuse \\BNETDocs\\Libraries\\Authentication;\nuse \\BNETDocs\\Libraries\\EventTypes;\nuse \\BNETDocs\\Libraries\\Logger;\n\nuse \\CarlBennett\\MVC\\Libra... | php | chosen |
[
{
"from": "system",
"value": "BAP-2667: Modify CLI installer to allow run common commands from Package Manager[\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace Oro\\Bundle\\InstallerBundle\\Command;\n\nuse Symfony\\Bundle\\FrameworkBundle\\Command\\ContainerAwareCommand;\nuse Symfony\\Comp... | php | chosen |
[
{
"from": "system",
"value": "Change behavior when adding an user and set default role as student\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace Override\\FosUserBundle\\Controller;\n\nuse Symfony\\Component\\HttpFoundation\\Request;\nuse FOS\\UserBundle\\Controller\\RegistrationControlle... | php | chosen |
[
{
"from": "system",
"value": "Use PHP callable for argument specification."
},
{
"from": "human",
"value": "<?php\n/*\n * This file is part of the prooph software processing toolbox.\n * (c) prooph software GmbH <contact@prooph.de>\n *\n * For the full copyright and license information, please v... | php | chosen |
[
{
"from": "system",
"value": "Add view() hack thx @fwhcat lol\n"
},
{
"from": "human",
"value": "<?php\n\n/**\n * Neo Framework\n *\n * @link https://neo-framework.github.io\n * @copyright Copyright (c) 2016-2017 YouniS Bensalah <younis.bensalah@gmail.com>\n * @license MIT\n */\n\nnamespace neo\... | php | chosen |
[
{
"from": "system",
"value": "Update documentation for parser interface\n"
},
{
"from": "human",
"value": "<?php\nnamespace Saft\\Data;\n\n/**\n * @note We have to decide how the ParserInterface should be implemented. One option\n * could be that a parser can accept multiple files/streams which ... | php | chosen |
[
{
"from": "system",
"value": "Use heroku variable for ssl instead of default Laravel's.\n"
},
{
"from": "human",
"value": "<?php namespace App\\Http\\Middleware;\n\nuse Closure;\n\nclass Secure\n{\n\n\t/**\n\t * Handle an incoming request.\n\t *\n\t * @param \\Illuminate\\Http\\Request $request... | php | chosen |
[
{
"from": "system",
"value": "Clarify `getGenericPageId` with a comment [API-332]\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace App\\Models\\Dsc;\n\nuse App\\Models\\DscModel;\nuse App\\Models\\ElasticSearchable;\n\n/**\n * Represents an overall digital publication.\n */\nclass Publicati... | php | chosen |
[
{
"from": "human",
"value": "Add the Extension Bride class and added some comments"
},
{
"from": "gpt",
"value": "<?php\n/**\n * @project Trinity Framework\n * @copyright Copyright (c) 2017-2017 nephp. (https://github.com/nephp)\n */\n \nnamespace App\\r7r1n17y\\Framework;\n\n/**\n * @name Exten... | php | chosen |
[
{
"from": "system",
"value": "Resolve Doctrine proxies to real entity names in order to generate proper\nidentifiers for model.\n\n| Q | A\n| ------------- | ---\n| Bug fix? | no\n| New feature? | yes\n| BC breaks? | no\n| Deprecations? | no\n| Tests pass? | yes\n| License | MIT... | php | chosen |
[
{
"from": "system",
"value": "Update the migration with the right user table name and defaults\n"
},
{
"from": "human",
"value": "<?php\n\nuse Illuminate\\Database\\Migrations\\Migration;\nuse Illuminate\\Database\\Schema\\Blueprint;\n\nclass CreateUserTable extends Migration {\n\n\t/**\n\t * Ru... | php | chosen |
[
{
"from": "system",
"value": "[TASK] Adjust a comment to HTTP foundation\n\nChange-Id: I92e60d98528c1fd0cbdf0eeb08466e77014bc780\nRelated: #35243\nReleases: 1.1\nOriginal-Commit-Hash: 0914e9da46c731746fc71a871c363cc00be16e62\n"
},
{
"from": "human",
"value": "<?php\nnamespace TYPO3\\Fluid\\ViewH... | php | chosen |
[
{
"from": "system",
"value": "Update entry updated at field\n\ngit-svn-id: 8a2ccb88241e16c78017770bc38d91d6d5396a5a@57660 6b8eccd3-e8c5-4e7d-8186-e12b5326b719\n"
},
{
"from": "human",
"value": "<?php\r\n/**\r\n * @package Core\r\n * @subpackage model.interfaces\r\n */ \r\ninterface IIndexable ex... | php | chosen |
[
{
"from": "system",
"value": "Correct table names in migration\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace Surfnet\\StepupMiddleware\\Migrations;\n\nuse Doctrine\\DBAL\\Migrations\\AbstractMigration;\nuse Doctrine\\DBAL\\Schema\\Schema;\n\n/**\n * Auto-generated Migration: Please modif... | php | chosen |
[
{
"from": "system",
"value": "Add the method to show all the notifications.\n"
},
{
"from": "human",
"value": "<?php namespace App\\Http\\Controllers;\n\nuse App\\Http\\Requests;\nuse App\\Http\\Controllers\\Controller;\n\nuse Illuminate\\Http\\Request;\n\nclass NotificationsController extends C... | php | chosen |
[
{
"from": "system",
"value": "Add action for possible future content\n"
},
{
"from": "human",
"value": "<?php\n/**\n * Zend Framework (http://framework.zend.com/)\n *\n * @link http://github.com/zendframework/ZendSkeletonApplication for the canonical source repository\n * @copyright Copyri... | php | chosen |
[
{
"from": "system",
"value": "Cover exception throwing in the CallbackNamingStrategy\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace Tests\\FileNamingResolver\\NamingStrategy;\n\nuse FileNamingResolver\\FileInfo;\nuse FileNamingResolver\\NamingStrategy\\CallbackNamingStrategy;\n\n/**\n * @... | php | chosen |
[
{
"from": "system",
"value": "Add missing methods to interface\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace SitemapPlugin\\Model;\n\n/**\n * @author Arkadiusz Krakowiak <arkadiusz.krakowiak@lakion.com>\n */\ninterface SitemapUrlInterface\n{\n /**\n * @return string\n */\n ... | php | chosen |
[
{
"from": "system",
"value": "Update PSR-2 and remove unused use\n\n\nFormer-commit-id: e54069691862a3c7d4249b624a720b9a536875cc"
},
{
"from": "human",
"value": "<?php\nnamespace Concrete\\Core\\Form\\Service\\Widget;\nuse Loader;\nuse View;\nuse Request;\nclass Typography {\n\n\n /**\n *... | php | chosen |
[
{
"from": "system",
"value": "Add method to get data per row\n"
},
{
"from": "human",
"value": "<?php\n namespace DB;\n\n class Result\n {\n private $sql;\n private $data;\n\n public function __construct($sql, $data)\n {\n $this->sql = $sql;\n ... | php | chosen |
[
{
"from": "system",
"value": "Add condition to replace Translation extension\n"
},
{
"from": "human",
"value": "<?php\n\n/*\n * This file is part of the Cocorico package.\n *\n * (c) Cocolabs SAS <contact@cocolabs.io>\n *\n * For the full copyright and license information, please view the LICENS... | php | chosen |
[
{
"from": "system",
"value": "[NEW] Remove cart line can redirect to referer\n"
},
{
"from": "human",
"value": "<?php\nclass order_RemoveCartLineAction extends f_action_BaseAction\n{\n\t/**\n\t * @param Context $context\n\t * @param Request $request\n\t */\n\tpublic function _execute($context, $... | php | chosen |
[
{
"from": "system",
"value": "Implement fix for Open Flash Chart not displaying in Firefox.\n\nTom\n\ngit-svn-id: ec090d62484f5211934fcf70a1de07e1dda17a57@56 c3eb156b-1dc0-44e1-88ae-e38439141b53\n"
},
{
"from": "human",
"value": "<?php\n$this->load->view(\"partial/header\");\n?>\n<div id=\"page_... | php | chosen |
[
{
"from": "system",
"value": "Remove extension conflict between Twig and Smarty\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace Brendt\\Stitcher\\Template\\Smarty;\n\nuse \\Smarty;\nuse Brendt\\Stitcher\\Template\\TemplateEngine;\nuse Symfony\\Component\\Finder\\SplFileInfo;\n\n/**\n * The... | php | chosen |
[
{
"from": "system",
"value": "Remove interface method \"add\" since Facebook class work differently so not nedded anymore\n"
},
{
"from": "human",
"value": "<?php\n/**\n * @title Interface Api Class\n *\n * @author Pierre-Henry Soria <ph7software@gmail.com>\n * @copyright (... | php | chosen |
[
{
"from": "system",
"value": "Add serviço Auth no construtor\n"
},
{
"from": "human",
"value": "<?php\n\nclass CadastroController extends \\HXPHP\\System\\Controller\n{\n\tpublic function cadastrarAction()\n\t{\n\t\t$this->view->setFile('index');\n\n\t\t$this->request->setCustomFilters(array(\n\... | php | chosen |
[
{
"from": "system",
"value": "Add fix for connection errors on localhost. Probably could be fixed by a setting in cURL but this works for now\n"
},
{
"from": "human",
"value": "<?php\n/**\n * Do not edit this file. Edit the config files found in the ../config/ dir instead.\n * This file is requi... | php | chosen |
[
{
"from": "system",
"value": "Fix test failure on php 5.3\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace Emonkak\\Random\\Tests\\Engine;\n\nuse Emonkak\\Random\\Engine\\RandomDevice;\n\n/**\n * @requires extension mcrypt\n */\nclass RandomDeviceTest extends \\PHPUnit_Framework_TestCase\n{... | php | chosen |
[
{
"from": "system",
"value": "FIX broken link on movie page"
},
{
"from": "human",
"value": "<?php\r\n\r\nclass Default_View_Helper_Link extends Zend_View_Helper_Abstract\r\n{\r\n\tpublic function link(Default_Model_Movie $movie, $displayUrl = false)\r\n\t{\r\n\t\t$url = $movie->getImdbUrl();\r... | php | chosen |
[
{
"from": "system",
"value": "Replace deprecated \"getName()\" method from Twig extensions.\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 th... | php | chosen |
[
{
"from": "system",
"value": "Add test for php to xml convenience function\n"
},
{
"from": "human",
"value": "<?php\n\nrequire_once(__DIR__ . '/../../opensrs/openSRS_loader.php');\n\nclass openSRS_OpsTest extends PHPUnit_Framework_TestCase\n{\n /**\n * Should convert specials chars, & enc... | php | chosen |
[
{
"from": "system",
"value": "Return test-files in natural order\n"
},
{
"from": "human",
"value": "<?php\nif( isset( $_GET[ 'live' ] ) ):\n $apiResponse = json_decode( file_get_contents( 'https://api.twitch.tv/kraken/streams?game=Hearthstone:%20Heroes%20of%20Warcraft' ) );\n $files = arra... | php | chosen |
[
{
"from": "system",
"value": "Update factories to use uk/en/ru languages\n"
},
{
"from": "human",
"value": "<?php\n\n/*\n|--------------------------------------------------------------------------\n| Model Factories\n|--------------------------------------------------------------------------\n|\... | php | chosen |
[
{
"from": "system",
"value": "Change the form input name for serials in the view\n"
},
{
"from": "human",
"value": "<!-- Serial -->\n<div class=\"form-group {{ $errors->has('serial') ? ' has-error' : '' }}\">\n <label for=\"{{ $fieldname }}\" class=\"col-md-3 control-label\">{{ trans('admin/h... | php | chosen |
[
{
"from": "system",
"value": "Add error checking on invalid json\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace Busuu\\IosReceiptsApi;\n\nuse GuzzleHttp\\Client;\n\nclass AppleClient\n{\n /** @var Client $client */\n private $client;\n /** @var string */\n private $password;... | php | chosen |
[
{
"from": "system",
"value": "Clean up data table value-based row classes\n"
},
{
"from": "human",
"value": "<?php\r\n\r\nnamespace ATPViz\\Widget;\r\n\r\nclass DataTable extends \\ATPViz\\Widget\\AbstractWidget\r\n{\r\n\tpublic function __construct()\r\n\t{\r\n\t\tparent::__construct();\r\n\t\t... | php | chosen |
[
{
"from": "system",
"value": "Add new line at EOF.\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace Yajra\\Acl;\n\nuse Closure;\n\nclass CanAtLeastAuthorization\n{\n /**\n * Handle an incoming request.\n *\n * @param \\Illuminate\\Http\\Request $request\n * @param \\Clo... | php | chosen |
[
{
"from": "system",
"value": "Add purchase functionality in back-end.\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace App\\Http\\Controllers;\n\nuse App\\Invoice;\nuse App\\Book;\nuse Illuminate\\Http\\Request;\nuse App\\Http\\Requests;\nuse App\\Services\\Purchase;\n\nclass Purchases exte... | php | chosen |
[
{
"from": "system",
"value": "BAP-11307: Create notice popup for xlsx grid export\n- fix maximum number\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace Oro\\Bundle\\DataGridBundle\\Extension\\Export;\n\nuse Symfony\\Component\\Config\\Definition\\Builder\\TreeBuilder;\nuse Symfony\\Compone... | php | chosen |
[
{
"from": "system",
"value": "Make sure wrappedObject is not null before making a method call on it\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace PhpSpec\\Wrapper\\Subject\\Expectation;\n\nuse Exception;\nuse PhpSpec\\Exception\\Example\\ErrorException;\nuse PhpSpec\\Util\\Instantiator;\... | php | chosen |
[
{
"from": "system",
"value": "Use fread() instead of socket_recv_from()"
},
{
"from": "human",
"value": "<?php\n\nnamespace React\\Socket;\n\nuse Evenement\\EventEmitter;\nuse React\\EventLoop\\LoopInterface;\nuse React\\Stream\\WritableStreamInterface;\nuse React\\Stream\\Buffer;\nuse React\\St... | php | chosen |
[
{
"from": "system",
"value": "Add getProperty function to return all properties\n"
},
{
"from": "human",
"value": "<?php\nnamespace Stirling\\Database;\n\n/**\n * Interface for Entities.\n *\n * An Entity is a class created from database data.\n *\n * @package Stirling\\Database\n */\ninterface ... | php | chosen |
[
{
"from": "system",
"value": "Save action meat as JSON\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace BenAllfree\\Trackable\\Models;\n\nuse Illuminate\\Database\\Eloquent\\Model;\n\nclass Action extends Model\n{\n protected $fillable = ['contact_id', 'event', 'ip_address', 'user_agent', ... | php | chosen |
[
{
"from": "system",
"value": "Revert \"Revert \"Revert \"I don't know what changed\"\"\"\n\nThis reverts commit 9831a5f3e60457ac87b1b4a83000b0aee5a027b8.\n"
},
{
"from": "human",
"value": "<?php get_template_part('templates/head'); ?>\n<body <?php body_class(); ?>>\n\n <!--[if lt IE 8]>\n <d... | php | chosen |
[
{
"from": "system",
"value": "Update body class for drawer.\n"
},
{
"from": "human",
"value": "<?php\n\nuse Roots\\Sage\\Setup;\nuse Roots\\Sage\\Wrapper;\n\n?>\n\n<!doctype html>\n<html <?php language_attributes(); ?>>\n <?php get_template_part('templates/head'); ?>\n <body <?php body_class()... | php | chosen |
[
{
"from": "system",
"value": "Change IE conditional statement so alert appears on IE7\n\nBootstrap 3 no longer supports IE7. The roots outdated browser warning should now appear on anything earlier than IE8."
},
{
"from": "human",
"value": "<?php get_template_part('templates/head'); ?>\n<body <?... | php | chosen |
[
{
"from": "system",
"value": "Add js static analysis as recognised test option\n"
},
{
"from": "human",
"value": "<?php\nnamespace SimplyTestable\\WebClientBundle\\Model;\n\nclass TestOptions { \n \n private $testTypes = array();\n \n \n private $testTypeMap = array(\n ... | php | chosen |
[
{
"from": "system",
"value": "Add getMessage by numer method"
},
{
"from": "human",
"value": "<?php\n\nnamespace Ddeboer\\Imap;\n\n/**\n * An IMAP mailbox\n */\nclass Mailbox implements \\IteratorAggregate\n{\n protected $name;\n protected $stream;\n protected $messageIds;\n\n /**\n ... | php | chosen |
[
{
"from": "system",
"value": "Move pagic.environment registration out to system's service provider\n\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace Igniter\\Flame\\Pagic;\n\nuse Igniter\\Flame\\Pagic\\Cache\\FileSystem as FileCache;\nuse Igniter\\Flame\\Pagic\\Parsers\\FileParser;\nuse Ig... | php | chosen |
[
{
"from": "system",
"value": "fix(ListFilterCache): Fix to update Filename, ParentID if changed.\n"
},
{
"from": "human",
"value": "<?php\n\n/**\n * Write the cached file to the 'File' SS database. This allows the file to be hosted on\n * external file locations (such as Amazon S3) when syncing ... | php | chosen |
[
{
"from": "system",
"value": "Add data property for view's data."
},
{
"from": "human",
"value": "<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');\n\n/**\n * Base controller for public controllers.\n * \n * @package CI-Beam\n * @category Controller\n * @author Ardi Soeb... | php | chosen |
[
{
"from": "system",
"value": "Refactor home class method to bring photos (getPhotosByTag)\n"
},
{
"from": "human",
"value": "<?php\nnamespace App\\Controllers;\n\nuse App\\Framework\\Mvc\\Controller\\BasicController;\nuse App\\Services\\Instagram\\InstagramService;\n\n\nclass HomeController exte... | php | chosen |
[
{
"from": "system",
"value": "Add default fields and other cleanup to plugin info for use in plugin edit popup and plugin manager\n\ngit-svn-id: 9bac41f8ebc9458fc3e28d41abfab39641e8bd1c@31090 b456876b-0849-0410-b77d-98878d47e9d5\n"
},
{
"from": "human",
"value": "<?php\n// (c) Copyright 2002-201... | php | chosen |
[
{
"from": "system",
"value": "Add default value for user role\n"
},
{
"from": "human",
"value": "<?php\n\nuse Illuminate\\Database\\Schema\\Blueprint;\nuse Illuminate\\Database\\Migrations\\Migration;\n\nclass CreateUsersTable extends Migration {\n\n /**\n * Run the migrations.\n *\n ... | php | chosen |
[
{
"from": "system",
"value": "Test that the serializer doesn't break on an exception\n"
},
{
"from": "human",
"value": "<?php\nnamespace FluentDOM\\HTML5 {\n\n use FluentDOM\\Document;\n use FluentDOM\\TestCase;\n\n require_once(__DIR__.'/../vendor/autoload.php');\n\n class SerializerTest ex... | php | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.