conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Fix registration of new member\n"
},
{
"from": "human",
"value": "<?php namespace GeneaLabs\\LaravelGovernor\\Listeners;\n\nuse Illuminate\\Database\\Eloquent\\Model;\nuse Illuminate\\Support\\Facades\\Schema;\nuse GeneaLabs\\LaravelGovernor\\Role;\n\nclass CreatedL... | php | chosen |
[
{
"from": "system",
"value": "Add 'search' action to action_list\n"
},
{
"from": "human",
"value": "<?php\nclass ShortenUrlEasily {\n public static $action_list = array(\n 'creativecommons',\n 'credits',\n 'delete',\n 'deletetrackback',\n 'dublincore',\n 'edit',\n 'history'... | php | chosen |
[
{
"from": "system",
"value": "Allow to push packages name/key to config repository.\n\nSigned-off-by: crynobone <e1a543840a942eb68427510a8a483282a7bfeddf@gmail.com>\n"
},
{
"from": "human",
"value": "<?php namespace Orchestra\\Support\\Providers;\n\nuse Orchestra\\Support\\Providers\\Traits\\Pac... | php | chosen |
[
{
"from": "system",
"value": "Increase test execution time limit and add fatal error debugger using register_shutdown_function\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace Pinq\\Tests;\n\ndate_default_timezone_set('Australia/Melbourne');\nerror_reporting(-1);\nset_time_limit(1000);\nini... | php | chosen |
[
{
"from": "system",
"value": "Change `npm run dev` to `npm run local`\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace TightenCo\\Jigsaw\\Scaffold;\n\nclass DefaultInstaller\n{\n const ALWAYS_IGNORE = [\n 'build_*',\n 'init.php',\n 'node_modules',\n 'vendor',\... | php | chosen |
[
{
"from": "system",
"value": "Convert arg to absolute url in SoftRedirect\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace BNETDocs\\Controllers;\n\nuse \\BNETDocs\\Models\\RedirectSoft as RedirectSoftModel;\nuse \\CarlBennett\\MVC\\Libraries\\Controller;\nuse \\CarlBennett\\MVC\\Libraries\... | php | chosen |
[
{
"from": "system",
"value": "Revert omission of image size\n\nTurns out this is still required in SVG mode :D\n"
},
{
"from": "human",
"value": "<?php\n\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, p... | php | chosen |
[
{
"from": "system",
"value": "Fix access level for setLogTag"
},
{
"from": "human",
"value": "<?php\n\n/**\n * @license MIT\n * @copyright 2017 Tim Gunter\n */\n\nnamespace Kaecyra\\AppCommon\\Log\\Tagged;\n\n/**\n * Tagged log trait\n *\n * @author Tim Gunter <tim@vanillaforums.com>\n * @packag... | php | chosen |
[
{
"from": "system",
"value": "Fix issue for root pages\n"
},
{
"from": "human",
"value": "<?php namespace Anomaly\\PagesModule\\Page\\Form;\n\nuse Anomaly\\PagesModule\\Page\\Contract\\PageInterface;\nuse Anomaly\\PreferencesModule\\Preference\\Contract\\PreferenceRepositoryInterface;\nuse Illum... | php | chosen |
[
{
"from": "system",
"value": "Add support for autoconfiguration of extractors in Symfony 3.3+\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace Incenteev\\TranslationCheckerBundle\\DependencyInjection;\n\nuse Symfony\\Component\\HttpKernel\\DependencyInjection\\ConfigurableExtension;\nuse Sy... | php | chosen |
[
{
"from": "system",
"value": "Add cleanup of UserStorage and options cache to ClearCacheCommand\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace wcf\\system\\cache\\command;\n\nuse wcf\\data\\package\\update\\server\\PackageUpdateServer;\nuse wcf\\system\\cache\\CacheHandler;\nuse wcf\\syst... | php | chosen |
[
{
"from": "system",
"value": "Replace requestNamespace by xmlNamespace method\n"
},
{
"from": "human",
"value": "<?php\n/**\n * This file is part of the Zimbra API in PHP library.\n *\n * © Nguyen Van Nguyen <nguyennv1981@gmail.com>\n *\n * For the full copyright and license information, please ... | php | chosen |
[
{
"from": "system",
"value": "Declare the character encoding in the setup page\n"
},
{
"from": "human",
"value": "<!DOCTYPE html>\n<head lang=\"en\">\n <title>get GNU/Linux!</title>\n <link rel=\"stylesheet\" type=\"text/css\" href=\"/style/main-ltr.css\" media=\"all\" />\n</head>\n<body>\n<ma... | php | chosen |
[
{
"from": "system",
"value": "Fix add-on compatibility when deleting a tag\n"
},
{
"from": "human",
"value": "<?php\n\nclass SV_TrendingContentTags_XenForo_DataWriter_Tag extends XFCP_SV_TrendingContentTags_XenForo_DataWriter_Tag\n{\n protected function _delete()\n {\n parent::_dele... | php | chosen |
[
{
"from": "system",
"value": "TASK: Adjust test assertions to PHPUnit 8\n"
},
{
"from": "human",
"value": "<?php\nnamespace Neos\\Flow\\Tests\\Unit\\Http\\Helper;\n\nuse GuzzleHttp\\Psr7\\ServerRequest;\nuse Neos\\Flow\\Http\\Helper\\RequestInformationHelper;\nuse Neos\\Flow\\Tests\\UnitTestCase... | php | chosen |
[
{
"from": "system",
"value": "Split array data sent to actions into GET and SET.\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace Air\\Routing\\Dispatcher;\n\nuse Air\\Routing\\ResolvedRequest\\ResolvedRequestInterface;\nuse Interop\\Container\\ContainerInterface;\n\nclass Dispatcher implem... | php | chosen |
[
{
"from": "system",
"value": "Handle setting up package path.\n\nSigned-off-by: crynobone <e1a543840a942eb68427510a8a483282a7bfeddf@gmail.com>\n"
},
{
"from": "human",
"value": "<?php namespace Orchestra\\Database;\n\nuse Orchestra\\Database\\Console\\Migrations\\MigrateCommand;\nuse Illuminate\... | php | chosen |
[
{
"from": "system",
"value": "Correct the default image template value.\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace HeyUpdate\\EmojiBundle\\DependencyInjection;\n\nuse Symfony\\Component\\Config\\Definition\\Builder\\TreeBuilder;\nuse Symfony\\Component\\Config\\Definition\\Configurati... | php | chosen |
[
{
"from": "system",
"value": "Update pagination test to work with Laravel 5.5\n"
},
{
"from": "human",
"value": "<?php namespace GeneaLabs\\LaravelModelCaching\\Tests\\Browser;\n\nuse GeneaLabs\\LaravelModelCaching\\Tests\\FeatureTestCase;\nuse GeneaLabs\\LaravelModelCaching\\Tests\\Fixtures\\Bo... | php | chosen |
[
{
"from": "system",
"value": "Trim SMS Message text input\n"
},
{
"from": "human",
"value": "<?php\n\n\nnamespace Hicoria\\Xpay;\n\n\nuse Nette\\Object;\n\nclass XpaySmsDispatcher extends Object {\n\n /**\n * @var IMessageProcessor[]\n */\n private $processors;\n\n public functi... | php | chosen |
[
{
"from": "system",
"value": "Normalize the app.key in case app is using base64 encoded key.\n\nSigned-off-by: crynobone <e1a543840a942eb68427510a8a483282a7bfeddf@gmail.com>\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace Orchestra\\Http;\n\nuse Hashids\\Hashids;\nuse Illuminate\\Contracts... | php | chosen |
[
{
"from": "system",
"value": "Remove type hint from a method argument\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace Ofelix03\\Transformer;\n\n/** \n * @author Felix Otoo <ofelix03@gmail.com>\n * @license MIT Check the license file associated with this package for detials of \n * ... | php | chosen |
[
{
"from": "system",
"value": "Fix require once statement class\n"
},
{
"from": "human",
"value": "<?php\nnamespace CodeGen\\Statement;\n\nuse CodeGen\\Renderable;\n\nclass RequireOnceStatement extends Statement implements Renderable\n{\n public function render(array $args = array())\n {\n ... | php | chosen |
[
{
"from": "system",
"value": "Test new transaction class with network\n"
},
{
"from": "human",
"value": "<?php\n/**\n * Created by PhpStorm.\n * User: thomas\n * Date: 15/11/14\n * Time: 05:15\n */\n\nnamespace Bitcoin;\n\n\nclass TransactionTest extends \\PHPUnit_Framework_TestCase\n{\n prot... | php | chosen |
[
{
"from": "system",
"value": "Add header to process XML correctly\n"
},
{
"from": "human",
"value": "<?php\necho '<?xml version=\"1.0\" encoding=\"UTF-8\"?>';\necho '<urlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\">';\n$results = $db->query('SELECT `link`,`change_freq`,`priority` FR... | php | chosen |
[
{
"from": "system",
"value": "Fix the logic of the check for the phrase preload rebuild\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace wcf\\system\\language\\preload;\n\nuse wcf\\data\\language\\Language;\nuse wcf\\system\\language\\preload\\command\\CachePreloadPhrases;\nuse wcf\\system\... | php | chosen |
[
{
"from": "system",
"value": "Correct style and interface description\n"
},
{
"from": "human",
"value": "<?php\nnamespace Neos\\Flow\\Security\\Authentication\\Token;\n\n/*\n * This file is part of the Neos.Flow package.\n *\n * (c) Contributors of the Neos Project - www.neos.io\n *\n * This pac... | php | chosen |
[
{
"from": "system",
"value": "Use template for postlinks to allow easy changes"
},
{
"from": "human",
"value": "<?php\n/**\n * Default template for displaying post content\n *\n * @package ZnWP Bootstrap Theme\n */\n\nglobal $znwp_theme;\n?>\n\n <article id=\"post-<?php the_ID(); ?>\"... | php | chosen |
[
{
"from": "system",
"value": "Put the console command in the request scope\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace Forex\\Bundle\\EmailBundle\\Command;\n\nuse Forex\\Bundle\\EmailBundle\\Entity\\EmailMessage;\nuse Symfony\\Bundle\\FrameworkBundle\\Command\\ContainerAwareCommand;\nu... | php | chosen |
[
{
"from": "system",
"value": "Revert \"Don't throw an exception when pygments fails to highlight.\"\n\nThis reverts commit 32def91d2c9b5b25418ca59884b4f00ff3849b9d.\n\nepriestley's fix is live!\n"
},
{
"from": "human",
"value": "<?php\n\nfinal class PhutilDefaultSyntaxHighlighterEnginePygmentsFu... | php | chosen |
[
{
"from": "system",
"value": "Update views to support single domain form\n"
},
{
"from": "human",
"value": "<form method=\"POST\" action=\"{{ action('SettingsController@update') }}\">\n @if($errors->count())\n <div class=\"alert alert-danger alert-dismissible fade in\">\n <b... | php | chosen |
[
{
"from": "system",
"value": "Add config merging for laravel 5\n"
},
{
"from": "human",
"value": "<?php namespace Alexsoft\\LaravelHashids;\n\nuse Hashids\\Hashids;\nuse Illuminate\\Support\\ServiceProvider;\n\nclass LaravelHashidsServiceProvider extends ServiceProvider {\n\n\t/**\n\t * Indicate... | php | chosen |
[
{
"from": "system",
"value": "Update Intercom TestCase to include helper methods for requests and responses\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace Intercom;\n\nuse Guzzle\\Tests\\GuzzleTestCase;\n\nclass IntercomTestCase extends GuzzleTestCase\n{\n protected $client;\n\n pub... | php | chosen |
[
{
"from": "system",
"value": "PHPSDK&REMOTECS007: Remove Hold And Release options\n"
},
{
"from": "human",
"value": "<?php\n\n\nnamespace com\\realexpayments\\remote\\sdk\\domain\\payment;\n\nuse com\\realexpayments\\remote\\sdk\\EnumBase;\n\n/**\n * Class ReasonCode\n * Enumeration for the Reas... | php | chosen |
[
{
"from": "system",
"value": "Remove auto formatting of telephone\n\nUsing a meta tag to remove formatting of the telephone.\n"
},
{
"from": "human",
"value": "<!DOCTYPE html>\n<html class=\"no-js\" <?php language_attributes(); ?>>\n<head>\n <meta charset=\"utf-8\">\n <meta http-equiv=\"X-UA-C... | php | chosen |
[
{
"from": "system",
"value": "Exclude Formula helper modal from tab-index\n"
},
{
"from": "human",
"value": "<?php\n\nuse yii\\helpers\\Html;\n\n/**\n * @var \\yii\\web\\View $this\n * @var \\hipanel\\modules\\finance\\widgets\\FormulaInput $widget\n */\n\n$widget = $this->context;\n?>\n\n<div c... | php | chosen |
[
{
"from": "system",
"value": "Add color to terminal and \\n\n"
},
{
"from": "human",
"value": "<?php namespace Schickling\\Backup;\n\nuse Symfony\\Component\\Process\\Process;\n\nclass Console\n{\n\tpublic function run($command)\n\t{\n\t\t$process = new Process($command);\n\t\t$process->run();\n... | php | chosen |
[
{
"from": "system",
"value": "Define test assertion for content type of response\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace Tests;\n\nuse Illuminate\\Foundation\\Testing\\TestCase as BaseTestCase;\n\nabstract class TestCase extends BaseTestCase\n{\n use CreatesApplication;\n}\n"
... | php | chosen |
[
{
"from": "system",
"value": "Rename \"Upload Image\" dialog to \"Upload File\" to match purpose\n\nSummary: Fixes T3940.\n\nTest Plan: Clicked button, looked at dialog.\n\nReviewers: epriestley, #blessed_reviewers\n\nReviewed By: epriestley\n\nCC: nmalcolm, Korvin, epriestley, aran\n\nManiphest Tasks: T394... | php | chosen |
[
{
"from": "system",
"value": "Add picture field in user schema\n\nfor loading from google profile data\n"
},
{
"from": "human",
"value": "<?php\n\nuse Illuminate\\Database\\Schema\\Blueprint;\nuse Illuminate\\Database\\Migrations\\Migration;\n\nclass CreateUsersTable extends Migration {\n\n\t/**... | php | chosen |
[
{
"from": "system",
"value": "Fix callable validator BC for PHP<=5.6\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace JBBCode\\validators;\n\nrequire_once dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'InputValidator.php';\n\n/**\n * An InputValidator that allows for shortcut implement... | php | chosen |
[
{
"from": "system",
"value": "Allow for underscores in magic method names\n"
},
{
"from": "human",
"value": "<?php\n\n/*\n * This file is part of Feefo.\n *\n * (c) Blue Bay Travel <developers@bluebaytravel.co.uk>\n *\n * For the full copyright and license information, please view the LICENSE\n ... | php | chosen |
[
{
"from": "system",
"value": "Add dot notation to search record belongs to\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace ilateral\\SilverStripe\\Searchable\\Extensions;\n\nuse ilateral\\SilverStripe\\Searchable\\Model\\SearchTable;\nuse ilateral\\SilverStripe\\Searchable\\Searchable;\nus... | php | chosen |
[
{
"from": "system",
"value": "Fix validation of url form field value\n\nClose #3390\n"
},
{
"from": "human",
"value": "<?php\nnamespace wcf\\system\\form\\builder\\field;\nuse wcf\\data\\language\\Language;\nuse wcf\\system\\form\\builder\\field\\validation\\FormFieldValidationError;\nuse wcf\\u... | php | chosen |
[
{
"from": "system",
"value": "OEE-54: Modify ACL. Refactor ACL Walker.\n - Add set organization listener\n"
},
{
"from": "human",
"value": "<?php\nnamespace Oro\\Bundle\\OrganizationBundle\\Entity\\Repository;\n\nuse Doctrine\\ORM\\EntityRepository;\nuse Doctrine\\ORM\\Query\\Expr;\n\nuse Oro\... | php | chosen |
[
{
"from": "system",
"value": "Fix backend theme key in configuration\n"
},
{
"from": "human",
"value": "<?php\r\n/**\r\n * Created by PhpStorm.\r\n * User: Michal\r\n * Date: 8.1.14\r\n * Time: 19:02\r\n */\r\n\r\nnamespace AnnotateCms\\Themes\\DI;\r\n\r\n\r\nuse AnnotateCms\\Themes\\Loaders\\Th... | php | chosen |
[
{
"from": "system",
"value": "OEE-1164: Add multi-curency validator to available currency form\n- Fixed issue with organization\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace Oro\\Bundle\\CurrencyBundle\\Provider;\n\nuse Oro\\Bundle\\OrganizationBundle\\Entity\\Organization;\n\ninterface ... | php | chosen |
[
{
"from": "system",
"value": "Fix deprecated twig filter syntax\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace Liip\\ImagineBundle\\Templating;\n\nuse Liip\\ImagineBundle\\Imagine\\Cache\\CacheManager;\n\nclass ImagineExtension extends \\Twig_Extension\n{\n /**\n * @var CacheManage... | php | chosen |
[
{
"from": "system",
"value": "Add command to publish js file\n"
},
{
"from": "human",
"value": "<?php namespace Bsharp\\Laralytics;\n\nuse Illuminate\\Translation\\TranslationServiceProvider;\n\n/**\n * Class LaralyticsServiceProvider\n * @package Bsharp\\Laralytics\n */\nclass LaralyticsService... | php | chosen |
[
{
"from": "system",
"value": "Use interfaces instead of concrete implementations\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace EasyCorp\\Bundle\\EasyAdminBundle\\Orm;\n\nuse EasyCorp\\Bundle\\EasyAdminBundle\\Contracts\\Orm\\EntityUpdaterInterface;\nuse EasyCorp\\Bundle\\EasyAdminBundle\... | php | chosen |
[
{
"from": "system",
"value": "Allow no tag to be set\n"
},
{
"from": "human",
"value": "<?php\n\n/**\n * Class GACodeField\n */\nclass GACodeField extends TextField\n{\n /**\n * @return string\n */\n public function Type()\n {\n return 'text';\n }\n\n /**\n * Si... | php | chosen |
[
{
"from": "system",
"value": "Fix thread display on front page for certain themes.\n"
},
{
"from": "human",
"value": "<div class=\"well well-lg\" id=\"dj-mode\" style=\"display: none\">\n\t@if ($status[\"thread\"] === \"none\" or $status[\"thread\"] === \"None\")\n\t\t<h2 class=\"text-center\">T... | php | chosen |
[
{
"from": "system",
"value": "Fix bug de compatibilidad con FOSUser 1.3"
},
{
"from": "human",
"value": "<?php\n\n/*\n * This file is part of the TecnoCreaciones package.\n * \n * (c) www.tecnocreaciones.com.ve\n * \n * For the full copyright and license information, please view the LICENSE\n * ... | php | chosen |
[
{
"from": "system",
"value": "Make public feed show all stories, using the omnipotent user\n\nAuditors: chad\n"
},
{
"from": "human",
"value": "<?php\n\nfinal class PhabricatorFeedPublicStreamController\n extends PhabricatorFeedController {\n\n public function shouldRequireLogin() {\n retur... | php | chosen |
[
{
"from": "system",
"value": "Revert \"added doctor main page\"\n\nThis reverts commit 96257fe855ce5b4d21de00eb465d1f3bf1db0a60.\n"
},
{
"from": "human",
"value": "@extends('dashboard')\n@section('main')\n<h1 class=\"page-title\">\n\t\t\t<i class=\"icon-home\"></i>\n\t\t\tDashboard\t\t\t\t\t\n\t... | php | chosen |
[
{
"from": "system",
"value": "Fix foreign key declaration and add index\n"
},
{
"from": "human",
"value": "<?php\n\nuse Illuminate\\Database\\Schema\\Blueprint;\nuse Illuminate\\Database\\Migrations\\Migration;\n\nclass CreateTopicCoversTable extends Migration\n{\n /**\n * Run the migrati... | php | chosen |
[
{
"from": "system",
"value": "Use absolute path for assets\n"
},
{
"from": "human",
"value": "<!DOCTYPE html>\n<html lang=\"en-us\">\n <head>\n <meta charset=\"utf-8\">\n <title>Lifecycle Building Center</title>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge,chr... | php | chosen |
[
{
"from": "system",
"value": "Fix bug querying latest posts\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace Atsys\\Blog\\Http\\Controllers\\Blog;\n\nuse App\\Http\\Controllers\\Controller;\nuse Atsys\\Blog\\Post;\nuse Atsys\\Blog\\PostCategory;\n\nclass PostsController extends Controller\n... | php | chosen |
[
{
"from": "system",
"value": "Configure to use PostgreSQL driver in Kohana.\n"
},
{
"from": "human",
"value": "<?php defined('SYSPATH') or die('No direct access allowed.');\n\n$dbpath = getenv('DBPATH');\n$dbhost = getenv('DBHOST');\n$dbname = getenv('DBNAME');\n$dbuser = getenv('DBUSER');\n$dbp... | php | chosen |
[
{
"from": "system",
"value": "Fix typo in `ticketed_events` migration\n"
},
{
"from": "human",
"value": "<?php\n\nuse Illuminate\\Support\\Facades\\Schema;\nuse Illuminate\\Database\\Schema\\Blueprint;\nuse Illuminate\\Database\\Migrations\\Migration;\n\nclass MakeTicketedEventImageUrlLonger ext... | php | chosen |
[
{
"from": "system",
"value": "Add new line to file.\n"
},
{
"from": "human",
"value": "<?php\n\nuse FireflyIII\\Models\\Role;\nuse Illuminate\\Database\\Seeder;\n\n/**\n * Class PermissionSeeder\n */\nclass PermissionSeeder extends Seeder\n{\n public function run()\n {\n $owner ... | php | chosen |
[
{
"from": "system",
"value": "Add vars for WP Offload Site plugin\n"
},
{
"from": "human",
"value": "<?php\n/** Production */\nini_set('display_errors', 0);\ndefine('WP_DEBUG_DISPLAY', false);\ndefine('SCRIPT_DEBUG', false);\n/** Disable all file modifications including updates and update notifi... | php | chosen |
[
{
"from": "system",
"value": "QA: Adjust to new unittest coding standards\n"
},
{
"from": "human",
"value": "<?php namespace net\\xp_framework\\unittest\\io\\streams;\n\nuse unittest\\TestCase;\nuse io\\streams\\MemoryOutputStream;\n\n\n/**\n * Unit tests for streams API\n *\n * @see xp://i... | php | chosen |
[
{
"from": "system",
"value": "Add Title text for URLs\n"
},
{
"from": "human",
"value": "<?php\n/**\n * CmcSiteLogo\n * \n * @author cmc\n *\n * @usage - \n * In _config/config.yml\n * \n * SiteConfig:\n * extensions:\n * - CmcSiteLogo\n * ... | php | chosen |
[
{
"from": "system",
"value": "Index function of scores controller now returns all results\n"
},
{
"from": "human",
"value": "<?php\nclass Scores extends CI_Controller {\n\n public function __construct()\n {\n parent::__construct();\n $this->load->model... | php | chosen |
[
{
"from": "system",
"value": "BB-1412: Apply validation rules for import data\n- fixed validator"
},
{
"from": "human",
"value": "<?php\n\nnamespace Oro\\Bundle\\EntityExtendBundle\\Validator\\Constraints;\n\nuse Symfony\\Component\\Validator\\Constraint;\nuse Symfony\\Component\\Validator\\Cons... | php | chosen |
[
{
"from": "system",
"value": "Boost matches on `search_tags` for webpages [WEB-922]\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace App\\Transformers\\Outbound\\Web;\n\nuse App\\Transformers\\Outbound\\Web\\Page as BaseTransformer;\n\nclass GenericPage extends BaseTransformer\n{\n\n pro... | php | chosen |
[
{
"from": "system",
"value": "Change default path, as it's now relative to the APPROOT or module\n"
},
{
"from": "human",
"value": "<?php defined('SYSPATH') or die('No direct access allowed.');\n/**\n* Dbman\n*\n* @package Dbman\n* @author Robert-Jan de Dreu\n* @copyright (c)... | php | chosen |
[
{
"from": "system",
"value": "Update test with environnement variables\n"
},
{
"from": "human",
"value": "<?php\nnamespace ker0x\\CakeGcm\\Test\\TestCase\\Controller\\Component;\n\nuse Cake\\Controller\\ComponentRegistry;\nuse Cake\\Controller\\Controller;\nuse Cake\\Network\\Request;\nuse Cake\... | php | chosen |
[
{
"from": "system",
"value": "Allow specification of default OAuth creds to perform requests using if no authenticated user is present.\n"
},
{
"from": "human",
"value": "<?php\n\nclass Twitter {\n private static $connection = null;\n\n public static function getConnection() {\n $user = sfC... | php | chosen |
[
{
"from": "system",
"value": "Use the user's getters to check if we need to set the plainpassword\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace SumoCoders\\FrameworkMultiUserBundle\\DataTransferObject;\n\nuse SumoCoders\\FrameworkMultiUserBundle\\User\\User;\nuse SumoCoders\\FrameworkMul... | php | chosen |
[
{
"from": "system",
"value": "Fix for Mage 1.6.2 in partial reindex - can't acces class constant there: Undefined class constant 'MODE_SCHEDULE'\n"
},
{
"from": "human",
"value": "<?php\n/**\n * \n * \n * \n * \n */\n\nclass Hackathon_AsyncIndex_Model_Manager\n{\n\n /**\n * Tells the core... | php | chosen |
[
{
"from": "system",
"value": "Fix `LinkPager` css class duplicate\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace hipanel\\widgets;\n\nuse Yii;\nuse yii\\helpers\\Html;\nuse yii\\widgets\\LinkPager;\n\nclass PagerHook extends LinkPager implements HookInterface\n{\n use HookTrait;\n\n ... | php | chosen |
[
{
"from": "system",
"value": "Make source_details column an index\n"
},
{
"from": "human",
"value": "<?php\n\nuse Illuminate\\Support\\Facades\\Schema;\nuse Illuminate\\Database\\Schema\\Blueprint;\nuse Illuminate\\Database\\Migrations\\Migration;\n\nclass AddSourceDetailsColumnToPosts extends M... | php | chosen |
[
{
"from": "system",
"value": "Update Persian language for AdminLte template\n"
},
{
"from": "human",
"value": "<?php\n\nreturn array (\n 'ADMINISTRATION' => 'مدیریت کل',\n 'Control Panel' => 'پنل کنترل',\n 'Dashboard' => 'داشبورد',\n 'Files' => '',\n 'Forgot Password?' => 'فراموشی رمزعبور؟'... | php | chosen |
[
{
"from": "system",
"value": "Add an extra check for when files don't exist\n\n\nFormer-commit-id: a74ca99ebad8d185c5392e4240e43963564b5aed\nFormer-commit-id: e6cb976c5570465fabca0bd8570d74aa4ce4a1ee"
},
{
"from": "human",
"value": "<?\ndefined('C5_EXECUTE') or die(\"Access Denied.\");\n$u = new... | php | chosen |
[
{
"from": "system",
"value": "Change default value for overwire\n"
},
{
"from": "human",
"value": "<?php\n/**\n * This file is part of the Kappa\\FileSystem package.\n *\n * (c) Ondřej Záruba <zarubaondra@gmail.com>\n *\n * For the full copyright and license information, please view the license.... | php | chosen |
[
{
"from": "system",
"value": "Fix name space in the service provider.\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace Spatie\\Skeleton;\n\nuse Illuminate\\Support\\ServiceProvider;\nuse Spatie\\LaravelSlack\\SlashCommandHandler\\Collection;\nuse Spatie\\LaravelSlack\\SlashCommandRequest;\n... | php | chosen |
[
{
"from": "system",
"value": "[BUGFIX] Use local/bin/deployer for media move\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace Deployer;\n\ntask('media:move', function () {\n if (null === input()->getArgument('stage')) {\n throw new \\RuntimeException(\"The target instance is requi... | php | chosen |
[
{
"from": "system",
"value": "Add api token to the user table seed\n"
},
{
"from": "human",
"value": "<?php\n\nuse Illuminate\\Database\\Seeder;\n\nclass UserTableSeeder extends Seeder\n{\n /**\n * Run the database seeds.\n *\n * @return void\n */\n public function run()\n ... | php | chosen |
[
{
"from": "system",
"value": "Update scheduler tasks day of week\n\nAfter testing it comes that day 0 = Sunday, 1 = Monday, ..., 6 = Saturday\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace Myjob\\Console;\n\nuse Illuminate\\Console\\Scheduling\\Schedule;\nuse Illuminate\\Foundation\\Conso... | php | chosen |
[
{
"from": "system",
"value": "Add fields to the project model.\n"
},
{
"from": "human",
"value": "<?php\n\nclass Project extends Eloquent {\n\n\tprotected $fillable = ['title', 'slug'];\n\n\t/**\n\t * @return \\Illuminate\\Database\\Eloquent\\Collection\n\t */\n\tpublic function sprints()\n\t{\n... | php | chosen |
[
{
"from": "system",
"value": "BAP-12112: Add migration to update current workflow definitions\n- added save of step labels"
},
{
"from": "human",
"value": "<?php\n\nnamespace Oro\\Bundle\\WorkflowBundle\\Migrations\\Data\\ORM;\n\nuse Doctrine\\Common\\DataFixtures\\AbstractFixture;\nuse Doctrine... | php | chosen |
[
{
"from": "system",
"value": "Change JSON database column to binary\n\nWhen using certain databases with certain character sets & collations, we are unable to create JSON columns, however a binary column is perfectly fine in this instance."
},
{
"from": "human",
"value": "<?php\n\nuse Illuminate... | php | chosen |
[
{
"from": "system",
"value": "Remove person link in gadget\n"
},
{
"from": "human",
"value": "<?php\n\n$gadgets = Witi::fetchGadgets();\n\n?>\n\n<ul class=\"gadgets list\">\n <li class=\"col-md-2 col-sm-4 col-xs-6 person add\">\n <a class=\"add-trigger\">\n <figure class=\"i... | php | chosen |
[
{
"from": "system",
"value": "Fix a `pht` method call\n\nSummary: Ref T7046. I missed this in D11680.\n\nTest Plan: `arc lint`\n\nReviewers: #blessed_reviewers, epriestley\n\nReviewed By: #blessed_reviewers, epriestley\n\nSubscribers: Korvin, epriestley\n\nManiphest Tasks: T7046\n\nDifferential Revision: ht... | php | chosen |
[
{
"from": "system",
"value": "Update speaker for the 2014-08-28.\n"
},
{
"from": "human",
"value": "<p>Coming to us from <a href=\"http://fpc-consultants.com/\" target=\"_blank\">FP&C Consultants, Inc.</a> is Dennis Bradshaw. He will be speaking about major updates in the 2015 Indiana Buildi... | php | chosen |
[
{
"from": "system",
"value": "CRM-4573: Add ability to save multiple values for patch API\n"
},
{
"from": "human",
"value": "\n<?php\n\nnamespace Oro\\Bundle\\EntityBundle\\Tests\\Functional\\DataFixtures;\n\nuse Doctrine\\Common\\DataFixtures\\AbstractFixture;\nuse Doctrine\\Common\\Persistence... | php | chosen |
[
{
"from": "system",
"value": "Remove the \"no second factors yet\" flash message\n"
},
{
"from": "human",
"value": "<?php\n\n/**\n * Copyright 2014 SURFnet bv\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the Lic... | php | chosen |
[
{
"from": "system",
"value": "Set default isPremium=true on Account/Plan to happify sqlite\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace Application\\Migrations;\n\nuse SimplyTestable\\BaseMigrationsBundle\\Migration\\BaseMigration,\n Doctrine\\DBAL\\Schema\\Schema;\n\n/**\n * Auto-ge... | php | chosen |
[
{
"from": "system",
"value": "Move call to parent constructor to top\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace app;\n\nclass MyPhixApp extends \\Phix\\App\n{\n public function __construct($config = null)\n {\n $this\n ->viewsDir(__DIR__ . '/views')\n ... | php | chosen |
[
{
"from": "system",
"value": "Implemented: Test for failure case in TransactionDatabaseFactoryLocator.\n\nFor the fun of it ...\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace Qafoo\\ChangeTrack\\FISCalculator;\n\nclass TransactionDatabaseFactoryLocatorTest extends \\PHPUnit_Framework_Test... | php | chosen |
[
{
"from": "system",
"value": "Fix bad console command path\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace App\\console;\n\nuse Illuminate\\Console\\Scheduling\\Schedule;\nuse Illuminate\\Foundation\\Console\\Kernel as ConsoleKernel;\nuse App\\console\\Commands\\QueryServerStatusesCommand;... | php | chosen |
[
{
"from": "system",
"value": "Fix product patterm form type\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace Furniture\\ProductBundle\\Form\\Type\\ProductPattern;\n\nuse Furniture\\ProductBundle\\Entity\\ProductPartPatternVariantSelection;\nuse Furniture\\ProductBundle\\Entity\\ProductVaria... | php | chosen |
[
{
"from": "system",
"value": "Improve the formatting for the example script\n"
},
{
"from": "human",
"value": "<?php\n\nerror_reporting(E_ALL);\nini_set('display_errors', 1);\n\nrequire_once \"vendor/autoload.php\";\n\nuse UnitConverter\\Measure;\nuse UnitConverter\\UnitConverter;\nuse UnitConve... | php | chosen |
[
{
"from": "system",
"value": "Use LogEntry::getPerformerIdentity() instead of ::getPerformer()\n\nLogEntry::getPerformer(), deprecated since 1.36\n"
},
{
"from": "human",
"value": "<?php\nnamespace Avatar;\n\nuse MediaWiki\\MediaWikiServices;\n\nclass UploadLogFormatter extends \\LogFormatter {\... | php | chosen |
[
{
"from": "system",
"value": "Set placeholders in config file\n"
},
{
"from": "human",
"value": "<?php\n\nreturn array(\n\t'twitterCredentials' => array(\n\t\t'consumerKey' => 'JvXHFRFtON6PFeqzzPKuYzqWl',\n\t\t'consumerSecret' => 'C4hjh8k9TTUVqXTFjb4GdnK9IeYc4YGdpa6Hl8Uvc4G4nFuEaX',\n\t\t'access... | php | chosen |
[
{
"from": "system",
"value": "Tweak comment of config file.\n"
},
{
"from": "human",
"value": "<?php\n\nreturn [\n\n\t/*\n\t|--------------------------------------------------------------------------\n\t| Application Available Locales Configuration\n\t|-------------------------------------------... | php | chosen |
[
{
"from": "system",
"value": "Add height and width to adsense ads\n"
},
{
"from": "human",
"value": "<?php\r\n\r\nnamespace ATPAdvertising\\View\\Helper;\r\n\r\nclass Adsense extends \\ATP\\View\\Helper\r\n{\r\n\tpublic function __invoke($id)\r\n\t{\r\n\t\t$ad = new \\ATPAdvertising\\Model\\Adse... | php | chosen |
[
{
"from": "system",
"value": "Add description to FieldtypeDatetime's 'format' argument.\n"
},
{
"from": "human",
"value": "<?php\n\nnamespace ProcessWire\\GraphQL\\Field\\Traits;\n\nuse Youshido\\GraphQL\\Config\\Field\\FieldConfig;\nuse Youshido\\GraphQL\\Execution\\ResolveInfo;\nuse Youshido\\... | php | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.