repo stringlengths 7 63 | file_url stringlengths 81 284 | file_path stringlengths 5 200 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:02:33 2026-01-05 05:24:06 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
openbenches/openbenches.org | https://github.com/openbenches/openbenches.org/blob/548728c8f59e5dfca2dda6efd1612e4fa31205b9/www/public/commentics/frontend/view/default/language/english/part/rss.php | www/public/commentics/frontend/view/default/language/english/part/rss.php | <?php
// Title
$_['lang_title_rss'] = 'Get RSS alerts for this page';
// Text
$_['lang_text_rss'] = 'RSS Alerts';
$_['lang_text_description'] = 'Comments';
$_['lang_text_poster'] = '%s';
| php | MIT | 548728c8f59e5dfca2dda6efd1612e4fa31205b9 | 2026-01-05T02:33:43.558014Z | false |
openbenches/openbenches.org | https://github.com/openbenches/openbenches.org/blob/548728c8f59e5dfca2dda6efd1612e4fa31205b9/www/public/commentics/frontend/view/default/language/english/main/page.php | www/public/commentics/frontend/view/default/language/english/main/page.php | <?php
// Heading
$_['lang_heading_maintenance'] = 'Comments';
// Text
$_['lang_text_generated_in'] = 'Generated in';
$_['lang_text_seconds'] = 'seconds';
$_['lang_text_queries'] = 'Queries';
// Modal
$_['lang_modal_autodetect_heading'] = 'Commentics Theme Settings';
$_['lang_m... | php | MIT | 548728c8f59e5dfca2dda6efd1612e4fa31205b9 | 2026-01-05T02:33:43.558014Z | false |
openbenches/openbenches.org | https://github.com/openbenches/openbenches.org/blob/548728c8f59e5dfca2dda6efd1612e4fa31205b9/www/public/commentics/frontend/view/default/language/english/main/comments.php | www/public/commentics/frontend/view/default/language/english/main/comments.php | <?php
// Heading
$_['lang_heading_comments'] = 'Comments';
// Text
$_['lang_text_says'] = 'says...';
$_['lang_text_permalink'] = 'Share a link to this comment';
$_['lang_text_replying_to'] = 'You are replying to';
$_['lang_text_not_replying'] = 'You are not replying to anyone... | php | MIT | 548728c8f59e5dfca2dda6efd1612e4fa31205b9 | 2026-01-05T02:33:43.558014Z | false |
openbenches/openbenches.org | https://github.com/openbenches/openbenches.org/blob/548728c8f59e5dfca2dda6efd1612e4fa31205b9/www/public/commentics/frontend/view/default/language/english/main/user.php | www/public/commentics/frontend/view/default/language/english/main/user.php | <?php
// Message
$_['lang_message_success'] = 'Your subscription is confirmed';
$_['lang_message_error_confirmed'] = 'Your subscription is already confirmed';
$_['lang_message_error_no_sub'] = 'No subscription found';
$_['lang_message_error_no_user'] = 'No user found';
$_['lang_message_error_in... | php | MIT | 548728c8f59e5dfca2dda6efd1612e4fa31205b9 | 2026-01-05T02:33:43.558014Z | false |
openbenches/openbenches.org | https://github.com/openbenches/openbenches.org/blob/548728c8f59e5dfca2dda6efd1612e4fa31205b9/www/public/commentics/frontend/view/default/language/english/main/form.php | www/public/commentics/frontend/view/default/language/english/main/form.php | <?php
// Heading
$_['lang_heading_form'] = 'Add Comment';
// Entry
$_['lang_entry_notify'] = 'Notify me of new comments<span class="cmtx_checkbox_extra"> via email</span>';
$_['lang_entry_cookie'] = 'Remember my form inputs<span class="cmtx_checkbox_extra"> on this... | php | MIT | 548728c8f59e5dfca2dda6efd1612e4fa31205b9 | 2026-01-05T02:33:43.558014Z | false |
openbenches/openbenches.org | https://github.com/openbenches/openbenches.org/blob/548728c8f59e5dfca2dda6efd1612e4fa31205b9/www/public/commentics/3rdparty/htmlawed/htmlawed.php | www/public/commentics/3rdparty/htmlawed/htmlawed.php | <?php
/**
* htmLawed.php – Filter/sanitize HTML text.
*
* Use: $out = htmLawed($in, $config, $spec); see htmLawed_README.
*
* Code overview in htmLawed_README §5.6. Familiarity with HTML standards and
* documentation on htmLawed configuration required to understand code.
*
* A PHP Labware internal utility - bi... | php | MIT | 548728c8f59e5dfca2dda6efd1612e4fa31205b9 | 2026-01-05T02:33:43.558014Z | true |
openbenches/openbenches.org | https://github.com/openbenches/openbenches.org/blob/548728c8f59e5dfca2dda6efd1612e4fa31205b9/www/public/commentics/install/index.php | www/public/commentics/install/index.php | <?php
/* Stop here if PHP less than 5.3 due to no namespaces */
if (version_compare(PHP_VERSION, '5.3.0', '<')) {
die('PHP 5.3.7+ required');
}
define('CMTX_INSTALL', true);
define('CMTX_VERSION', '4.4');
header('Content-Type: text/html; charset=utf-8');
// Default session parameters
$session_parameters = array... | php | MIT | 548728c8f59e5dfca2dda6efd1612e4fa31205b9 | 2026-01-05T02:33:43.558014Z | false |
openbenches/openbenches.org | https://github.com/openbenches/openbenches.org/blob/548728c8f59e5dfca2dda6efd1612e4fa31205b9/www/public/commentics/install/controller/common/footer.php | www/public/commentics/install/controller/common/footer.php | <?php
namespace Commentics;
class CommonFooterController extends Controller
{
public function index()
{
return $this->data;
}
}
| php | MIT | 548728c8f59e5dfca2dda6efd1612e4fa31205b9 | 2026-01-05T02:33:43.558014Z | false |
openbenches/openbenches.org | https://github.com/openbenches/openbenches.org/blob/548728c8f59e5dfca2dda6efd1612e4fa31205b9/www/public/commentics/install/controller/common/header.php | www/public/commentics/install/controller/common/header.php | <?php
namespace Commentics;
class CommonHeaderController extends Controller
{
public function index()
{
$this->loadLanguage('common/header');
$this->data['stylesheet'] = $this->loadStylesheet('stylesheet.css');
$this->data['jquery'] = $this->loadJavascript('jquery/jquery.min.js');
... | php | MIT | 548728c8f59e5dfca2dda6efd1612e4fa31205b9 | 2026-01-05T02:33:43.558014Z | false |
openbenches/openbenches.org | https://github.com/openbenches/openbenches.org/blob/548728c8f59e5dfca2dda6efd1612e4fa31205b9/www/public/commentics/install/controller/main/install_2.php | www/public/commentics/install/controller/main/install_2.php | <?php
namespace Commentics;
class MainInstall2Controller extends Controller
{
public function index()
{
if (!$this->db->isConnected() || $this->db->isInstalled()) {
$this->response->redirect('start');
}
$this->loadLanguage('main/install_2');
if ($this->request->ser... | php | MIT | 548728c8f59e5dfca2dda6efd1612e4fa31205b9 | 2026-01-05T02:33:43.558014Z | false |
openbenches/openbenches.org | https://github.com/openbenches/openbenches.org/blob/548728c8f59e5dfca2dda6efd1612e4fa31205b9/www/public/commentics/install/controller/main/start.php | www/public/commentics/install/controller/main/start.php | <?php
namespace Commentics;
class MainStartController extends Controller
{
public function index()
{
$this->loadLanguage('main/start');
if ($this->session->getId() != '') {
$this->session->data['cmtx_session_test'] = true;
}
if ($this->request->server['REQUEST_METH... | php | MIT | 548728c8f59e5dfca2dda6efd1612e4fa31205b9 | 2026-01-05T02:33:43.558014Z | false |
openbenches/openbenches.org | https://github.com/openbenches/openbenches.org/blob/548728c8f59e5dfca2dda6efd1612e4fa31205b9/www/public/commentics/install/controller/main/menu.php | www/public/commentics/install/controller/main/menu.php | <?php
namespace Commentics;
class MainMenuController extends Controller
{
public function index()
{
if (!$this->db->isConnected()) {
$this->response->redirect('start');
}
$this->loadLanguage('main/menu');
if ($this->request->server['REQUEST_METHOD'] == 'POST') {
... | php | MIT | 548728c8f59e5dfca2dda6efd1612e4fa31205b9 | 2026-01-05T02:33:43.558014Z | false |
openbenches/openbenches.org | https://github.com/openbenches/openbenches.org/blob/548728c8f59e5dfca2dda6efd1612e4fa31205b9/www/public/commentics/install/controller/main/upgrade_1.php | www/public/commentics/install/controller/main/upgrade_1.php | <?php
namespace Commentics;
class MainUpgrade1Controller extends Controller
{
public function index()
{
if (!$this->db->isConnected()) {
$this->response->redirect('start');
}
$this->loadLanguage('main/upgrade_1');
$this->loadModel('main/upgrade_1');
if ($t... | php | MIT | 548728c8f59e5dfca2dda6efd1612e4fa31205b9 | 2026-01-05T02:33:43.558014Z | false |
openbenches/openbenches.org | https://github.com/openbenches/openbenches.org/blob/548728c8f59e5dfca2dda6efd1612e4fa31205b9/www/public/commentics/install/controller/main/database.php | www/public/commentics/install/controller/main/database.php | <?php
namespace Commentics;
class MainDatabaseController extends Controller
{
public function index()
{
if (defined('CMTX_DB_HOSTNAME')) {
$this->response->redirect('start');
}
$this->loadLanguage('main/database');
if ($this->request->server['REQUEST_METHOD'] == 'P... | php | MIT | 548728c8f59e5dfca2dda6efd1612e4fa31205b9 | 2026-01-05T02:33:43.558014Z | false |
openbenches/openbenches.org | https://github.com/openbenches/openbenches.org/blob/548728c8f59e5dfca2dda6efd1612e4fa31205b9/www/public/commentics/install/controller/main/upgrade_2.php | www/public/commentics/install/controller/main/upgrade_2.php | <?php
namespace Commentics;
class MainUpgrade2Controller extends Controller
{
public function index()
{
if (!$this->db->isConnected() || !$this->db->isInstalled()) {
$this->response->redirect('start');
}
$this->loadLanguage('main/upgrade_2');
if ($this->request->se... | php | MIT | 548728c8f59e5dfca2dda6efd1612e4fa31205b9 | 2026-01-05T02:33:43.558014Z | false |
openbenches/openbenches.org | https://github.com/openbenches/openbenches.org/blob/548728c8f59e5dfca2dda6efd1612e4fa31205b9/www/public/commentics/install/controller/main/install_1.php | www/public/commentics/install/controller/main/install_1.php | <?php
namespace Commentics;
class MainInstall1Controller extends Controller
{
public function index()
{
if (!$this->db->isConnected()) {
$this->response->redirect('start');
}
$this->loadLanguage('main/install_1');
$this->loadModel('main/install_1');
if ($t... | php | MIT | 548728c8f59e5dfca2dda6efd1612e4fa31205b9 | 2026-01-05T02:33:43.558014Z | false |
openbenches/openbenches.org | https://github.com/openbenches/openbenches.org/blob/548728c8f59e5dfca2dda6efd1612e4fa31205b9/www/public/commentics/install/controller/main/system.php | www/public/commentics/install/controller/main/system.php | <?php
namespace Commentics;
class MainSystemController extends Controller
{
public function index()
{
if (!$this->db->isConnected()) {
$this->response->redirect('start');
}
$this->loadLanguage('main/system');
$this->loadModel('main/system');
if ($this->req... | php | MIT | 548728c8f59e5dfca2dda6efd1612e4fa31205b9 | 2026-01-05T02:33:43.558014Z | false |
openbenches/openbenches.org | https://github.com/openbenches/openbenches.org/blob/548728c8f59e5dfca2dda6efd1612e4fa31205b9/www/public/commentics/install/model/main/install_2.php | www/public/commentics/install/model/main/install_2.php | <?php
namespace Commentics;
class MainInstall2Model extends Model
{
public function install()
{
$username = $this->request->post['username'];
$password = password_hash($this->request->post['password_1'], PASSWORD_DEFAULT);
$email = $this->request->post['ema... | php | MIT | 548728c8f59e5dfca2dda6efd1612e4fa31205b9 | 2026-01-05T02:33:43.558014Z | true |
openbenches/openbenches.org | https://github.com/openbenches/openbenches.org/blob/548728c8f59e5dfca2dda6efd1612e4fa31205b9/www/public/commentics/install/model/main/upgrade_1.php | www/public/commentics/install/model/main/upgrade_1.php | <?php
namespace Commentics;
class MainUpgrade1Model extends Model
{
public function getInstalledVersion()
{
$query = $this->db->query("SELECT `version` FROM `" . CMTX_DB_PREFIX . "version` ORDER BY `date_added` DESC LIMIT 1");
$result = $this->db->row($query);
return $result['version'... | php | MIT | 548728c8f59e5dfca2dda6efd1612e4fa31205b9 | 2026-01-05T02:33:43.558014Z | false |
openbenches/openbenches.org | https://github.com/openbenches/openbenches.org/blob/548728c8f59e5dfca2dda6efd1612e4fa31205b9/www/public/commentics/install/model/main/database.php | www/public/commentics/install/model/main/database.php | <?php
namespace Commentics;
class MainDatabaseModel extends Model
{
public function writeConfig()
{
$data = '';
$data .= '<?php' . PHP_EOL;
$data .= '/* Database Details */' . PHP_EOL;
$data .= 'define(\'CMTX_DB_DATABASE\', \'' . addslashes($this->request->post['database']) . '... | php | MIT | 548728c8f59e5dfca2dda6efd1612e4fa31205b9 | 2026-01-05T02:33:43.558014Z | false |
openbenches/openbenches.org | https://github.com/openbenches/openbenches.org/blob/548728c8f59e5dfca2dda6efd1612e4fa31205b9/www/public/commentics/install/model/main/upgrade_2.php | www/public/commentics/install/model/main/upgrade_2.php | <?php
namespace Commentics;
class MainUpgrade2Model extends Model
{
public function upgrade($version)
{
$this->loadModel('main/install_2');
if ($version == '3.0 -> 3.1') {
$this->db->query("INSERT INTO `" . CMTX_DB_PREFIX . "settings` SET `category` = 'comments', `title` = 'hide_re... | php | MIT | 548728c8f59e5dfca2dda6efd1612e4fa31205b9 | 2026-01-05T02:33:43.558014Z | true |
openbenches/openbenches.org | https://github.com/openbenches/openbenches.org/blob/548728c8f59e5dfca2dda6efd1612e4fa31205b9/www/public/commentics/install/model/main/install_1.php | www/public/commentics/install/model/main/install_1.php | <?php
namespace Commentics;
class MainInstall1Model extends Model
{
public function getTimeZones()
{
$time_zones = \DateTimeZone::listIdentifiers();
return $time_zones;
}
}
| php | MIT | 548728c8f59e5dfca2dda6efd1612e4fa31205b9 | 2026-01-05T02:33:43.558014Z | false |
openbenches/openbenches.org | https://github.com/openbenches/openbenches.org/blob/548728c8f59e5dfca2dda6efd1612e4fa31205b9/www/public/commentics/install/model/main/system.php | www/public/commentics/install/model/main/system.php | <?php
namespace Commentics;
class MainSystemModel extends Model
{
public function check()
{
$check = array();
$check['continue'] = true;
if (version_compare(PHP_VERSION, '5.3.7', '>=')) {
$check['php_version'] = true;
} else {
$check['php_version'] = fa... | php | MIT | 548728c8f59e5dfca2dda6efd1612e4fa31205b9 | 2026-01-05T02:33:43.558014Z | false |
openbenches/openbenches.org | https://github.com/openbenches/openbenches.org/blob/548728c8f59e5dfca2dda6efd1612e4fa31205b9/www/public/commentics/install/view/default/language/english/common/header.php | www/public/commentics/install/view/default/language/english/common/header.php | <?php
// Heading
$_['lang_heading_welcome'] = 'Welcome';
$_['lang_heading_database'] = 'Database';
$_['lang_heading_system'] = 'System';
$_['lang_heading_menu'] = 'Menu';
$_['lang_heading_action'] = 'Action';
$_['lang_heading_done'] = 'Done';
| php | MIT | 548728c8f59e5dfca2dda6efd1612e4fa31205b9 | 2026-01-05T02:33:43.558014Z | false |
openbenches/openbenches.org | https://github.com/openbenches/openbenches.org/blob/548728c8f59e5dfca2dda6efd1612e4fa31205b9/www/public/commentics/install/view/default/language/english/main/install_2.php | www/public/commentics/install/view/default/language/english/main/install_2.php | <?php
// Success
$_['lang_success_install'] = 'Installation complete!';
// Info
$_['lang_info_backend'] = 'You can now go to the <a href="%s">admin panel</a>.';
// Error
$_['lang_error_failure'] = 'Installation failed. Please consult the error messages below.';
| php | MIT | 548728c8f59e5dfca2dda6efd1612e4fa31205b9 | 2026-01-05T02:33:43.558014Z | false |
openbenches/openbenches.org | https://github.com/openbenches/openbenches.org/blob/548728c8f59e5dfca2dda6efd1612e4fa31205b9/www/public/commentics/install/view/default/language/english/main/start.php | www/public/commentics/install/view/default/language/english/main/start.php | <?php
// Text
$_['lang_text_welcome'] = 'Welcome to the Installer for Commentics.';
$_['lang_text_installing'] = 'If you are <b>installing</b> the programme make sure that:';
$_['lang_text_create_database'] = 'You have created the database';
$_['lang_text_upgrading'] = 'If you are <b>upgrading</b... | php | MIT | 548728c8f59e5dfca2dda6efd1612e4fa31205b9 | 2026-01-05T02:33:43.558014Z | false |
openbenches/openbenches.org | https://github.com/openbenches/openbenches.org/blob/548728c8f59e5dfca2dda6efd1612e4fa31205b9/www/public/commentics/install/view/default/language/english/main/menu.php | www/public/commentics/install/view/default/language/english/main/menu.php | <?php
// Text
$_['lang_text_action'] = 'Would you like to install or upgrade the programme?';
// Entry
$_['lang_entry_install'] = 'Install';
$_['lang_entry_upgrade'] = 'Upgrade';
// Button
$_['lang_button_continue'] = 'Continue';
| php | MIT | 548728c8f59e5dfca2dda6efd1612e4fa31205b9 | 2026-01-05T02:33:43.558014Z | false |
openbenches/openbenches.org | https://github.com/openbenches/openbenches.org/blob/548728c8f59e5dfca2dda6efd1612e4fa31205b9/www/public/commentics/install/view/default/language/english/main/upgrade_1.php | www/public/commentics/install/view/default/language/english/main/upgrade_1.php | <?php
// Text
$_['lang_text_upgrade'] = 'The Installer will now upgrade the tables in the database.';
$_['lang_text_installed'] = 'Installed Version:';
$_['lang_text_latest'] = 'Latest Version:';
// Button
$_['lang_button_upgrade'] = 'Upgrade';
// Error
$_['lang_error_latest'] = 'You already have the late... | php | MIT | 548728c8f59e5dfca2dda6efd1612e4fa31205b9 | 2026-01-05T02:33:43.558014Z | false |
openbenches/openbenches.org | https://github.com/openbenches/openbenches.org/blob/548728c8f59e5dfca2dda6efd1612e4fa31205b9/www/public/commentics/install/view/default/language/english/main/database.php | www/public/commentics/install/view/default/language/english/main/database.php | <?php
// Text
$_['lang_text_enter_details'] = 'Please enter your database details.';
// Entry
$_['lang_entry_database'] = 'Database Name:';
$_['lang_entry_username'] = 'MySQL Username:';
$_['lang_entry_password'] = 'MySQL Password:';
$_['lang_entry_hostname'] = 'Database Host:';
$_['lang_entry_port'] ... | php | MIT | 548728c8f59e5dfca2dda6efd1612e4fa31205b9 | 2026-01-05T02:33:43.558014Z | false |
openbenches/openbenches.org | https://github.com/openbenches/openbenches.org/blob/548728c8f59e5dfca2dda6efd1612e4fa31205b9/www/public/commentics/install/view/default/language/english/main/upgrade_2.php | www/public/commentics/install/view/default/language/english/main/upgrade_2.php | <?php
// Success
$_['lang_success_upgrade'] = 'Upgrade complete!';
// Info
$_['lang_info_backend'] = 'You can now go to the <a href="%s">admin panel</a>.';
// Error
$_['lang_error_failure'] = 'Upgrade failed. Please consult the error messages below.';
| php | MIT | 548728c8f59e5dfca2dda6efd1612e4fa31205b9 | 2026-01-05T02:33:43.558014Z | false |
openbenches/openbenches.org | https://github.com/openbenches/openbenches.org/blob/548728c8f59e5dfca2dda6efd1612e4fa31205b9/www/public/commentics/install/view/default/language/english/main/install_1.php | www/public/commentics/install/view/default/language/english/main/install_1.php | <?php
// Heading
$_['lang_heading_admin'] = 'Administrator';
$_['lang_heading_website'] = 'Website';
$_['lang_heading_general'] = 'General';
// Text
$_['lang_text_install'] = 'The Installer will now create the tables in the database.';
$_['lang_text_admin'] = 'These se... | php | MIT | 548728c8f59e5dfca2dda6efd1612e4fa31205b9 | 2026-01-05T02:33:43.558014Z | false |
openbenches/openbenches.org | https://github.com/openbenches/openbenches.org/blob/548728c8f59e5dfca2dda6efd1612e4fa31205b9/www/public/commentics/install/view/default/language/english/main/system.php | www/public/commentics/install/view/default/language/english/main/system.php | <?php
// Text
$_['lang_text_system_check'] = 'A system check is being performed ...';
$_['lang_text_pass'] = 'Pass';
$_['lang_text_fail'] = 'Fail';
// Item
$_['lang_item_php_version'] = 'PHP version is 5.3.7 or higher';
$_['lang_item_mysql_version'] = 'MySQL is 5.5.3 or higher';
$_[... | php | MIT | 548728c8f59e5dfca2dda6efd1612e4fa31205b9 | 2026-01-05T02:33:43.558014Z | false |
openbenches/openbenches.org | https://github.com/openbenches/openbenches.org/blob/548728c8f59e5dfca2dda6efd1612e4fa31205b9/www/public/js/vision/vision.js.php | www/public/js/vision/vision.js.php | <?php
// TODO - fix this ugly hack
$env = file_get_contents("../../../.env.local");
$env = explode("\n", $env);
foreach($env as $e) {
if (str_starts_with($e, "CLOUD_VISION_KEY") ) {
$key = str_replace(["CLOUD_VISION_KEY=", "\""], "", $e);
}
}
header("Content-Type: text/javascript");
?>
... | php | MIT | 548728c8f59e5dfca2dda6efd1612e4fa31205b9 | 2026-01-05T02:33:43.558014Z | false |
openbenches/openbenches.org | https://github.com/openbenches/openbenches.org/blob/548728c8f59e5dfca2dda6efd1612e4fa31205b9/www/config/bundles.php | www/config/bundles.php | <?php
return [
Symfony\Bundle\FrameworkBundle\FrameworkBundle::class => ['all' => true],
Symfony\Bundle\SecurityBundle\SecurityBundle::class => ['all' => true],
Auth0\Symfony\Auth0Bundle::class => ['all' => true],
Symfony\Bundle\TwigBundle\TwigBundle::class => ['all' => true],
]; | php | MIT | 548728c8f59e5dfca2dda6efd1612e4fa31205b9 | 2026-01-05T02:33:43.558014Z | false |
deployphp/phar-update | https://github.com/deployphp/phar-update/blob/6923916d9717c4b2966cd998b83b32bfce3932f2/src/Update.php | src/Update.php | <?php
namespace Deployer\Component\PharUpdate;
use Deployer\Component\PharUpdate\Exception\FileException;
use Deployer\Component\PharUpdate\Exception\LogicException;
use Deployer\Component\Version\Comparator;
use Deployer\Component\Version\Version;
use Phar;
use SplFileObject;
use UnexpectedValueException;
/**
* Ma... | php | MIT | 6923916d9717c4b2966cd998b83b32bfce3932f2 | 2026-01-05T02:36:36.973359Z | false |
deployphp/phar-update | https://github.com/deployphp/phar-update/blob/6923916d9717c4b2966cd998b83b32bfce3932f2/src/Manager.php | src/Manager.php | <?php
namespace Deployer\Component\PharUpdate;
use Deployer\Component\PharUpdate\Exception\InvalidArgumentException;
use Deployer\Component\Version\Parser;
use Deployer\Component\Version\Version;
/**
* Manages the Phar update process.
*
* @author Kevin Herrera <kevin@herrera.io>
*/
class Manager
{
/**
*... | php | MIT | 6923916d9717c4b2966cd998b83b32bfce3932f2 | 2026-01-05T02:36:36.973359Z | false |
deployphp/phar-update | https://github.com/deployphp/phar-update/blob/6923916d9717c4b2966cd998b83b32bfce3932f2/src/Manifest.php | src/Manifest.php | <?php
namespace Deployer\Component\PharUpdate;
use Deployer\Component\Version\Comparator;
use Deployer\Component\Version\Parser;
use Deployer\Component\Version\Version;
/**
* Manages the contents of an updates manifest file.
*
* @author Kevin Herrera <kevin@herrera.io>
*/
class Manifest
{
/**
* The list... | php | MIT | 6923916d9717c4b2966cd998b83b32bfce3932f2 | 2026-01-05T02:36:36.973359Z | false |
deployphp/phar-update | https://github.com/deployphp/phar-update/blob/6923916d9717c4b2966cd998b83b32bfce3932f2/src/PHPUnit/TestCase.php | src/PHPUnit/TestCase.php | <?php
namespace Deployer\Component\PHPUnit;
use Deployer\Component\PHPUnit\Exception\FileSystemException;
use Deployer\Component\PHPUnit\Exception\ReflectionException;
use PHPUnit_Framework_TestCase;
use ReflectionClass;
use ReflectionMethod;
use ReflectionProperty;
use Symfony\Component\Process\ProcessBuilder;
/**
... | php | MIT | 6923916d9717c4b2966cd998b83b32bfce3932f2 | 2026-01-05T02:36:36.973359Z | false |
deployphp/phar-update | https://github.com/deployphp/phar-update/blob/6923916d9717c4b2966cd998b83b32bfce3932f2/src/PHPUnit/Extras.php | src/PHPUnit/Extras.php | <?php
namespace Deployer\Component\PHPUnit;
use Deployer\Component\PHPUnit\Exception\FileSystemException;
use Deployer\Component\PHPUnit\Exception\ReflectionException;
use ReflectionClass;
use ReflectionMethod;
use ReflectionProperty;
use Symfony\Component\Process\Process;
use Symfony\Component\Process\ProcessBuilder... | php | MIT | 6923916d9717c4b2966cd998b83b32bfce3932f2 | 2026-01-05T02:36:36.973359Z | false |
deployphp/phar-update | https://github.com/deployphp/phar-update/blob/6923916d9717c4b2966cd998b83b32bfce3932f2/src/PHPUnit/Exception/ReflectionException.php | src/PHPUnit/Exception/ReflectionException.php | <?php
namespace Deployer\Component\PHPUnit\Exception;
use ReflectionException as Base;
/**
* This exception is thrown if there is a reflection error.
*
* @author Kevin Herrera <kevin@herrera.io>
*/
class ReflectionException extends Base implements ExceptionInterface
{
}
| php | MIT | 6923916d9717c4b2966cd998b83b32bfce3932f2 | 2026-01-05T02:36:36.973359Z | false |
deployphp/phar-update | https://github.com/deployphp/phar-update/blob/6923916d9717c4b2966cd998b83b32bfce3932f2/src/PHPUnit/Exception/FileSystemException.php | src/PHPUnit/Exception/FileSystemException.php | <?php
namespace Deployer\Component\PHPUnit\Exception;
use Exception;
use RuntimeException;
/**
* This exception is thrown if there is a problem using the file system.
*
* @author Kevin Herrera <kevin@herrera.io>
*/
class FileSystemException extends RuntimeException implements ExceptionInterface
{
/**
* ... | php | MIT | 6923916d9717c4b2966cd998b83b32bfce3932f2 | 2026-01-05T02:36:36.973359Z | false |
deployphp/phar-update | https://github.com/deployphp/phar-update/blob/6923916d9717c4b2966cd998b83b32bfce3932f2/src/PHPUnit/Exception/ExceptionInterface.php | src/PHPUnit/Exception/ExceptionInterface.php | <?php
namespace Deployer\Component\PHPUnit\Exception;
/**
* The interface is used to indicate the library responsible for the exception.
*
* @author Kevin Herrera <kevin@herrera.io>
*/
interface ExceptionInterface
{
} | php | MIT | 6923916d9717c4b2966cd998b83b32bfce3932f2 | 2026-01-05T02:36:36.973359Z | false |
deployphp/phar-update | https://github.com/deployphp/phar-update/blob/6923916d9717c4b2966cd998b83b32bfce3932f2/src/Console/Command.php | src/Console/Command.php | <?php
namespace Deployer\Component\PharUpdate\Console;
use LogicException;
use Symfony\Component\Console\Command\Command as Base;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
/**
* Manages updating or upgrad... | php | MIT | 6923916d9717c4b2966cd998b83b32bfce3932f2 | 2026-01-05T02:36:36.973359Z | false |
deployphp/phar-update | https://github.com/deployphp/phar-update/blob/6923916d9717c4b2966cd998b83b32bfce3932f2/src/Console/Helper.php | src/Console/Helper.php | <?php
namespace Deployer\Component\PharUpdate\Console;
use Deployer\Component\PharUpdate\Manifest;
use Deployer\Component\PharUpdate\Manager;
use Symfony\Component\Console\Helper\Helper as Base;
/**
* The helper provides a Manager factory.
*
* @author Kevin Herrera <kevin@herrera.io>
*/
class Helper extends Base
... | php | MIT | 6923916d9717c4b2966cd998b83b32bfce3932f2 | 2026-01-05T02:36:36.973359Z | false |
deployphp/phar-update | https://github.com/deployphp/phar-update/blob/6923916d9717c4b2966cd998b83b32bfce3932f2/src/Exception/FileException.php | src/Exception/FileException.php | <?php
namespace Deployer\Component\PharUpdate\Exception;
/**
* Used for errors when using the file system.
*
* @author Kevin Herrera <kevin@herrera.io>
*/
class FileException extends Exception
{
}
| php | MIT | 6923916d9717c4b2966cd998b83b32bfce3932f2 | 2026-01-05T02:36:36.973359Z | false |
deployphp/phar-update | https://github.com/deployphp/phar-update/blob/6923916d9717c4b2966cd998b83b32bfce3932f2/src/Exception/Exception.php | src/Exception/Exception.php | <?php
namespace Deployer\Component\PharUpdate\Exception;
/**
* Provides additional functional to the Exception class.
*
* @author Kevin Herrera <kevin@herrera.io>
*/
class Exception extends \Exception implements ExceptionInterface
{
/**
* Creates a new exception using a format and values.
*
* @... | php | MIT | 6923916d9717c4b2966cd998b83b32bfce3932f2 | 2026-01-05T02:36:36.973359Z | false |
deployphp/phar-update | https://github.com/deployphp/phar-update/blob/6923916d9717c4b2966cd998b83b32bfce3932f2/src/Exception/ExceptionInterface.php | src/Exception/ExceptionInterface.php | <?php
namespace Deployer\Component\PharUpdate\Exception;
/**
* Indicates that the exception came from this library.
*
* @author Kevin Herrera <kevin@herrera.io>
*/
interface ExceptionInterface
{
}
| php | MIT | 6923916d9717c4b2966cd998b83b32bfce3932f2 | 2026-01-05T02:36:36.973359Z | false |
deployphp/phar-update | https://github.com/deployphp/phar-update/blob/6923916d9717c4b2966cd998b83b32bfce3932f2/src/Exception/LogicException.php | src/Exception/LogicException.php | <?php
namespace Deployer\Component\PharUpdate\Exception;
/**
* Used if developer did something stupid (or overlooked something).
*
* @author Kevin Herrera <kevin@herrera.io>
*/
class LogicException extends Exception
{
}
| php | MIT | 6923916d9717c4b2966cd998b83b32bfce3932f2 | 2026-01-05T02:36:36.973359Z | false |
deployphp/phar-update | https://github.com/deployphp/phar-update/blob/6923916d9717c4b2966cd998b83b32bfce3932f2/src/Exception/InvalidArgumentException.php | src/Exception/InvalidArgumentException.php | <?php
namespace Deployer\Component\PharUpdate\Exception;
/**
* Used if an invalid argument is given.
*
* @author Kevin Herrera <kevin@herrera.io>
*/
class InvalidArgumentException extends Exception
{
}
| php | MIT | 6923916d9717c4b2966cd998b83b32bfce3932f2 | 2026-01-05T02:36:36.973359Z | false |
deployphp/phar-update | https://github.com/deployphp/phar-update/blob/6923916d9717c4b2966cd998b83b32bfce3932f2/src/Version/Dumper.php | src/Version/Dumper.php | <?php
namespace Deployer\Component\Version;
/**
* Dumps the Version instance to a variety of formats.
*
* @author Kevin Herrera <kevin@herrera.io>
*/
class Dumper
{
/**
* Returns the components of a Version instance.
*
* @param Version $version A version.
*
* @return array The compone... | php | MIT | 6923916d9717c4b2966cd998b83b32bfce3932f2 | 2026-01-05T02:36:36.973359Z | false |
deployphp/phar-update | https://github.com/deployphp/phar-update/blob/6923916d9717c4b2966cd998b83b32bfce3932f2/src/Version/Version.php | src/Version/Version.php | <?php
namespace Deployer\Component\Version;
/**
* Stores and returns the version information.
*
* @author Kevin Herrera <kevin@herrera.io>
*/
class Version
{
/**
* The build metadata identifiers.
*
* @var array
*/
protected $build;
/**
* The major version number.
*
... | php | MIT | 6923916d9717c4b2966cd998b83b32bfce3932f2 | 2026-01-05T02:36:36.973359Z | false |
deployphp/phar-update | https://github.com/deployphp/phar-update/blob/6923916d9717c4b2966cd998b83b32bfce3932f2/src/Version/Builder.php | src/Version/Builder.php | <?php
namespace Deployer\Component\Version;
use Deployer\Component\Version\Exception\InvalidIdentifierException;
use Deployer\Component\Version\Exception\InvalidNumberException;
/**
* Builds a new version number.
*
* @author Kevin Herrera <kevin@herrera.io>
*/
class Builder extends Version
{
/**
* Remov... | php | MIT | 6923916d9717c4b2966cd998b83b32bfce3932f2 | 2026-01-05T02:36:36.973359Z | false |
deployphp/phar-update | https://github.com/deployphp/phar-update/blob/6923916d9717c4b2966cd998b83b32bfce3932f2/src/Version/Comparator.php | src/Version/Comparator.php | <?php
namespace Deployer\Component\Version;
/**
* Compares two Version instances.
*
* @author Kevin Herrera <kevin@herrera.io>
*/
class Comparator
{
/**
* The version is equal to another.
*/
const EQUAL_TO = 0;
/**
* The version is greater than another.
*/
const GREATER_THAN =... | php | MIT | 6923916d9717c4b2966cd998b83b32bfce3932f2 | 2026-01-05T02:36:36.973359Z | false |
deployphp/phar-update | https://github.com/deployphp/phar-update/blob/6923916d9717c4b2966cd998b83b32bfce3932f2/src/Version/Parser.php | src/Version/Parser.php | <?php
namespace Deployer\Component\Version;
use Deployer\Component\Version\Exception\InvalidStringRepresentationException;
/**
* Parses the string representation of a version number.
*
* @author Kevin Herrera <kevin@herrera.io>
*/
class Parser
{
/**
* The build metadata component.
*/
const BUIL... | php | MIT | 6923916d9717c4b2966cd998b83b32bfce3932f2 | 2026-01-05T02:36:36.973359Z | false |
deployphp/phar-update | https://github.com/deployphp/phar-update/blob/6923916d9717c4b2966cd998b83b32bfce3932f2/src/Version/Validator.php | src/Version/Validator.php | <?php
namespace Deployer\Component\Version;
/**
* Validates version information.
*
* @author Kevin Herrera <kevin@herrera.io>
*/
class Validator
{
/**
* The regular expression for a valid identifier.
*/
const IDENTIFIER_REGEX = '/^[0-9A-Za-z\-]+$/';
/**
* The regular expression for a v... | php | MIT | 6923916d9717c4b2966cd998b83b32bfce3932f2 | 2026-01-05T02:36:36.973359Z | false |
deployphp/phar-update | https://github.com/deployphp/phar-update/blob/6923916d9717c4b2966cd998b83b32bfce3932f2/src/Version/Exception/InvalidIdentifierException.php | src/Version/Exception/InvalidIdentifierException.php | <?php
namespace Deployer\Component\Version\Exception;
/**
* Thrown if an invalid identifier is used.
*
* @author Kevin Herrera <kevin@herrera.io>
*/
class InvalidIdentifierException extends VersionException
{
/**
* The invalid identifier.
*
* @var string
*/
private $identifier;
/*... | php | MIT | 6923916d9717c4b2966cd998b83b32bfce3932f2 | 2026-01-05T02:36:36.973359Z | false |
deployphp/phar-update | https://github.com/deployphp/phar-update/blob/6923916d9717c4b2966cd998b83b32bfce3932f2/src/Version/Exception/VersionException.php | src/Version/Exception/VersionException.php | <?php
namespace Deployer\Component\Version\Exception;
use Exception;
/**
* The base library exception class.
*
* @author Kevin Herrera <kevin@herrera.io>
*/
class VersionException extends Exception
{
}
| php | MIT | 6923916d9717c4b2966cd998b83b32bfce3932f2 | 2026-01-05T02:36:36.973359Z | false |
deployphp/phar-update | https://github.com/deployphp/phar-update/blob/6923916d9717c4b2966cd998b83b32bfce3932f2/src/Version/Exception/InvalidNumberException.php | src/Version/Exception/InvalidNumberException.php | <?php
namespace Deployer\Component\Version\Exception;
/**
* Thrown if an invalid version number is used.
*
* @author Kevin Herrera <kevin@herrera.io>
*/
class InvalidNumberException extends VersionException
{
/**
* The invalid version number.
*
* @var mixed
*/
private $number;
/**... | php | MIT | 6923916d9717c4b2966cd998b83b32bfce3932f2 | 2026-01-05T02:36:36.973359Z | false |
deployphp/phar-update | https://github.com/deployphp/phar-update/blob/6923916d9717c4b2966cd998b83b32bfce3932f2/src/Version/Exception/InvalidStringRepresentationException.php | src/Version/Exception/InvalidStringRepresentationException.php | <?php
namespace Deployer\Component\Version\Exception;
/**
* Throw if an invalid version string representation is used.
*
* @author Kevin Herrera <kevin@herrera.io>
*/
class InvalidStringRepresentationException extends VersionException
{
/**
* The invalid string representation.
*
* @var string
... | php | MIT | 6923916d9717c4b2966cd998b83b32bfce3932f2 | 2026-01-05T02:36:36.973359Z | false |
deployphp/phar-update | https://github.com/deployphp/phar-update/blob/6923916d9717c4b2966cd998b83b32bfce3932f2/test/bootstrap.php | test/bootstrap.php | <?php
require __DIR__ . '/../vendor/autoload.php';
org\bovigo\vfs\vfsStreamWrapper::register();
| php | MIT | 6923916d9717c4b2966cd998b83b32bfce3932f2 | 2026-01-05T02:36:36.973359Z | false |
deployphp/phar-update | https://github.com/deployphp/phar-update/blob/6923916d9717c4b2966cd998b83b32bfce3932f2/test/Tests/UpdateTest.php | test/Tests/UpdateTest.php | <?php
namespace Deployer\Component\PharUpdate\Tests;
use Deployer\Component\PharUpdate\Update;
use Deployer\Component\PHPUnit\TestCase;
use Deployer\Component\Version\Parser;
use Deployer\Component\Version\Version;
use org\bovigo\vfs\vfsStream;
use org\bovigo\vfs\vfsStreamWrapper;
use Phar;
class UpdateTest extends ... | php | MIT | 6923916d9717c4b2966cd998b83b32bfce3932f2 | 2026-01-05T02:36:36.973359Z | false |
deployphp/phar-update | https://github.com/deployphp/phar-update/blob/6923916d9717c4b2966cd998b83b32bfce3932f2/test/Tests/ManagerTest.php | test/Tests/ManagerTest.php | <?php
namespace Deployer\Component\PharUpdate;
use Deployer\Component\PHPUnit\TestCase;
use Deployer\Component\Version\Parser;
use Phar;
class ManagerTest extends TestCase
{
/** @var Manager */
private $manager;
/** @var Manifest */
private $manifest;
public function testGetManifest()
{
... | php | MIT | 6923916d9717c4b2966cd998b83b32bfce3932f2 | 2026-01-05T02:36:36.973359Z | false |
deployphp/phar-update | https://github.com/deployphp/phar-update/blob/6923916d9717c4b2966cd998b83b32bfce3932f2/test/Tests/ManifestTest.php | test/Tests/ManifestTest.php | <?php
namespace Deployer\Component\PharUpdate\Tests;
use Deployer\Component\PharUpdate\Manifest;
use Deployer\Component\PharUpdate\Update;
use Deployer\Component\PHPUnit\TestCase;
use Deployer\Component\Version\Parser;
class ManifestTest extends TestCase
{
/** @var Manifest */
private $manifest;
/** @va... | php | MIT | 6923916d9717c4b2966cd998b83b32bfce3932f2 | 2026-01-05T02:36:36.973359Z | false |
deployphp/phar-update | https://github.com/deployphp/phar-update/blob/6923916d9717c4b2966cd998b83b32bfce3932f2/test/Tests/PHPUnit/TestCaseTest.php | test/Tests/PHPUnit/TestCaseTest.php | <?php
namespace Deployer\Component\PHPUnit\Tests;
use Deployer\Component\PHPUnit\TestCase;
class TestCaseTest extends TestCase
{
public function calledMethod(&$var)
{
$var = 123;
}
public function testCallMethod()
{
$test = null;
$this->callMethod($this, 'calledMethod', ... | php | MIT | 6923916d9717c4b2966cd998b83b32bfce3932f2 | 2026-01-05T02:36:36.973359Z | false |
deployphp/phar-update | https://github.com/deployphp/phar-update/blob/6923916d9717c4b2966cd998b83b32bfce3932f2/test/Tests/PHPUnit/ExtrasTest.php | test/Tests/PHPUnit/ExtrasTest.php | <?php
namespace Deployer\Component\PHPUnit\Tests;
use Deployer\Component\PHPUnit\Extras;
use PHPUnit_Framework_TestCase;
class ExtrasTest extends PHPUnit_Framework_TestCase
{
use Extras;
public function calledMethod(&$var)
{
$var = 123;
}
public function testCallMethod()
{
$... | php | MIT | 6923916d9717c4b2966cd998b83b32bfce3932f2 | 2026-01-05T02:36:36.973359Z | false |
deployphp/phar-update | https://github.com/deployphp/phar-update/blob/6923916d9717c4b2966cd998b83b32bfce3932f2/test/Tests/PHPUnit/Exception/FileSystemExceptionTest.php | test/Tests/PHPUnit/Exception/FileSystemExceptionTest.php | <?php
namespace Deployer\Component\PHPUnit\Tests\Exception;
use Exception;
use Deployer\Component\PHPUnit\Exception\FileSystemException;
use PHPUnit_Framework_TestCase as TestCase;
class FileSystemExceptionTest extends TestCase
{
/**
* @var FileSystemException
*/
private $exception;
private $l... | php | MIT | 6923916d9717c4b2966cd998b83b32bfce3932f2 | 2026-01-05T02:36:36.973359Z | false |
deployphp/phar-update | https://github.com/deployphp/phar-update/blob/6923916d9717c4b2966cd998b83b32bfce3932f2/test/Tests/Console/CommandTest.php | test/Tests/Console/CommandTest.php | <?php
use Deployer\Component\PharUpdate\Console\Command;
use Deployer\Component\PharUpdate\Console\Helper;
use Deployer\Component\PHPUnit\TestCase;
use Symfony\Component\Console\Application;
use Symfony\Component\Console\Tester\CommandTester;
class CommandTest extends TestCase
{
/**
* @var Command
*/
... | php | MIT | 6923916d9717c4b2966cd998b83b32bfce3932f2 | 2026-01-05T02:36:36.973359Z | false |
deployphp/phar-update | https://github.com/deployphp/phar-update/blob/6923916d9717c4b2966cd998b83b32bfce3932f2/test/Tests/Console/HelperTest.php | test/Tests/Console/HelperTest.php | <?php
use Deployer\Component\PHPUnit\TestCase;
use Deployer\Component\PharUpdate\Console\Helper;
class HelperTest extends TestCase
{
/**
* @var Helper
*/
private $helper;
public function testGetManager()
{
$file = $this->createFile();
file_put_contents($file, '[]');
... | php | MIT | 6923916d9717c4b2966cd998b83b32bfce3932f2 | 2026-01-05T02:36:36.973359Z | false |
deployphp/phar-update | https://github.com/deployphp/phar-update/blob/6923916d9717c4b2966cd998b83b32bfce3932f2/test/Tests/Exception/ExceptionTest.php | test/Tests/Exception/ExceptionTest.php | <?php
namespace Deployer\Component\PharUpdate\Tests\Exception;
use Deployer\Component\PharUpdate\Exception\Exception;
use Deployer\Component\PHPUnit\TestCase;
class ExceptionTest extends TestCase
{
public function testCreate()
{
$exception = Exception::create('My %s.', 'message');
$this->ass... | php | MIT | 6923916d9717c4b2966cd998b83b32bfce3932f2 | 2026-01-05T02:36:36.973359Z | false |
deployphp/phar-update | https://github.com/deployphp/phar-update/blob/6923916d9717c4b2966cd998b83b32bfce3932f2/test/Tests/Version/Tests/ComparatorTest.php | test/Tests/Version/Tests/ComparatorTest.php | <?php
namespace Deployer\Component\Version\Tests;
use Deployer\Component\PHPUnit\TestCase;
use Deployer\Component\Version\Builder;
use Deployer\Component\Version\Comparator;
class ComparatorTest extends TestCase
{
public function getAll()
{
return array_merge(
$this->getEqual(),
... | php | MIT | 6923916d9717c4b2966cd998b83b32bfce3932f2 | 2026-01-05T02:36:36.973359Z | false |
deployphp/phar-update | https://github.com/deployphp/phar-update/blob/6923916d9717c4b2966cd998b83b32bfce3932f2/test/Tests/Version/Tests/ValidatorTest.php | test/Tests/Version/Tests/ValidatorTest.php | <?php
namespace Deployer\Component\Version\Tests;
use Deployer\Component\PHPUnit\TestCase;
use Deployer\Component\Version\Validator;
class ValidatorTest extends TestCase
{
public function getInvalidIdentifiers()
{
return array(
array('+')
);
}
public function getInvalidNu... | php | MIT | 6923916d9717c4b2966cd998b83b32bfce3932f2 | 2026-01-05T02:36:36.973359Z | false |
deployphp/phar-update | https://github.com/deployphp/phar-update/blob/6923916d9717c4b2966cd998b83b32bfce3932f2/test/Tests/Version/Tests/DumperTest.php | test/Tests/Version/Tests/DumperTest.php | <?php
namespace Deployer\Component\Version\Tests;
use Deployer\Component\PHPUnit\TestCase;
use Deployer\Component\Version\Dumper;
use Deployer\Component\Version\Parser;
use Deployer\Component\Version\Version;
class DumperTest extends TestCase
{
/**
* @var Version
*/
private $version;
public fu... | php | MIT | 6923916d9717c4b2966cd998b83b32bfce3932f2 | 2026-01-05T02:36:36.973359Z | false |
deployphp/phar-update | https://github.com/deployphp/phar-update/blob/6923916d9717c4b2966cd998b83b32bfce3932f2/test/Tests/Version/Tests/ParserTest.php | test/Tests/Version/Tests/ParserTest.php | <?php
namespace Deployer\Component\Version\Tests;
use Deployer\Component\PHPUnit\TestCase;
use Deployer\Component\Version\Parser;
class ParserTest extends TestCase
{
public function testToBuilder()
{
$builder = Parser::toBuilder('1.2.3-pre.1+build.1');
$this->assertSame(1, $builder->getMajor... | php | MIT | 6923916d9717c4b2966cd998b83b32bfce3932f2 | 2026-01-05T02:36:36.973359Z | false |
deployphp/phar-update | https://github.com/deployphp/phar-update/blob/6923916d9717c4b2966cd998b83b32bfce3932f2/test/Tests/Version/Tests/VersionTest.php | test/Tests/Version/Tests/VersionTest.php | <?php
namespace Deployer\Component\Version\Tests;
use Deployer\Component\PHPUnit\TestCase;
use Deployer\Component\Version\Version;
class VersionTest extends TestCase
{
/**
* @var Version
*/
private $version;
public function testConstruct()
{
$version = new Version();
$this... | php | MIT | 6923916d9717c4b2966cd998b83b32bfce3932f2 | 2026-01-05T02:36:36.973359Z | false |
deployphp/phar-update | https://github.com/deployphp/phar-update/blob/6923916d9717c4b2966cd998b83b32bfce3932f2/test/Tests/Version/Tests/BuilderTest.php | test/Tests/Version/Tests/BuilderTest.php | <?php
namespace Deployer\Component\Version\Tests;
use Deployer\Component\PHPUnit\TestCase;
use Deployer\Component\Version\Builder;
use Deployer\Component\Version\Parser;
use Deployer\Component\Version\Version;
class BuilderTest extends TestCase
{
/**
* @var Builder
*/
private $builder;
public ... | php | MIT | 6923916d9717c4b2966cd998b83b32bfce3932f2 | 2026-01-05T02:36:36.973359Z | false |
deployphp/phar-update | https://github.com/deployphp/phar-update/blob/6923916d9717c4b2966cd998b83b32bfce3932f2/test/Tests/Version/Tests/Exception/InvalidStringRepresentationExceptionTest.php | test/Tests/Version/Tests/Exception/InvalidStringRepresentationExceptionTest.php | <?php
namespace Deployer\Component\Version\Tests\Exception;
use Deployer\Component\PHPUnit\TestCase;
use Deployer\Component\Version\Exception\InvalidStringRepresentationException;
class InvalidStringRepresentationExceptionTest extends TestCase
{
public function testConstruct()
{
$exception = new Inva... | php | MIT | 6923916d9717c4b2966cd998b83b32bfce3932f2 | 2026-01-05T02:36:36.973359Z | false |
deployphp/phar-update | https://github.com/deployphp/phar-update/blob/6923916d9717c4b2966cd998b83b32bfce3932f2/test/Tests/Version/Tests/Exception/InvalidIdentifierExceptionTest.php | test/Tests/Version/Tests/Exception/InvalidIdentifierExceptionTest.php | <?php
namespace Deployer\Component\Version\Tests\Exception;
use Deployer\Component\PHPUnit\TestCase;
use Deployer\Component\Version\Exception\InvalidIdentifierException;
class InvalidIdentifierExceptionTest extends TestCase
{
public function testConstruct()
{
$exception = new InvalidIdentifierExcepti... | php | MIT | 6923916d9717c4b2966cd998b83b32bfce3932f2 | 2026-01-05T02:36:36.973359Z | false |
deployphp/phar-update | https://github.com/deployphp/phar-update/blob/6923916d9717c4b2966cd998b83b32bfce3932f2/test/Tests/Version/Tests/Exception/InvalidNumberExceptionTest.php | test/Tests/Version/Tests/Exception/InvalidNumberExceptionTest.php | <?php
namespace Deployer\Component\Version\Tests\Exception;
use Deployer\Component\PHPUnit\TestCase;
use Deployer\Component\Version\Exception\InvalidNumberException;
class InvalidNumberExceptionTest extends TestCase
{
public function testConstruct()
{
$exception = new InvalidNumberException('test');
... | php | MIT | 6923916d9717c4b2966cd998b83b32bfce3932f2 | 2026-01-05T02:36:36.973359Z | false |
Nodge/yii2-eauth | https://github.com/Nodge/yii2-eauth/blob/04798651fdb3a0db9ed5272330f18b26733507a0/src/IAuthService.php | src/IAuthService.php | <?php
/**
* IAuthService interface file.
*
* @author Maxim Zemskov <nodge@yandex.ru>
* @link http://github.com/Nodge/yii-eauth/
* @license http://www.opensource.org/licenses/bsd-license.php
*/
namespace nodge\eauth;
/**
* IAuthService is the interface for all service types and providers.
*
* @package applica... | php | BSD-2-Clause | 04798651fdb3a0db9ed5272330f18b26733507a0 | 2026-01-05T02:36:51.018464Z | false |
Nodge/yii2-eauth | https://github.com/Nodge/yii2-eauth/blob/04798651fdb3a0db9ed5272330f18b26733507a0/src/Bootstrap.php | src/Bootstrap.php | <?php
/**
* Extension class file.
*
* @author Maxim Zemskov <nodge@yandex.ru>
* @link http://github.com/Nodge/yii2-eauth/
* @license http://www.opensource.org/licenses/bsd-license.php
*/
namespace nodge\eauth;
use Yii;
use yii\base\Application;
use yii\base\BootstrapInterface;
/**
* This is the bootstrap clas... | php | BSD-2-Clause | 04798651fdb3a0db9ed5272330f18b26733507a0 | 2026-01-05T02:36:51.018464Z | false |
Nodge/yii2-eauth | https://github.com/Nodge/yii2-eauth/blob/04798651fdb3a0db9ed5272330f18b26733507a0/src/EAuth.php | src/EAuth.php | <?php
/**
* EAuth class file.
*
* @author Maxim Zemskov <nodge@yandex.ru>
* @link http://github.com/Nodge/yii2-eauth/
* @license http://www.opensource.org/licenses/bsd-license.php
*/
namespace nodge\eauth;
use Yii;
use yii\base\Object;
use yii\helpers\ArrayHelper;
use yii\helpers\Url;
/**
* The EAuth class pr... | php | BSD-2-Clause | 04798651fdb3a0db9ed5272330f18b26733507a0 | 2026-01-05T02:36:51.018464Z | false |
Nodge/yii2-eauth | https://github.com/Nodge/yii2-eauth/blob/04798651fdb3a0db9ed5272330f18b26733507a0/src/RedirectWidget.php | src/RedirectWidget.php | <?php
/**
* AuthRedirectWidget class file.
*
* @author Maxim Zemskov <nodge@yandex.ru>
* @link http://github.com/Nodge/yii2-eauth/
* @license http://www.opensource.org/licenses/bsd-license.php
*/
namespace nodge\eauth;
use \Yii;
use yii\helpers\ArrayHelper;
/**
* The EAuthRedirectWidget widget displays the re... | php | BSD-2-Clause | 04798651fdb3a0db9ed5272330f18b26733507a0 | 2026-01-05T02:36:51.018464Z | false |
Nodge/yii2-eauth | https://github.com/Nodge/yii2-eauth/blob/04798651fdb3a0db9ed5272330f18b26733507a0/src/Widget.php | src/Widget.php | <?php
/**
* Widget class file.
*
* @author Maxim Zemskov <nodge@yandex.ru>
* @link http://github.com/Nodge/yii2-eauth/
* @license http://www.opensource.org/licenses/bsd-license.php
*/
namespace nodge\eauth;
use Yii;
/**
* The EAuthWidget widget prints buttons to authenticate user with OpenID and OAuth provide... | php | BSD-2-Clause | 04798651fdb3a0db9ed5272330f18b26733507a0 | 2026-01-05T02:36:51.018464Z | false |
Nodge/yii2-eauth | https://github.com/Nodge/yii2-eauth/blob/04798651fdb3a0db9ed5272330f18b26733507a0/src/ErrorException.php | src/ErrorException.php | <?php
/**
* ErrorException class file.
*
* @author Maxim Zemskov <nodge@yandex.ru>
* @link http://github.com/Nodge/yii2-eauth/
* @license http://www.opensource.org/licenses/bsd-license.php
*/
namespace nodge\eauth;
class ErrorException extends \yii\base\ErrorException
{
} | php | BSD-2-Clause | 04798651fdb3a0db9ed5272330f18b26733507a0 | 2026-01-05T02:36:51.018464Z | false |
Nodge/yii2-eauth | https://github.com/Nodge/yii2-eauth/blob/04798651fdb3a0db9ed5272330f18b26733507a0/src/ServiceBase.php | src/ServiceBase.php | <?php
/**
* ServiceBase class file.
*
* @author Maxim Zemskov <nodge@yandex.ru>
* @link http://github.com/Nodge/yii2-eauth/
* @license http://www.opensource.org/licenses/bsd-license.php
*/
namespace nodge\eauth;
use Yii;
use yii\base\Object;
use yii\helpers\Url;
use yii\helpers\ArrayHelper;
use OAuth\Common\Htt... | php | BSD-2-Clause | 04798651fdb3a0db9ed5272330f18b26733507a0 | 2026-01-05T02:36:51.018464Z | false |
Nodge/yii2-eauth | https://github.com/Nodge/yii2-eauth/blob/04798651fdb3a0db9ed5272330f18b26733507a0/src/oauth2/Service.php | src/oauth2/Service.php | <?php
/**
* OAuth2 Service class file.
*
* @author Maxim Zemskov <nodge@yandex.ru>
* @link http://github.com/Nodge/yii2-eauth/
* @license http://www.opensource.org/licenses/bsd-license.php
*/
namespace nodge\eauth\oauth2;
use Yii;
use yii\helpers\Url;
use OAuth\Common\Exception\Exception as OAuthException;
use ... | php | BSD-2-Clause | 04798651fdb3a0db9ed5272330f18b26733507a0 | 2026-01-05T02:36:51.018464Z | false |
Nodge/yii2-eauth | https://github.com/Nodge/yii2-eauth/blob/04798651fdb3a0db9ed5272330f18b26733507a0/src/oauth2/ServiceProxy.php | src/oauth2/ServiceProxy.php | <?php
/**
* OAuth2 ServiceProxy class file.
*
* @author Maxim Zemskov <nodge@yandex.ru>
* @link http://github.com/Nodge/yii2-eauth/
* @license http://www.opensource.org/licenses/bsd-license.php
*/
namespace nodge\eauth\oauth2;
use OAuth\Common\Consumer\CredentialsInterface;
use OAuth\Common\Http\Client\ClientIn... | php | BSD-2-Clause | 04798651fdb3a0db9ed5272330f18b26733507a0 | 2026-01-05T02:36:51.018464Z | false |
Nodge/yii2-eauth | https://github.com/Nodge/yii2-eauth/blob/04798651fdb3a0db9ed5272330f18b26733507a0/src/services/InstagramOAuth2Service.php | src/services/InstagramOAuth2Service.php | <?php
/**
* FacebookOAuth2Service class file.
*
* Register application: https://instagram.com/developer/register/
*
* @author PhucPNT. <mail@phucpnt.com>
* @link http://github.com/Nodge/yii2-eauth/
* @license http://www.opensource.org/licenses/bsd-license.php
*/
namespace nodge\eauth\services;
use nodge\eauth... | php | BSD-2-Clause | 04798651fdb3a0db9ed5272330f18b26733507a0 | 2026-01-05T02:36:51.018464Z | false |
Nodge/yii2-eauth | https://github.com/Nodge/yii2-eauth/blob/04798651fdb3a0db9ed5272330f18b26733507a0/src/services/LiveOAuth2Service.php | src/services/LiveOAuth2Service.php | <?php
/**
* LiveOAuth2Service class file.
*
* Register application: https://account.live.com/developers/applications/index
*
* @author Maxim Zemskov <nodge@yandex.ru>
* @link http://github.com/Nodge/yii2-eauth/
* @license http://www.opensource.org/licenses/bsd-license.php
*/
namespace nodge\eauth\services;
us... | php | BSD-2-Clause | 04798651fdb3a0db9ed5272330f18b26733507a0 | 2026-01-05T02:36:51.018464Z | false |
Nodge/yii2-eauth | https://github.com/Nodge/yii2-eauth/blob/04798651fdb3a0db9ed5272330f18b26733507a0/src/services/LinkedinOAuth2Service.php | src/services/LinkedinOAuth2Service.php | <?php
/**
* LinkedinOAuth2Service class file.
*
* Register application: https://www.linkedin.com/secure/developer
* Note: Integration URL should be filled with a valid callback url.
*
* @author Maxim Zemskov <nodge@yandex.ru>
* @link http://github.com/Nodge/yii2-eauth/
* @license http://www.opensource.org/licen... | php | BSD-2-Clause | 04798651fdb3a0db9ed5272330f18b26733507a0 | 2026-01-05T02:36:51.018464Z | false |
Nodge/yii2-eauth | https://github.com/Nodge/yii2-eauth/blob/04798651fdb3a0db9ed5272330f18b26733507a0/src/services/SteamOpenIDService.php | src/services/SteamOpenIDService.php | <?php
/**
* SteamOpenIDService class file.
*
* @author Dmitry Ananichev <a@qozz.ru>
* @link http://github.com/Nodge/yii2-eauth/
* @license http://www.opensource.org/licenses/bsd-license.php
*/
namespace nodge\eauth\services;
use nodge\eauth\openid\Service;
/**
* Steam provider class.
*
* @package applicatio... | php | BSD-2-Clause | 04798651fdb3a0db9ed5272330f18b26733507a0 | 2026-01-05T02:36:51.018464Z | false |
Nodge/yii2-eauth | https://github.com/Nodge/yii2-eauth/blob/04798651fdb3a0db9ed5272330f18b26733507a0/src/services/VKontakteOAuth2Service.php | src/services/VKontakteOAuth2Service.php | <?php
/**
* VKontakteOAuth2Service class file.
*
* Register application: http://vk.com/editapp?act=create&site=1
*
* @author Maxim Zemskov <nodge@yandex.ru>
* @link http://github.com/Nodge/yii2-eauth/
* @license http://www.opensource.org/licenses/bsd-license.php
*/
namespace nodge\eauth\services;
use nodge\ea... | php | BSD-2-Clause | 04798651fdb3a0db9ed5272330f18b26733507a0 | 2026-01-05T02:36:51.018464Z | false |
Nodge/yii2-eauth | https://github.com/Nodge/yii2-eauth/blob/04798651fdb3a0db9ed5272330f18b26733507a0/src/services/LinkedinOAuth1Service.php | src/services/LinkedinOAuth1Service.php | <?php
/**
* LinkedinOAuthService class file.
*
* Register application: https://www.linkedin.com/secure/developer
* Note: Integration URL should be filled with a valid callback url.
*
* @author Maxim Zemskov <nodge@yandex.ru>
* @link http://github.com/Nodge/yii2-eauth/
* @license http://www.opensource.org/licens... | php | BSD-2-Clause | 04798651fdb3a0db9ed5272330f18b26733507a0 | 2026-01-05T02:36:51.018464Z | false |
Nodge/yii2-eauth | https://github.com/Nodge/yii2-eauth/blob/04798651fdb3a0db9ed5272330f18b26733507a0/src/services/YandexOAuth2Service.php | src/services/YandexOAuth2Service.php | <?php
/**
* YandexOAuth2Service class file.
*
* Register application: https://oauth.yandex.ru/client/my
*
* @author Maxim Zemskov <nodge@yandex.ru>
* @link http://github.com/Nodge/yii2-eauth/
* @license http://www.opensource.org/licenses/bsd-license.php
*/
namespace nodge\eauth\services;
use OAuth\Common\Toke... | php | BSD-2-Clause | 04798651fdb3a0db9ed5272330f18b26733507a0 | 2026-01-05T02:36:51.018464Z | false |
Nodge/yii2-eauth | https://github.com/Nodge/yii2-eauth/blob/04798651fdb3a0db9ed5272330f18b26733507a0/src/services/OdnoklassnikiOAuth2Service.php | src/services/OdnoklassnikiOAuth2Service.php | <?php
/**
* OdnoklassnikiOAuthService class file.
*
* Register application: http://dev.odnoklassniki.ru/wiki/pages/viewpage.action?pageId=13992188
* Manage your applications: http://www.odnoklassniki.ru/dk?st.cmd=appsInfoMyDevList&st._aid=Apps_Info_MyDev
* Note: Enabling this service a little more difficult becaus... | php | BSD-2-Clause | 04798651fdb3a0db9ed5272330f18b26733507a0 | 2026-01-05T02:36:51.018464Z | false |
Nodge/yii2-eauth | https://github.com/Nodge/yii2-eauth/blob/04798651fdb3a0db9ed5272330f18b26733507a0/src/services/MailruOAuth2Service.php | src/services/MailruOAuth2Service.php | <?php
/**
* MailruOAuth2Service class file.
*
* Register application: http://api.mail.ru/sites/my/add
*
* @author Maxim Zemskov <nodge@yandex.ru>
* @link http://github.com/Nodge/yii2-eauth/
* @license http://www.opensource.org/licenses/bsd-license.php
*/
namespace nodge\eauth\services;
use nodge\eauth\oauth2\... | php | BSD-2-Clause | 04798651fdb3a0db9ed5272330f18b26733507a0 | 2026-01-05T02:36:51.018464Z | false |
Nodge/yii2-eauth | https://github.com/Nodge/yii2-eauth/blob/04798651fdb3a0db9ed5272330f18b26733507a0/src/services/TwitterOAuth1Service.php | src/services/TwitterOAuth1Service.php | <?php
/**
* TwitterOAuthService class file.
*
* Register application: https://dev.twitter.com/apps/new
*
* @author Maxim Zemskov <nodge@yandex.ru>
* @link http://github.com/Nodge/yii2-eauth/
* @license http://www.opensource.org/licenses/bsd-license.php
*/
namespace nodge\eauth\services;
use OAuth\OAuth1\Token... | php | BSD-2-Clause | 04798651fdb3a0db9ed5272330f18b26733507a0 | 2026-01-05T02:36:51.018464Z | false |
Nodge/yii2-eauth | https://github.com/Nodge/yii2-eauth/blob/04798651fdb3a0db9ed5272330f18b26733507a0/src/services/FacebookOAuth2Service.php | src/services/FacebookOAuth2Service.php | <?php
/**
* FacebookOAuth2Service class file.
*
* Register application: https://developers.facebook.com/apps/
*
* @author Maxim Zemskov <nodge@yandex.ru>
* @link http://github.com/Nodge/yii2-eauth/
* @license http://www.opensource.org/licenses/bsd-license.php
*/
namespace nodge\eauth\services;
use nodge\eauth... | php | BSD-2-Clause | 04798651fdb3a0db9ed5272330f18b26733507a0 | 2026-01-05T02:36:51.018464Z | false |
Nodge/yii2-eauth | https://github.com/Nodge/yii2-eauth/blob/04798651fdb3a0db9ed5272330f18b26733507a0/src/services/GitHubOAuth2Service.php | src/services/GitHubOAuth2Service.php | <?php
/**
* GithubOAuth2Service class file.
*
* Register application: https://github.com/settings/applications
*
* @author Maxim Zemskov <nodge@yandex.ru>
* @link http://github.com/Nodge/yii2-eauth/
* @license http://www.opensource.org/licenses/bsd-license.php
*/
namespace nodge\eauth\services;
use OAuth\Comm... | php | BSD-2-Clause | 04798651fdb3a0db9ed5272330f18b26733507a0 | 2026-01-05T02:36:51.018464Z | false |
Nodge/yii2-eauth | https://github.com/Nodge/yii2-eauth/blob/04798651fdb3a0db9ed5272330f18b26733507a0/src/services/YahooOpenIDService.php | src/services/YahooOpenIDService.php | <?php
/**
* YahooOpenIDService class file.
*
* @author Maxim Zemskov <nodge@yandex.ru>
* @link http://github.com/Nodge/yii2-eauth/
* @license http://www.opensource.org/licenses/bsd-license.php
*/
namespace nodge\eauth\services;
use nodge\eauth\openid\Service;
/**
* Yahoo provider class.
*
* @package applica... | php | BSD-2-Clause | 04798651fdb3a0db9ed5272330f18b26733507a0 | 2026-01-05T02:36:51.018464Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.