Skip to content

Instantly share code, notes, and snippets.

// ==UserScript==
// @name Github status check sort
// @namespace https://github.com/
// @version 1.1.2
// @description Sort the status checks on a PR by status and then by name
// @author Skjnldsv
// @match https://github.com/*/*/pull/*
// @icon https://github.githubassets.com/favicons/favicon.svg
// @grant none
// @updateURL https://gist.github.com/skjnldsv/eb7b894ae996affde4a7d0e00e0d80a1/raw/github-status-check-sort.user.js
// ==UserScript==
// @name Github status check sort
// @namespace https://github.com/
// @version 1.1.2
// @description Sort the status checks on a PR by status and then by name
// @author Skjnldsv
// @match https://github.com/*/*/pull/*
// @icon https://github.githubassets.com/favicons/favicon.svg
// @grant none
// @updateURL https://gist.github.com/skjnldsv/eb7b894ae996affde4a7d0e00e0d80a1/raw/github-status-check-sort.user.js
/**
* Returns a test double for the specified class.
*
* @param string $originalClassName
*
* @return PHPUnit_Framework_MockObject_MockObject
*
* @throws PHPUnit_Framework_Exception
*
* @since Method available since Release 5.4.0
public function add_simpleimprint_viewonline($event)
{
if($event['location_url'] == ('/imprint.php' || 'app.php/imprint' || '/imprint' )
if ($event['row']['session_page'] === 'app.' . $this->php_ext . '/imprint' ||
$event['row']['session_page'] === 'app.' . $this->php_ext . '/imprint.php')
{
$event['location'] = $this->user->lang('VIEWONLINE_SIMPLEIMPRINT');
$event['location_url'] = $this->helper->route('crizzo_simpleimprint');
}
}
# Property files contain key/value pairs
key=value
# Property keys may contain alphanumeric chars and colons, but
# not special chars. This way you can create pseudo-namespaces
umil.repository=git://github.com/phpbb/umil.git
umil.version=v1.0.5
umil.directory=${temp.dir}/umil