This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'); | |
} | |
} |